
/* Reset Section */
.reset-section {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.reset-card {
    max-width: 550px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    animation: fadeIn 0.6s ease;
}

.reset-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.icon-wrapper {
    margin-bottom: 1.5rem;
}

.icon-wrapper svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.reset-card-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.95;
}

.reset-card-content {
    padding: 2.5rem 2rem;
}

/* Form */
.reset-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-group input {
    width: 100%;
    padding: 0.875rem;
    padding-right: 3rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input.error {
    border-color: var(--danger-color);
}

.form-group input.success {
    border-color: var(--success-color);
}

.toggle-password {
    position: absolute;
    right: 0.875rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--primary-color);
}

/* Password Strength */
.password-strength {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.strength-bar {
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.strength-fill.weak {
    width: 33%;
    background: var(--danger-color);
}

.strength-fill.medium {
    width: 66%;
    background: var(--warning-color);
}

.strength-fill.strong {
    width: 100%;
    background: var(--success-color);
}

.strength-text {
    font-size: 0.85rem;
    font-weight: 600;
}

.strength-text.weak {
    color: var(--danger-color);
}

.strength-text.medium {
    color: var(--warning-color);
}

.strength-text.strong {
    color: var(--success-color);
}

/* Password Requirements */
.password-requirements {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 0.5rem;
}

.password-requirements h4 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.requirements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.requirements-list li svg {
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: var(--transition);
}

.requirements-list li.met {
    color: var(--success-color);
}

.requirements-list li.met svg {
    color: var(--success-color);
    stroke-width: 3;
}

/* Form Actions */
.form-actions {
    margin-top: 1rem;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-submit.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 3px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Success Message */
.success-message,
.error-message {
    text-align: center;
}

.success-icon,
.error-icon {
    margin-bottom: 1.5rem;
}

.success-icon svg {
    color: var(--success-color);
}

.error-icon svg {
    color: var(--danger-color);
}

.success-message h2 {
    font-size: 1.8rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.error-message h2 {
    font-size: 1.8rem;
    color: var(--danger-color);
    margin-bottom: 1rem;
}

.success-message p,
.error-message p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-home,
.btn-retry {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-home {
    background: var(--primary-color);
}

.btn-home:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-retry {
    background: var(--danger-color);
}

.btn-retry:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Reset Card Footer */
.reset-card-footer {
    padding: 2rem;
    background: var(--bg-light);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.reset-card-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.reset-card-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.reset-card-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}



/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .reset-card-header {
        padding: 2rem 1.5rem;
    }
    
    .reset-card-header h1 {
        font-size: 1.5rem;
    }
    
    .reset-card-content {
        padding: 2rem 1.5rem;
    }
    
    .icon-wrapper svg {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .reset-card-header h1 {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
}