/**
 * Track Order CSS
 */

.iscents-track-order-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Intro Text */
.track-intro {
    background: #f8f9fa;
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid #e4b565;
}

.track-intro p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

/* Tracking Form */
.track-order-form {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #24262e;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #e4b565;
    box-shadow: 0 0 0 3px rgba(228, 181, 101, 0.1);
}

.track-btn {
    background: linear-gradient(135deg, #091825, #1a2a3a);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.track-btn:hover {
    background: linear-gradient(135deg, #1a2a3a, #091825);
    transform: translateY(-2px);
}

.track-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Tracking Result */
.tracking-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.tracking-result.success {
    display: block;
    background: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.tracking-result.error {
    display: block;
    background: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Support Links */
.support-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.support-links p {
    margin-bottom: 12px;
    color: #666;
}

.support-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.whatsapp-btn,
.email-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background: #25d366;
    color: #fff;
}

.whatsapp-btn:hover {
    background: #128c7e;
    color: #fff;
}

.email-btn {
    background: #ea4335;
    color: #fff;
}

.email-btn:hover {
    background: #c5221f;
    color: #fff;
}

/* Track Steps */
.track-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #24262e;
}

.step p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Delivery Timelines */
.delivery-timelines {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.city-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.city-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #e4b565;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.city-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.delivery-note {
    background: #fff3e0;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* FAQ Section */
.track-faq {
    margin-bottom: 40px;
}

.track-faq .faq-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.track-faq .faq-item:last-child {
    border-bottom: none;
}

.track-faq h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #24262e;
}

.track-faq p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Need Help Section */
.need-help {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-top: 20px;
}

.need-help p {
    margin-bottom: 10px;
}

.need-help a {
    color: #e4b565;
    text-decoration: none;
}

.need-help a:hover {
    text-decoration: underline;
}

/* Headings */
.iscents-track-order-wrapper h2 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: #24262e;
    position: relative;
    padding-bottom: 12px;
}

.iscents-track-order-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #e4b565, #d4a03a);
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 992px) {
    .delivery-timelines {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .track-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .delivery-timelines {
        grid-template-columns: 1fr;
    }
    
    .track-order-form {
        padding: 20px;
    }
    
    .iscents-track-order-wrapper h2 {
        font-size: 20px;
    }
}