body {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background-color: #2c3e50; /* Background color */
    color: #ecf0f1; /* Text color */
}

#calendar {
    background-color: #34495e; /* Calendar background color */
    border: 1px solid #2c3e50;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    max-width: 600px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

#calendar table {
    width: 100%;
}

#calendar th,
#calendar td {
    text-align: center;
    padding: 15px;
    border: 1px solid #2c3e50;
    font-weight: bold;
    color: #ecf0f1; /* Text color in table header and cells */
}

#calendar th {
    background-color: #3498db; /* Header background color */
    color: #fff;
}

#calendar td {
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}
/* krāsu iegūšanai*/
.red{
background-color:red;
}

.green{
background-color:green;
}

.task-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background-color: #e74c3c; /* Indicator color */
    border-radius: 50%;
    display: none;
}


#calendar td:hover {
    background-color: #2980b9; /* Hover background color */
}

#calendar h2 {
    margin-bottom: 15px;
    color: #3498db;
}

button {
    background-color: #3498db;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

#logoutBtn {
    background-color: #e74c3c; /* Logout button color */
}

#logoutBtn:hover {
    background-color: #c0392b; /* Logout button hover color */
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2c3e50; /* Popup background color */
    border: 2px solid #3498db; /* Popup border color */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.popup-content {
    color: #ecf0f1; /* Popup text color */
    text-align: center;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #3498db; /* Label color */
}

#eventInput {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #3498db; /* Input border color */
    border-radius: 5px;
    background-color: #2c3e50; /* Input background color */
    color: #ecf0f1; /* Input text color */
}
#detailInput {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #3498db; /* Input border color */
    border-radius: 5px;
    background-color: #2c3e50; /* Input background color */
    color: #ecf0f1; /* Input text color */
}

.add-btn, .close-btn {
    background-color: #3498db;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-btn:hover, .close-btn:hover {
    background-color: #2980b9;
}

#taskTable {
    width: 100%;
    margin-top: 20px;
}

#taskTable th,
#taskTable td {
    text-align: center;
    padding: 10px;
    border: 1px solid #3498db; /* Table cell border color */
    color: #ecf0f1; /* Table text color */
}

#taskTable th {
    background-color: #3498db; /* Table header background color */
}

#taskTable td input[type="checkbox"] {
    margin-right: 5px;
}

.slide-in {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #2c3e50; /* Background color for the login container */
    color: #ecf0f1; /* Text color for the login container */
}

.register-link {
    color: #ecf0f1; /* Text color */
    text-decoration: none; /* Remove underline */
}

.register-link:hover {
    text-decoration: underline; /* Underline on hover */
}
