.st-tracking-form {
    max-width: <?php echo esc_attr(get_option('st_box_width', '600px')); ?>;
    height: <?php echo esc_attr(get_option('st_box_height', 'auto')); ?>;
    margin: 40px auto;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.st-tracking-form h2 {
    color: #2d3748;
    font-size: 24px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.st-tracking-form h2::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.st-tracking-form p {
    color: #4a5568;
    font-size: 14px;
    margin-bottom: 20px;
}

.st-tracking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
}

.st-tracking-container {
    position: relative;
}

.st-tracking-form input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #4a5568;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.st-tracking-form input[type="text"]:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
    outline: none;
}

.st-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 16px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-top: -10px;
}

.st-tracking-form button {
    width: 100%;
    padding: 12px 16px;
    background-color: #0d3b7a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.st-tracking-form button:hover {
    background-color: #0a2b5a;
}

.st-support-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #4a5568;
}

.st-support-text a {
    color: #4299e1;
    text-decoration: none;
}

.st-support-text a:hover {
    text-decoration: underline;
}

#st-tracking-results {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f7fafc;
    color: #4a5568;
}

.st-loading {
    text-align: center;
    padding: 20px;
    color: #4a5568;
}

.st-error {
    color: #e53e3e;
    text-align: center;
    padding: 10px;
}

.st-success {
    color: #2d3748;
}

.st-status-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 16px;
    color: #38a169;
}

.st-status-header i {
    margin-right: 8px;
}

.st-tracking-details {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.st-detail-row {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.st-detail-row span {
    font-weight: 600;
    color: #4a5568;
}

.st-progress-tracker {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    position: relative;
}

.st-progress-tracker:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.st-step {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
}

.st-step-icon {
    width: 32px;
    height: 32px;
    background-color: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
}

.st-step-label {
    font-size: 12px;
    color: #a0aec0;
}

.st-step.st-active .st-step-icon {
    border-color: #4299e1;
    color: #4299e1;
    background-color: #ebf8ff;
}

.st-step.st-active .st-step-label {
    color: #4299e1;
    font-weight: 600;
}

.st-step.st-complete .st-step-icon {
    border-color: #38a169;
    color: #fff;
    background-color: #38a169;
}

@media (max-width: 768px) {
    .st-tracking-form {
        padding: 20px;
    }
}