/* ===== Globālie stili ===== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* ===== Login lapas stili ===== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
    padding: 15px;
    box-sizing: border-box;
}
.login-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}
.login-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #007bff;
}
.login-box input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 15px;
    box-sizing: border-box;
}
.login-box button {
    padding: 10px 15px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.login-box button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* ===== Sānu joslas stili ===== */
.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #343a40;
    color: #fff;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 100;
}
.sidebar h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
}
.sidebar button, .sidebar a {
    width: 100%;
    display: block;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    background-color: #495057;
    color: white;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.sidebar button:hover, .sidebar a:hover {
    background-color: #6c757d;
}

/* ===== Galvenais saturs ===== */
.main-content {
    margin-left: 260px;
    padding: 20px;
    background-color: white;
    min-height: 100vh;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .main-content {
        margin-left: 0;
        padding: 10px;
    }
}

/* ===== Filtrēšanas sekcija ===== */
.filter-section {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
}
.filter-section label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}
.filter-section select {
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 15px;
}

/* ===== Kalendāra stili ===== */
#calendar {
    margin-top: 20px;
    padding: 10px;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

/* ===== Notikumu stili ===== */
.fc-event-category {
    font-size: 12px;
    font-style: italic;
    color: #666;
}
.fc-priority-high {
    background-color: #dc3545;
    color: white;
}
.fc-priority-medium {
    background-color: #ffc107;
    color: black;
}
.fc-priority-low {
    background-color: #28a745;
    color: white;
}

/* ===== Uzdevumu saraksts ===== */
.task-item {
    padding: 10px;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 5px;
    margin-bottom: 10px;
}
.task-item.high-priority {
    border-left: 5px solid #dc3545;
}
.task-item.medium-priority {
    border-left: 5px solid #ffc107;
}
.task-item.low-priority {
    border-left: 5px solid #28a745;
}

/* ===== Modālais logs ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
}
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: red;
    cursor: pointer;
}

/* ===== Pogas ===== */
button {
    padding: 10px 15px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #0056b3;
}

/* ===== Tabula ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
table th, table td {
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: left;
}
table th {
    background-color: #f8f9fa;
}
