.wc-shipping-tracking-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.tracking-form-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.tracking-form-container h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #007cba;
}

.input-group button {
    padding: 12px 30px;
    background: #007cba;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.input-group button:hover {
    background: #006ba1;
}

.form-group .description {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

.tracking-results {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.shipment-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

.detail-row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: 600;
    min-width: 180px;
    color: #555;
}

.detail-row .value {
    color: #333;
}

.status-badge .badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.tracking-actions {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.tracking-actions .button {
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.tracking-actions .button:first-child {
    background: #007cba;
    color: #fff;
}

.tracking-actions .button:first-child:hover {
    background: #006ba1;
}

.tracking-actions .button:nth-child(2) {
    background: #f0f0f1;
    color: #333;
}

.tracking-actions .button:nth-child(2):hover {
    background: #ddd;
}

.shipment-timeline {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.timeline {
    position: relative;
    margin: 40px 0 0 30px;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #007cba;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: -28px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #007cba;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #007cba;
}

.timeline-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #007cba;
}

.timeline-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.timeline-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.timeline-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.notice {
    padding: 15px;
    border-left: 4px solid #dc3232;
    background: #fcf0f1;
    margin: 20px 0;
    border-radius: 4px;
}

.notice p {
    margin: 0;
    color: #b32d2e;
}

/* Responsive */
@media (max-width: 768px) {
    .tracking-form-container,
    .tracking-results {
        padding: 20px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group button {
        width: 100%;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .detail-row .label {
        margin-bottom: 5px;
        min-width: auto;
    }
    
    .tracking-actions {
        flex-direction: column;
    }
    
    .timeline {
        margin-left: 20px;
        padding-left: 10px;
    }
    
    .timeline::before {
        left: -1px;
    }
    
    .timeline-marker {
        left: -23px;
    }
}
