/**
 * Highway 71 Clone BCM Manager - Frontend Styles
 */

/* Clone BCM Section on Order Page */
.h71-clone-bcm-section {
    margin-top: 30px;
}

.h71-clone-bcm-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h71-clone-bcm-section h4 {
    margin-bottom: 10px;
}

/* Status Badges */
.h71-status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.h71-status-awaiting_shipment {
    background: #ffeaa7;
    color: #d35400;
}

.h71-status-in_transit {
    background: #74b9ff;
    color: #0056b3;
}

.h71-status-received {
    background: #a29bfe;
    color: #5f27cd;
}

.h71-status-processing {
    background: #fab1a0;
    color: #d63031;
}

.h71-status-shipped_back {
    background: #55efc4;
    color: #00b894;
}

.h71-status-completed {
    background: #00b894;
    color: #fff;
}

/* Tracking Form */
.h71-tracking-form {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.h71-tracking-form h4 {
    margin-top: 0;
    color: #1a365d;
}

.h71-tracking-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.h71-tracking-form input,
.h71-tracking-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.h71-tracking-form input:focus,
.h71-tracking-form select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.1);
}

.h71-tracking-form button[type="submit"] {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.h71-tracking-form button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

.h71-tracking-form button[type="submit"]:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Tracking Submitted Box */
.h71-tracking-submitted {
    background: #d4edda;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #28a745;
}

.h71-tracking-submitted h4 {
    margin-top: 0;
    color: #155724;
}

/* Return Tracking Box */
.h71-return-tracking {
    background: #d1ecf1;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #17a2b8;
}

.h71-return-tracking h4 {
    margin-top: 0;
    color: #0c5460;
}

/* Process Timeline */
.h71-process-timeline {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.h71-process-timeline h4 {
    margin-top: 0;
    color: #1a365d;
}

.h71-process-timeline ol {
    padding-left: 25px;
}

.h71-process-timeline li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.h71-process-timeline li:last-child {
    border-bottom: none;
}

/* Clone BCM Orders Table in My Account */
.woocommerce-MyAccount-orders .h71-status-badge {
    font-size: 10px;
    padding: 3px 8px;
}

/* Message Box */
#h71-tracking-message {
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .h71-clone-bcm-section {
        padding: 20px !important;
    }
    
    .h71-tracking-form,
    .h71-tracking-submitted,
    .h71-return-tracking,
    .h71-process-timeline {
        padding: 20px;
    }
    
    .h71-tracking-form button[type="submit"] {
        width: 100%;
    }
}
