/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    background-color: #121212;
    color: #f0f0f0;
    padding: 0;
}

header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(90deg, #ff6ec4, #7873f5);
    color: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

header h1 {
    margin: 0;
    font-size: 24px;
}

header p {
    margin: 5px 0 0;
    font-size: 14px;
}

/* Login Page Styles */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

form {
    background-color: #1c1c1c;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form input[type="password"] {
    padding: 15px;
    font-size: 16px;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #222;
    color: #f0f0f0;
}

form input[type="password"]:focus {
    outline: 2px solid #ff6ec4;
    outline-offset: 4px;
}

form button {
    padding: 15px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #ff6ec4, #7873f5);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

form button:hover {
    background: linear-gradient(90deg, #ff5bb5, #6a64e7);
    transform: scale(1.05);
}

.error {
    color: #ff6ec4;
    font-size: 14px;
    text-align: center;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    form {
        width: 90%;
    }
}
/* Logout Button */
.logout-button {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background: linear-gradient(90deg, #ff6ec4, #7873f5); /* Pink-to-purple gradient */
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

.logout-button:hover {
    background: linear-gradient(90deg, #ff5bb5, #6a64e7); /* Darker hover effect */
    transform: scale(1.1);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.8);
}

header {
    position: relative;
}
