* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    background: #f4faf6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 420px;
    min-width: 280px;
    padding: 20px;
}

.login-container {
    background: #fff;
    padding: clamp(30px, 5vw, 40px);
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(24, 76, 57, 0.04);
    border: 1px solid #e2e8e4;
}

.login-header {
    text-align: center;
    margin-bottom: clamp(20px, 4vw, 30px);
}

.login-header h1 {
    color: #2d3436;
    font-size: clamp(24px, 5vw, 28px);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.login-header p {
    color: #636e72;
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 400;
    line-height: 1.5;
}

.input-group {
    position: relative;
    margin-bottom: clamp(15px, 3vw, 20px);
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #184C39;
    font-size: clamp(16px, 3vw, 18px);
}

.input-group input {
    width: 100%;
    padding: clamp(12px, 3vw, 15px) clamp(12px, 3vw, 15px) clamp(12px, 3vw, 15px) 45px;
    border: 1.5px solid #e2e8e4;
    border-radius: 10px;
    font-size: clamp(15px, 3vw, 16px);
    background: #f8fbf9;
    color: #2d3436;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-weight: 400;
}

.input-group input:focus {
    border-color: #184C39;
    outline: none;
    box-shadow: 0 0 0 2px #e2f3ec;
    background: #fff;
}

.remember-me {
    margin-bottom: clamp(15px, 3vw, 20px);
    font-size: clamp(13px, 3vw, 14px);
}

.remember-me label {
    color: #636e72;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 400;
}

.login-btn {
    width: 100%;
    padding: clamp(12px, 3vw, 15px);
    background: #184C39;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: clamp(15px, 3vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 1px 2px rgba(24, 76, 57, 0.06);
    letter-spacing: 0.3px;
}

.login-btn:hover {
    background: #256c4c;
    transform: translateY(-1px);
}

.social-login {
    text-align: center;
    margin: 25px 0;
}

.social-login p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.signup-link {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.signup-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Media Queries for better responsiveness */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    .login-container {
        padding: 18px;
    }
    .input-group i {
        left: 12px;
    }
    .input-group input {
        padding-left: 40px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 5px;
    }
    .login-container {
        padding: 10px;
    }
    .input-group i {
        left: 10px;
    }
    .input-group input {
        padding-left: 35px;
    }
}

.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.login-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.error-message {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

.loading-message {
    color: #184C39;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #184C39;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-password a:hover {
    color: #256c4c;
    text-decoration: underline;
}

/* Reset Password Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 18px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h2 {
    color: #2d3436;
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-header p {
    color: #636e72;
    font-size: 14px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #636e72;
    cursor: pointer;
    padding: 5px;
}

.close-modal:hover {
    color: #2d3436;
}

.reset-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reset-form .input-group {
    margin-bottom: 0;
}

.reset-form button {
    margin-top: 10px;
}

.success-message {
    color: #27ae60;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
} 