/* Modern login page styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #43c6ac 0%, #23a878 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

.content:hover {
    transform: translateY(-5px);
}

.brand {
    text-align: center;
    margin-bottom: 30px;
}

.brand .link {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.brand .link:hover {
    color: #23a878;
}

.login-title {
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.input-group-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #23a878;
    z-index: 1;
}

.form-control {
    height: 45px;
    padding-left: 45px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: #23a878;
    box-shadow: 0 0 0 3px rgba(35, 168, 120, 0.1);
}

.btn-info {
    background: linear-gradient(135deg, #43c6ac 0%, #23a878 100%);
    border: none;
    height: 45px;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(35, 168, 120, 0.3);
}

a {
    color: #764ba2;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #667eea;
    text-decoration: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.help-block {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
}

.has-error .form-control {
    border-color: #dc3545;
}

.has-error .input-icon {
    color: #dc3545;
}

.preloader-backdrop {
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-preloader {
    color: #764ba2;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
