/* Page-specific styles extracted from app/Views/auth/signup.php */

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
}

.benefit-item strong {
    color: var(--milk);
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.auth-testimonial {
    background: rgba(196, 30, 58, 0.1);
    border: 1px solid rgba(196, 30, 58, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
}

.testimonial-avatars {
    display: flex;
    font-size: 1.5rem;
    gap: -10px;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.testimonial-author {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.signup-progress {
    align-items: center;
    border-bottom: 1px solid rgba(250, 248, 245, 0.1);
    display: flex;
    gap: 0;
    justify-content: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
}

.progress-step {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.step-circle {
    align-items: center;
    background: rgba(250, 248, 245, 0.1);
    border: 2px solid rgba(250, 248, 245, 0.2);
    border-radius: 50%;
    color: var(--text-muted);
    display: flex;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    transition: all 0.3s ease;
    width: 36px;
}

.progress-step.active .step-circle {
    background: var(--luxury-red);
    border-color: var(--luxury-red);
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.4);
    color: var(--milk);
}

.progress-step.completed .step-circle {
    background: #48c78e;
    border-color: #48c78e;
    color: var(--milk);
}

.progress-step span {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
}

.progress-step.active span {
    color: var(--milk);
}

.progress-step.completed span {
    color: #48c78e;
}

.progress-line {
    background: rgba(250, 248, 245, 0.1);
    height: 2px;
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
    width: 60px;
}

.form-step {
    animation: fadeIn 0.3s ease;
    display: none;
}

.form-step.active {
    display: block;
}

.step-header {
    margin-bottom: 2rem;
    text-align: center;
}

.step-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.step-header p {
    color: var(--text-muted);
}

.social-btn {
    align-items: center;
    background: rgba(250, 248, 245, 0.03);
    border: 1px solid rgba(250, 248, 245, 0.2);
    color: var(--milk);
    display: flex;
    font-size: 0.875rem;
    gap: 0.75rem;
    justify-content: center;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(250, 248, 245, 0.08);
    border-color: var(--luxury-red);
}

.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

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

.password-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    opacity: 0.6;
    position: absolute;
    right: 1rem;
    transition: opacity 0.3s ease;
}

.input-validation {
    font-size: 1.125rem;
    opacity: 0;
    position: absolute;
    right: 1rem;
    transition: opacity 0.3s ease;
}

.password-strength {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.strength-bar {
    background: rgba(250, 248, 245, 0.1);
    border-radius: 2px;
    flex: 1;
    height: 4px;
    transition: all 0.3s ease;
}

.strength-bar.weak {
    background: #ff5f57;
}

.strength-bar.medium {
    background: #ffbd2e;
}

.strength-bar.strong {
    background: #48c78e;
}

.strength-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    white-space: nowrap;
}

.checkbox-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, 1fr);
}

.checkbox-card {
    align-items: center;
    background: rgba(13, 33, 55, 0.4);
    border: 1px solid rgba(250, 248, 245, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem;
    transition: all 0.3s ease;
}

.checkbox-card:hover {
    background: rgba(13, 33, 55, 0.6);
    border-color: rgba(196, 30, 58, 0.3);
}

.checkbox-card input[type="checkbox"] {
    accent-color: var(--luxury-red);
    height: 18px;
    width: 18px;
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-icon + span {
    color: var(--milk);
}

.checkbox-icon {
    font-size: 1.25rem;
}

.checkbox-card span:last-child {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.checkbox-label {
    align-items: flex-start;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    font-size: 0.875rem;
    gap: 0.75rem;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--luxury-red);
    height: 18px;
    margin-top: 2px;
    width: 18px;
}

.checkbox-label a {
    color: var(--luxury-red-light);
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn {
    flex: 1;
}

.review-summary {
    margin-bottom: 2rem;
}

.summary-card {
    background: rgba(13, 33, 55, 0.4);
    border: 1px solid rgba(250, 248, 245, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.summary-card h4 {
    color: var(--milk);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.summary-item {
    align-items: center;
    border-bottom: 1px solid rgba(250, 248, 245, 0.05);
    display: flex;
    font-size: 0.875rem;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item span {
    color: var(--text-muted);
}

.summary-item strong {
    color: var(--milk);
}

.celebration-emoji {
    animation: bounce 1s ease infinite;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.submit-btn {
    animation: glow 2s ease-in-out infinite;
    background: var(--gradient-luxury);
}

.notification {
    border-radius: var(--radius-md);
    color: var(--milk);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    position: fixed;
    right: 20px;
    top: 20px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.notification-warning {
    background: rgba(255, 189, 46, 0.9);
    color: var(--navy-dark);
}

.notification-error {
    background: rgba(196, 30, 58, 0.9);
}

.notification-info {
    background: rgba(13, 33, 55, 0.95);
    border: 1px solid var(--luxury-red);
}

.alert {
    animation: slideDown 0.3s ease;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    position: relative;
    transition: all 0.3s ease;
}

.alert-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
    margin-top: 2px;
}

.alert-message p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.6;
    padding: 0;
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    transition: opacity 0.3s ease;
}

.alert-close:hover {
    opacity: 1;
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.alert-warning {
    background: rgba(212, 168, 67, 0.15);
    border: 1px solid rgba(212, 168, 67, 0.3);
    color: var(--gold-accent);
}

.error-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.error-list li::before {
    content: "•";
    margin-right: 0.5rem;
}

.field-error {
    color: var(--luxury-red-light);
    display: block;
    font-size: 0.8125rem;
    margin-top: 0.375rem;
    padding-left: 0.25rem;
}

.input-error {
    border-color: rgba(196, 30, 58, 0.5) !important;
    box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.1) !important;
}

.input-error:focus {
    border-color: var(--luxury-red) !important;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.2) !important;
}

@media (max-width: 968px) {

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .signup-progress {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

}

@media (max-width: 480px) {

    .step-header h2 {
        font-size: 1.5rem;
    }

    .progress-line {
        width: 30px;
    }

    .alert {
        padding: 0.875rem;
    }

    .alert-content {
        gap: 0.5rem;
    }

    .error-list {
        padding-left: 0.5rem;
    }

}


/* Animations */

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-50px); }
}

@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(50px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(196, 30, 58, 0.3); }
    50% { box-shadow: 0 0 40px rgba(196, 30, 58, 0.6); }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}
