/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fa;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #333;
}

/* Login Wrapper */
.login-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
}

/* Logo Styling */
.logo-container {
    margin-bottom: 30px;
    text-align: center;
}

.logo-container img {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Login Container */
.login-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 0.8s ease;
}

/* Form Styling */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form h2 {
    color: #2c3e50;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    border-color: #0a192f;
    background: white;
    box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1);
    outline: none;
}

/* Button Styling */
.login-btn {
    background: #0a192f;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    background: #1a2d4f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Error Messages */
.error {
    color: #dc3545;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    background: rgba(220, 53, 69, 0.1);
}

/* Forgot Password */
.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: #0a192f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #1a2d4f;
}

/* Forgot Password Page */
.description {
    color: #6c757d;
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
}

.back-to-login {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(10, 25, 47, 0.1);
}

.back-to-login a {
    color: #0a192f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-to-login a:hover {
    color: #1a2d4f;
}

.back-to-login a::before {
    content: "←";
    font-size: 14px;
    color: #0a192f;
}

/* Form Group Focus State */
.form-group input:focus {
    border-color: #0a192f;
    background: white;
    box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1);
    outline: none;
}

/* Form Description */
.description {
    color: #6c757d;
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .back-to-login {
        padding-top: 15px;
    }
    
    .back-to-login a::before {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .description {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .back-to-login {
        padding-top: 10px;
    }
}

/* Success Message */
.success {
    color: #28a745;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    background: rgba(40, 167, 69, 0.1);
}

/* Footer Styling */
footer {
    position: relative;
    width: 100%;
    background: #0a192f;
    color: white;
    padding: 30px 0;
}

.footer-content {
    text-align: center;
    margin-bottom: 20px;
}

.footer-content img {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto 15px;
}

.footer-content p {
    margin: 10px 0;
}

.footer-content a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #0043b6;
}

/* Liquid Footer Effect */
.liquid-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #0a192f;
    transform: translateY(100%);
    animation: liquidWave 3s infinite;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes liquidWave {
    0% {
        transform: translateY(100%) rotate(0deg);
    }
    25% {
        transform: translateY(80%) rotate(5deg);
    }
    50% {
        transform: translateY(60%) rotate(0deg);
    }
    75% {
        transform: translateY(80%) rotate(-5deg);
    }
    100% {
        transform: translateY(100%) rotate(0deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        padding: 20px;
    }
    
    .login-form h2 {
        font-size: 22px;
    }
    
    .form-group input {
        padding: 10px;
        font-size: 14px;
    }
    
    .login-btn {
        padding: 10px;
        font-size: 14px;
    }
    
    .footer-content {
        padding: 20px 0;
    }
    
    .footer-content img {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 15px;
    }
    
    .logo-container img {
        max-width: 100px;
    }
    
    .login-form h2 {
        font-size: 20px;
    }
    
    .form-group input {
        padding: 8px;
        font-size: 13px;
    }
    
    .login-btn {
        padding: 8px;
        font-size: 13px;
    }
    
    .footer-content {
        padding: 15px 0;
    }
}

footer a {
    text-decoration: none;
    color: #fff;
}

footer img {
    max-width: 250px;
    display: block;
    margin: 0 auto 10px;
}
