/**
 * Aromë Account Manager - Styles
 * Color principal: #eaa2b1
 */

/* Order Tracking */
.arome-order-tracking {
    max-width: 1000px;
}

.order-tracking-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.order-tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.order-number strong {
    font-size: 1.2em;
    color: #333;
}

.order-date {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

.order-total {
    font-size: 1.3em;
    font-weight: bold;
    color: #eaa2b1;
}

/* Order Timeline */
.order-timeline {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    padding: 20px 0;
    position: relative;
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.timeline-step.active {
    opacity: 1;
}

.timeline-step.current .step-icon {
    background: #eaa2b1;
    color: #fff;
    border-color: #eaa2b1;
    box-shadow: 0 0 0 4px rgba(234, 162, 177, 0.2);
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.timeline-step.active .step-icon {
    background: #eaa2b1;
    color: #fff;
    border-color: #eaa2b1;
}

.step-label {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
}

.timeline-step.current .step-label {
    font-weight: bold;
    color: #333;
}

/* Pulse animation for current step */
.pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #eaa2b1;
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Delivery Info Box */
.delivery-info-box {
    background: #f7dede;
    border-left: 4px solid #eaa2b1;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

/* Order Actions */
.order-actions {
    margin-top: 15px;
    text-align: right;
}

.order-actions .button {
    background: #eaa2b1;
    color: #fff;
    border: none;
}

.order-actions .button:hover {
    background: #e88fa0;
}

/* Comprobantes Table */
.arome-comprobantes table {
    width: 100%;
}

.receipt-date {
    color: #10b981;
    font-weight: bold;
}

.receipt-pending {
    color: #ffc107;
    font-weight: bold;
}

/* Retry Payment Box */
.arome-retry-payment-box {
    text-align: center;
}

.arome-retry-payment-box .button {
    font-size: 1.1em;
    padding: 12px 30px;
}

.arome-retry-payment-box .button:hover {
    background: #e88fa0 !important;
}

/* Responsive */
@media (max-width: 767px) {
    .order-tracking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-timeline {
        flex-wrap: wrap;
    }
    
    .timeline-step {
        flex-basis: 50%;
        margin-bottom: 20px;
    }
    
    .step-label {
        font-size: 0.75em;
    }
}
