/* Send Page Additional Enhancements */

/* Force proper styling on all elements */
.send-page * {
    position: relative;
    z-index: 1;
}

/* Override any plain text styling */
.send-page h1,
.send-page h2,
.send-page h3,
.send-page h4 {
    color: var(--gray-900) !important;
    font-weight: 700 !important;
}

/* Force gradient text on headings */
.send-page h1 {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
}

.send-page h2 {
    background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
}

.send-page h3 {
    background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
}

/* Enhanced summary section styling */
.summary-info h3 {
    color: var(--gray-900) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

.summary-info p {
    color: var(--gray-600) !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

/* Order progress specific styling */
.order-progress-display h3 {
    background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
}

.order-progress-display p {
    color: var(--gray-600) !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
}

/* Step content enhancements */
.progress-step h4 {
    color: var(--gray-900) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

.progress-step p {
    color: var(--gray-600) !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

/* Fix any remaining white text */
.send-page .clean-content * {
    color: inherit;
}

.send-page .clean-content h1,
.send-page .clean-content h2,
.send-page .clean-content h3 {
    background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reduce excessive top spacing */
.sending-complete .complete-header {
    margin-top: 0 !important;
    padding-top: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.order-tracking-section {
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
}

.tracking-number-display {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 1.5rem !important;
}

.tracking-number-display h2 {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 1.5rem !important;
}

.next-steps {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

.mailing-summary {
    margin-top: 1.5rem !important;
    margin-bottom: 2rem !important;
}

/* Beautiful step indicators */
.timeline-step .step-number {
    animation: step-glow 3s ease-in-out infinite;
}

@keyframes step-glow {
    0%, 100% { box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5); }
}

/* Force beautiful styling on all progress elements */
.order-progress-display .progress-step {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%) !important;
    border: 2px solid rgba(102, 126, 234, 0.15) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    margin-bottom: 1rem !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
}

.order-progress-display .progress-step.completed {
    border-left: 5px solid #48bb78 !important;
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.05) 0%, rgba(52, 211, 153, 0.03) 100%) !important;
}

.order-progress-display .progress-step.current {
    border-left: 5px solid var(--primary) !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(139, 92, 246, 0.03) 100%) !important;
    animation: current-step-glow 2s ease-in-out infinite !important;
}

@keyframes current-step-glow {
    0%, 100% { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 0 0 rgba(102, 126, 234, 0.2); }
    50% { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 20px rgba(102, 126, 234, 0.3); }
}

.order-progress-display .progress-step.pending {
    border-left: 5px solid var(--gray-400) !important;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.03) 0%, rgba(209, 213, 219, 0.02) 100%) !important;
}

/* Force icon styling */
.order-progress-display .step-icon-track {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.order-progress-display .progress-step.completed .step-icon-track {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
    color: white !important;
}

.order-progress-display .progress-step.current .step-icon-track {
    background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%) !important;
    color: white !important;
    animation: icon-pulse 2s ease-in-out infinite !important;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.order-progress-display .progress-step.pending .step-icon-track {
    background: linear-gradient(135deg, var(--gray-400) 0%, var(--gray-500) 100%) !important;
    color: white !important;
}

/* Timeline styling */
.order-progress-display .progress-timeline::before {
    content: '' !important;
    position: absolute !important;
    left: 25px !important;
    top: 60px !important;
    bottom: 60px !important;
    width: 3px !important;
    background: linear-gradient(180deg, #48bb78 0%, var(--primary) 50%, var(--gray-300) 100%) !important;
    border-radius: 2px !important;
    z-index: 0 !important;
}
