/**
 * Registration Success Message Styles
 * 
 * Enhanced success page after user completes Step 1 of registration
 * Shows clear progress tracking and next steps
 * 
 * @author GoneClear Development Team
 * @version 1.0
 * @since 2025
 */

.registration-success-container {
    text-align: center;
    padding: 20px 0;
}

/* ========================================
   SUCCESS ICON
   ======================================== */

.success-icon {
    font-size: 72px;
    color: #4bb543;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { 
        transform: scale(0);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

/* ========================================
   SUCCESS MESSAGE
   ======================================== */

.success-message-large {
    background: linear-gradient(135deg, rgba(75, 181, 67, 0.1), rgba(75, 181, 67, 0.05));
    border: 2px solid #4bb543;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.success-message-large p {
    margin: 10px 0;
    font-size: 16px;
    color: #e0e0e0;
    line-height: 1.6;
}

.success-message-large strong {
    color: #4bb543;
    font-weight: 600;
}

/* ========================================
   NEXT STEPS BOX
   ======================================== */

.next-steps-box {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.next-steps-box h3 {
    color: #4b6cb7;
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.next-steps-box h3 i {
    font-size: 24px;
}

/* ========================================
   STEP PROGRESS TRACKER
   ======================================== */

.step-progress {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #333;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Completed Step */
.progress-step.completed {
    background: rgba(75, 181, 67, 0.1);
    border-color: #4bb543;
}

/* Current Step */
.progress-step.current {
    background: rgba(75, 108, 183, 0.1);
    border-color: #4b6cb7;
    box-shadow: 0 0 0 4px rgba(75, 108, 183, 0.1);
}

/* Pending Steps */
.progress-step.pending {
    opacity: 0.6;
}

/* Step Number Circle */
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #444;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.progress-step.completed .step-number {
    background: #4bb543;
}

.progress-step.current .step-number {
    background: #4b6cb7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(75, 108, 183, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(75, 108, 183, 0);
    }
}

/* Step Information */
.step-info {
    flex: 1;
}

.step-info strong {
    display: block;
    color: #fff;
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 600;
}

.step-info span {
    display: block;
    color: #999;
    font-size: 13px;
}

.progress-step.completed .step-info span {
    color: #4bb543;
}

.progress-step.current .step-info span {
    color: #4b6cb7;
    font-weight: 500;
}

/* ========================================
   ACTION REQUIRED BOX
   ======================================== */

.action-required-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.1);
}

.action-required-box i {
    font-size: 48px;
    color: #ffc107;
    margin-bottom: 12px;
    display: block;
}

.action-required-box h4 {
    color: #ffc107;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

.action-required-box p {
    color: #e0e0e0;
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.6;
}

.email-highlight {
    background: rgba(255, 193, 7, 0.2);
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    margin: 12px 0;
    font-size: 15px;
}

.email-highlight strong {
    color: #ffc107;
}

.action-required-box small {
    color: #ff9800;
    font-size: 13px;
    display: block;
    margin-top: 12px;
    font-weight: 500;
}

/* ========================================
   HELPFUL TIPS
   ======================================== */

.helpful-tips {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    border-left: 4px solid #4b6cb7;
}

.helpful-tips h4 {
    color: #4b6cb7;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.helpful-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.helpful-tips li {
    padding: 8px 0;
    color: #ccc;
    font-size: 14px;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.helpful-tips li:before {
    content: "•";
    color: #4b6cb7;
    font-weight: bold;
    position: absolute;
    left: 8px;
    font-size: 18px;
}

/* ========================================
   ACTION BUTTONS
   ======================================== */

.action-buttons {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    width: auto;
    min-width: 180px;
    justify-content: center;
}

.action-buttons .btn-secondary i {
    font-size: 20px;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media screen and (max-width: 768px) {
    .registration-success-container {
        padding: 16px 0;
    }
    
    .success-icon {
        font-size: 64px;
    }
    
    .success-message-large {
        padding: 16px;
        margin: 16px 0;
    }
    
    .success-message-large p {
        font-size: 15px;
    }
    
    .next-steps-box,
    .action-required-box,
    .helpful-tips {
        padding: 16px;
        margin: 16px 0;
    }
    
    .next-steps-box h3 {
        font-size: 16px;
    }
}

@media screen and (max-width: 576px) {
    .success-icon {
        font-size: 56px;
    }
    
    .success-message-large p {
        font-size: 14px;
    }
    
    .step-progress {
        gap: 12px;
    }
    
    .progress-step {
        padding: 12px;
        gap: 12px;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .step-info strong {
        font-size: 14px;
    }
    
    .step-info span {
        font-size: 12px;
    }
    
    .action-required-box {
        padding: 16px;
    }
    
    .action-required-box i {
        font-size: 40px;
    }
    
    .action-required-box h4 {
        font-size: 16px;
    }
    
    .email-highlight {
        padding: 6px 10px;
        font-size: 14px;
        word-break: break-all;
    }
    
    .helpful-tips h4 {
        font-size: 15px;
    }
    
    .helpful-tips li {
        font-size: 13px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .action-buttons .btn-secondary {
        width: 100%;
        min-width: 100%;
    }
}

/* ========================================
   DARK THEME ENHANCEMENTS
   ======================================== */

/* Improve visibility in dark theme */
.progress-step {
    backdrop-filter: blur(10px);
}

.next-steps-box,
.helpful-tips {
    backdrop-filter: blur(10px);
}

/* Subtle animations for engagement */
.progress-step.current {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Hover effects for interactive elements */
.action-buttons .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 108, 183, 0.3);
}

.action-buttons .btn-secondary:active {
    transform: translateY(0);
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

/* Focus states for keyboard navigation */
.action-buttons .btn-secondary:focus {
    outline: 2px solid #4b6cb7;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .progress-step {
        border-width: 3px;
    }
    
    .success-message-large,
    .action-required-box {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .success-icon,
    .progress-step.current,
    .step-number,
    * {
        animation: none !important;
        transition: none !important;
    }
}