@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #71b7e6, #9b59b6); /* Beautiful gradient background */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
    overflow: hidden; /* Prevent scrollbar if content is small */
}

.login-container {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background for the container */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* Soft shadow */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light border */
    max-width: 400px;
    width: 90%; /* Responsive width */
    text-align: center;
}

.login-card {
    background: #fff; /* Solid white background for the card */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Inner shadow */
}

.login-title {
    font-size: 2.2em;
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.input-group input[type="text"],
.input-group input[type="password"] {
    width: calc(100% - 20px); /* Account for padding */
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.input-group input[type="text"]:focus,
.input-group input[type="password"]:focus {
    border-color: #71b7e6;
    outline: none;
    box-shadow: 0 0 5px rgba(113, 183, 230, 0.5);
}

.login-button {
    background: linear-gradient(to right, #71b7e6, #9b59b6);
    color: white;
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.register-link {
    margin-top: 25px;
    font-size: 0.9em;
    color: #666;
}

.register-link a {
    color: #9b59b6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #71b7e6;
    text-decoration: underline;
}

/* Alert Messages */
.alert {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 0.9em;
    text-align: left;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .login-container {
        padding: 20px;
    }
    .login-card {
        padding: 25px;
    }
    .login-title {
        font-size: 1.8em;
    }
    .input-group input {
        padding: 10px;
    }
    .login-button {
        padding: 12px 20px;
        font-size: 1em;
    }
}.mb-3 {

}
