/* LaNoira Order Tracking Page */

.lanoira-tracking-page {
    background: linear-gradient(135deg, #f6e4e4 0%, #fdfbf7 100%);
    min-height: 80vh;
    padding: 60px 20px;
}

.lanoira-tracking-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Section */
.tracking-hero {
    text-align: center;
    margin-bottom: 60px;
}

.tracking-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: #2c2222;
    margin: 0 0 20px 0;
}

.tracking-hero__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.063rem, 1.9vw, 1.25rem);
    color: #3a2320;
    margin: 0 0 20px 0;
}

.tracking-hero__note {
    font-family: 'Inter', sans-serif;
    font-size: 0.938rem;
    color: #4a0e0e;
    display: inline-flex;
    align-items: center;
    background: rgba(74, 14, 14, 0.08);
    padding: 12px 20px;
    border-radius: 50px;
}

/* Form Section */
.tracking-form-section {
    background: white;
    padding: 50px 45px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(44, 34, 34, 0.08);
}

/* Form Tabs */
.form-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(44, 34, 34, 0.1);
}

.tab-button {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #3a2320;
    background: transparent;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.tab-button.active {
    color: #4a0e0e;
    border-bottom-color: #4a0e0e;
    font-weight: 600;
}

.tab-button:hover {
    color: #4a0e0e;
}

/* Tab Content */
.form-tab-content {
    display: none;
}

.form-tab-content.active {
    display: block;
}

/* Form Groups */
.form-group {
    margin-bottom: 30px;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2c2222;
    display: block;
    margin-bottom: 10px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #2c2222;
    background: #f6e4e4;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4a0e0e;
    background: white;
}

.form-group small {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #3a2320;
    opacity: 0.7;
    display: block;
    margin-top: 8px;
}

/* Submit Button */
.submit-button {
    width: 100%;
    padding: 18px 35px;
    font-family: 'Inter', sans-serif;
    font-size: 1.063rem;
    font-weight: 600;
    color: #f6e4e4;
    background-color: #4a0e0e;
    border: 2px solid #4a0e0e;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(74, 14, 14, 0.2);
}

.submit-button:hover {
    background-color: #3b1224;
    border-color: #3b1224;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 14, 14, 0.35);
}

/* Messages */
#tracking-messages {
    margin-top: 30px;
}

.tracking-message {
    padding: 20px 25px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 20px;
}

.tracking-message.error {
    background: rgba(204, 0, 0, 0.1);
    color: #cc0000;
    border-left: 4px solid #cc0000;
}

.tracking-message.success {
    background: rgba(74, 14, 14, 0.1);
    color: #4a0e0e;
    border-left: 4px solid #4a0e0e;
}

/* Results Section */
#tracking-results {
    margin-top: 50px;
}

.tracking-results-container {
    background: white;
    padding: 50px 45px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(44, 34, 34, 0.08);
}

.tracking-results-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(44, 34, 34, 0.1);
}

.tracking-results-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: #2c2222;
    margin: 0 0 15px 0;
}

.order-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.order-meta-item {
    font-family: 'Inter', sans-serif;
    font-size: 0.938rem;
    color: #3a2320;
}

.order-meta-item strong {
    color: #2c2222;
    font-weight: 600;
}

/* Tracking Info Box */
.tracking-info-box {
    background: #f6e4e4;
    padding: 35px 30px;
    border-radius: 10px;
    border-left: 4px solid #4a0e0e;
    margin-bottom: 40px;
}

.tracking-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tracking-info-row:last-child {
    margin-bottom: 0;
}

.tracking-info-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2c2222;
}

.tracking-info-value {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #3a2320;
}

.tracking-number-code {
    background: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #4a0e0e;
    border: 1px solid rgba(74, 14, 14, 0.2);
}

.track-package-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    font-family: 'Inter', sans-serif;
    font-size: 0.938rem;
    font-weight: 600;
    color: #f6e4e4;
    background-color: #4a0e0e;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.track-package-btn:hover {
    background-color: #3b1224;
    transform: translateY(-2px);
}

/* Timeline */
.order-timeline {
    margin-top: 40px;
}

.order-timeline h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c2222;
    text-align: center;
    margin: 0 0 40px 0;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: rgba(44, 34, 34, 0.2);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 3px solid rgba(44, 34, 34, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.timeline-item.completed .timeline-icon {
    background-color: #4a0e0e;
    border-color: #4a0e0e;
}

.timeline-item.current .timeline-icon {
    border-color: #4a0e0e;
    border-width: 4px;
}

.timeline-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.938rem;
    font-weight: 500;
    color: #3a2320;
    text-align: center;
}

.timeline-item.completed .timeline-label,
.timeline-item.current .timeline-label {
    font-weight: 600;
    color: #2c2222;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tracking-form-section {
        padding: 35px 25px;
    }

    .form-tabs {
        flex-direction: column;
        gap: 0;
    }

    .tab-button {
        border-bottom: 1px solid rgba(44, 34, 34, 0.1);
        border-left: 3px solid transparent;
        text-align: left;
    }

    .tab-button.active {
        border-bottom-color: rgba(44, 34, 34, 0.1);
        border-left-color: #4a0e0e;
    }

    .timeline {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 40px;
    }

    .timeline::before {
        top: 0;
        bottom: 0;
        left: 29px;
        right: auto;
        width: 3px;
        height: 100%;
    }

    .timeline-item {
        flex-direction: row;
        margin-bottom: 30px;
        width: 100%;
    }

    .timeline-icon {
        margin-bottom: 0;
        margin-right: 20px;
    }

    .timeline-label {
        text-align: left;
    }
}