@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.auth-card {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 700px;
}

.heart-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-weight: bold;
    background: linear-gradient(to right, #1e3a8a, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    display: block;
    margin-top: 5px;
}

.logo-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.form-select {
    cursor: pointer;
    height: auto;
}

.form-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.form-check-input {
    border: 1px solid #ced4da;
}

.password-strength-container {
    margin-top: 8px;
    margin-bottom: 1rem;
}

.password-strength-bar {
    height: 6px;
    border-radius: 3px;
    background-color: #e9ecef;
    overflow: hidden;
    margin-bottom: 8px;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.password-strength-fill.weak {
    background-color: #dc3545;
    width: 33%;
}

.password-strength-fill.medium {
    background-color: #ffc107;
    width: 66%;
}

.password-strength-fill.strong {
    background-color: #198754;
    width: 100%;
}

.password-requirements {
    font-size: 0.75rem;
    color: #6c757d;
}

.password-requirement {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.password-requirement i {
    margin-right: 6px;
    width: 12px;
    font-size: 10px;
}

.password-requirement.met {
    color: #198754;
}

.password-requirement.not-met {
    color: #dc3545;
}

.password-strength-text {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.password-strength-text.weak {
    color: #dc3545;
}

.password-strength-text.medium {
    color: #ffc107;
}

.password-strength-text.strong {
    color: #198754;
}

.password-input-group {
    position: relative;
    margin-bottom: 0;
}

.password-input-group .form-control {
    margin-bottom: 0;
    padding-right: 45px; 
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 12px; 
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    z-index: 2;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #495057;
}

.auth-btn {
    background-color: #0ea5e9;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 0;
    margin-top: 1rem;
}

.auth-btn:hover {
    background-color: #0284c7;
}

.auth-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.link-primary {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
}

.link-primary:hover {
    color: #0284c7;
    text-decoration: underline;
}

.password-help-text {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 5px;
    line-height: 1.4;
}

.form-group-password {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 20px;
        margin: 15px;
    }
    
    .row {
        flex-direction: column;
    }
    
    .col-5, .col-7 {
        width: 100%;
    }
    
    .heart-logo {
        margin-bottom: 30px;
    }
    
    .password-requirements {
        font-size: 0.7rem;
    }
    
    .password-requirement {
        margin-bottom: 1px;
    }
}