body {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background-color: #34495e;
    color: #ecf0f1;
    transition: background-color 0.3s ease;
}

#calendar {
    background-color: #34495e;
    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;
    float: left;
    margin-right: 20px;
    position: relative;
}

#calendar:hover {
    transform: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

#calendar table {
    width: 100%;
    transition: opacity 0.3s ease;
}

#calendar th,
#calendar td {
    text-align: center;
    padding: 15px;
    border: 1px solid #2c3e50;
    font-weight: bold;
    color: #ecf0f1;
}

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

#calendar td {
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease-in-out;
    position: relative;
}

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

#calendar td:hover {
    background-color: #2980b9;
    transform: none;
}


#calendar h2 {
    margin-bottom: 15px;
    color: #3498db;
    transition: color 0.3s ease;
}

#calendar:hover h2 {
    color: #fff;
}

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;
    position: fixed;
    top: 10px;
    right: 10px;
}

#logoutBtn:hover {
    background-color: #c0392b;
}

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

.popup.slide-in {
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.popup.slide-out {
    left: 50%;
    transform: translate(-100%, -50%);
    opacity: 0;
}

.popup-content {
    color: #ecf0f1;
    text-align: center;
    transition: color 0.3s ease;
}

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

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

.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;
	 overflow-wrap: break-word;
}

#taskTable th,
#taskTable td {
    text-align: center;
    padding: 10px;
    border: 1px solid #3498db;
    color: #ecf0f1;
	 overflow-wrap: break-word;
}

#taskTable th {
    background-color: #3498db;
	 overflow-wrap: break-word;
}

#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: #34495e;
    color: #ecf0f1;
    transition: background-color 0.3s ease;
}

.register-link {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-link:hover {
    text-decoration: underline;
    color: #3498db;
}