:root {
    --primary-color: #000000 !important;
    --primary-hover: #1a1a1a !important;
    --brand-gold: #F5B800 !important;
    --bg-main: #F5B800 !important;
    --card-bg: #ffffff !important;
    --card-border: #000000 !important;
    --text-main: #000000 !important;
    --text-dim: #333333 !important;
    --accent: #000000 !important;
    --error: #ff0000 !important;
}

#wotp-tracking-container.wotp-premium-ui {
    font-family: 'Outfit', sans-serif !important;
    max-width: 600px !important;
    margin: 40px auto !important;
    padding: 30px !important;
    background: var(--bg-main) !important;
    border-radius: 24px !important;
    color: var(--text-main) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
}

.wotp-header {
    text-align: center;
    margin-bottom: 30px;
}

.wotp-header h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: #000000 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.wotp-header p {
    color: #000000 !important;
    font-size: 1rem !important;
    opacity: 0.8 !important;
}

.wotp-card {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid #000000 !important;
    border-radius: 20px !important;
    padding: 30px !important;
}

.wotp-input-group {
    margin-bottom: 20px !important;
}

.wotp-input-group label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    font-size: 1rem !important;
}

.wotp-input-group input {
    width: 100% !important;
    background: #ffffff !important;
    border: 2px solid var(--brand-gold) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    color: #000000 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.wotp-input-group input:focus {
    outline: none !important;
    border-color: #000000 !important;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1) !important;
}

.wotp-btn {
    width: 100% !important;
    background: #000000 !important;
    border: 2px solid #000000 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    color: var(--brand-gold) !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
}

.wotp-btn:hover {
    background: var(--brand-gold) !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

.wotp-btn:active {
    transform: translateY(0);
}

/* Results Styling */
.wotp-result-content {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wotp-status-badge {
    display: inline-block !important;
    padding: 8px 20px !important;
    border-radius: 99px !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin-bottom: 25px !important;
    border: 2px solid #000000 !important;
}

.wotp-status-badge.completed { background: #000000 !important; color: var(--brand-gold) !important; }
.wotp-status-badge.processing { background: #ffffff !important; color: #000000 !important; }
.wotp-status-badge.on-hold { background: #000000 !important; color: #ffffff !important; }
.wotp-status-badge.pending { background: #ffffff !important; color: #666666 !important; }

.wotp-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.wotp-info-item {
    background: #ffffff !important;
    padding: 15px !important;
    border-radius: 12px !important;
    border: 2px solid #000000 !important;
    box-shadow: 4px 4px 0px #000000 !important;
}

.wotp-info-item .label {
    display: block !important;
    font-size: 0.85rem !important;
    color: #333333 !important;
    margin-bottom: 4px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.wotp-info-item .value {
    font-weight: 800 !important;
    color: #000000 !important;
    font-size: 1.1rem !important;
}

.wotp-tracking-box {
    background: #ffffff !important;
    border: 3px solid #000000 !important;
    border-radius: 20px !important;
    padding: 25px !important;
    margin-bottom: 25px !important;
    position: relative !important;
    box-shadow: 8px 8px 0px #000000 !important;
    transition: transform 0.3s ease !important;
}

.wotp-tracking-box:hover {
    transform: scale(1.02) !important;
    box-shadow: 12px 12px 0px #000000 !important;
}

.wotp-tracking-box h3 {
    margin: 0 0 15px 0 !important;
    font-size: 1.3rem !important;
    color: #000000 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-weight: 900 !important;
}

.wotp-tracking-box h3::before {
    content: '' !important;
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    background: var(--brand-gold) !important;
    border-radius: 50% !important;
    border: 2px solid #000000 !important;
}

.wotp-tracking-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.highlight {
    color: #000000 !important;
    background: var(--brand-gold) !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-weight: 900 !important;
    font-family: monospace !important;
    font-size: 1.1rem !important;
}

.wotp-track-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 15px !important;
    background: #000000 !important;
    color: var(--brand-gold) !important;
    padding: 12px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    transition: all 0.3s ease !important;
    border: 2px solid #000000 !important;
}

.wotp-track-link:hover {
    background: var(--brand-gold) !important;
    color: #000000 !important;
}

.wotp-product-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 12px !important;
    background: #ffffff !important;
    border: 2px solid #000000 !important;
    border-radius: 12px !important;
    padding: 12px !important;
    box-shadow: 4px 4px 0px #000000 !important;
    transition: all 0.3s ease !important;
}

a.wotp-product-link {
    text-decoration: none !important;
    cursor: pointer !important;
    color: inherit !important;
}

a.wotp-product-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 6px 6px 0px #000000 !important;
    background: #fffbe6 !important;
    border-color: var(--brand-gold) !important;
}

a.wotp-product-link:hover .wotp-product-link-hint {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.wotp-product-img img {
    border-radius: 8px;
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.wotp-product-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.wotp-product-name {
    font-size: 0.95rem;
    font-weight: 700 !important;
    color: var(--text-main);
}

.qty {
    color: var(--text-dim);
    margin-left: 8px;
    font-weight: 600 !important;
}

.wotp-product-variations {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 6px !important;
    font-size: 0.82rem !important;
    color: #555 !important;
}

.wotp-variation-group {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

.wotp-variation-label {
    font-weight: 700 !important;
    color: #333 !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.3px !important;
}

.wotp-variation-value {
    font-weight: 600 !important;
    color: #000000 !important;
    background: var(--brand-gold) !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
}

.wotp-variation-separator {
    color: #ccc !important;
    margin: 0 2px !important;
    font-size: 0.7rem !important;
}

.wotp-product-link-hint {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-top: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #000 !important;
    opacity: 0.5 !important;
    transform: translateX(-5px) !important;
    transition: all 0.3s ease !important;
}

/* Order Notes */
.wotp-order-notes {
    margin: 25px 0 !important;
}

.wotp-order-notes h3 {
    margin: 0 0 15px 0 !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #000 !important;
}

.wotp-note-item {
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    padding: 14px !important;
    border-radius: 12px !important;
    border: 2px solid #000000 !important;
    background: #ffffff !important;
    box-shadow: 4px 4px 0px #000000 !important;
    transition: all 0.3s ease !important;
}

.wotp-note-item:hover {
    transform: translateY(-1px) !important;
    box-shadow: 5px 5px 0px #000000 !important;
}

.wotp-note-icon {
    flex-shrink: 0 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wotp-note-customer .wotp-note-icon {
    background: var(--brand-gold) !important;
    color: #000 !important;
}

.wotp-note-admin .wotp-note-icon {
    background: #000 !important;
    color: var(--brand-gold) !important;
}

.wotp-note-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.wotp-note-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 6px !important;
}

.wotp-note-author {
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    color: #000 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

.wotp-note-date {
    font-size: 0.75rem !important;
    color: #888 !important;
    font-weight: 600 !important;
}

.wotp-note-text {
    font-size: 0.9rem !important;
    color: #333 !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
}

.wotp-note-customer {
    border-left: 4px solid var(--brand-gold) !important;
}

.wotp-note-admin {
    border-left: 4px solid #000 !important;
}

/* Loader */
.wotp-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.wotp-error {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* No tracking */
.wotp-no-tracking {
    background: #f9f9f9 !important;
    border: 2px dashed #ccc !important;
    border-radius: 12px !important;
    padding: 20px !important;
    text-align: center !important;
    color: #666 !important;
    font-size: 0.9rem !important;
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    #wotp-tracking-container.wotp-premium-ui {
        margin: 20px 10px !important;
        padding: 20px !important;
        border-radius: 18px !important;
    }

    .wotp-header h1 {
        font-size: 1.8rem !important;
    }

    .wotp-header p {
        font-size: 0.9rem !important;
    }

    .wotp-card {
        padding: 20px !important;
        border-radius: 16px !important;
    }

    .wotp-input-group input {
        padding: 12px 14px !important;
        font-size: 0.95rem !important;
    }

    .wotp-btn {
        padding: 14px !important;
        font-size: 1rem !important;
    }

    .wotp-tracking-box {
        padding: 18px !important;
        border-radius: 16px !important;
        box-shadow: 5px 5px 0px #000000 !important;
    }

    .wotp-tracking-box:hover {
        box-shadow: 7px 7px 0px #000000 !important;
    }

    .wotp-product-item {
        padding: 10px !important;
        gap: 12px !important;
        border-radius: 10px !important;
        box-shadow: 3px 3px 0px #000000 !important;
    }

    .wotp-product-name {
        font-size: 0.9rem !important;
    }

    .wotp-product-variations {
        gap: 5px !important;
    }

    .wotp-note-item {
        padding: 12px !important;
        gap: 10px !important;
        box-shadow: 3px 3px 0px #000000 !important;
    }

    .wotp-note-icon {
        width: 32px !important;
        height: 32px !important;
    }

    .wotp-note-icon svg {
        width: 15px !important;
        height: 15px !important;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    #wotp-tracking-container.wotp-premium-ui {
        margin: 10px 6px !important;
        padding: 14px !important;
        border-radius: 14px !important;
    }

    .wotp-header {
        margin-bottom: 20px !important;
    }

    .wotp-header h1 {
        font-size: 1.4rem !important;
        margin-bottom: 4px !important;
    }

    .wotp-header p {
        font-size: 0.82rem !important;
    }

    .wotp-card {
        padding: 14px !important;
        border-radius: 12px !important;
    }

    .wotp-input-group {
        margin-bottom: 14px !important;
    }

    .wotp-input-group label {
        font-size: 0.88rem !important;
        margin-bottom: 5px !important;
    }

    .wotp-input-group input {
        padding: 11px 12px !important;
        font-size: 0.9rem !important;
        border-radius: 10px !important;
    }

    .wotp-btn {
        padding: 13px !important;
        font-size: 0.95rem !important;
        border-radius: 10px !important;
    }

    .wotp-result-content {
        margin-top: 20px !important;
        padding-top: 20px !important;
    }

    .wotp-status-badge {
        width: 100% !important;
        text-align: center !important;
        padding: 7px 14px !important;
        font-size: 0.8rem !important;
        margin-bottom: 18px !important;
    }

    .wotp-info-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-bottom: 18px !important;
    }

    .wotp-info-item {
        padding: 12px !important;
        border-radius: 10px !important;
        box-shadow: 3px 3px 0px #000000 !important;
    }

    .wotp-info-item .label {
        font-size: 0.78rem !important;
    }

    .wotp-info-item .value {
        font-size: 1rem !important;
    }

    .wotp-tracking-box {
        padding: 14px !important;
        border-radius: 14px !important;
        margin-bottom: 18px !important;
        box-shadow: 4px 4px 0px #000000 !important;
    }

    .wotp-tracking-box:hover {
        transform: none !important;
        box-shadow: 4px 4px 0px #000000 !important;
    }

    .wotp-tracking-box h3 {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }

    .wotp-tracking-item {
        flex-direction: column !important;
        gap: 3px !important;
        margin-bottom: 8px !important;
    }

    .wotp-tracking-item .label {
        font-size: 0.8rem !important;
    }

    .wotp-tracking-item .value {
        text-align: left !important;
        font-size: 0.9rem !important;
    }

    .highlight {
        font-size: 0.95rem !important;
        padding: 2px 6px !important;
    }

    .wotp-track-link {
        padding: 10px !important;
        font-size: 0.88rem !important;
        border-radius: 8px !important;
    }

    /* Product items - mobile */
    .wotp-order-items h3 {
        font-size: 1.05rem !important;
        margin: 16px 0 8px !important;
    }

    .wotp-product-item {
        padding: 10px !important;
        gap: 10px !important;
        margin-bottom: 10px !important;
        border-radius: 10px !important;
        box-shadow: 3px 3px 0px #000000 !important;
    }

    a.wotp-product-link:hover {
        transform: none !important;
        box-shadow: 3px 3px 0px #000000 !important;
    }

    .wotp-product-img img {
        width: 42px !important;
        height: 42px !important;
        border-radius: 6px !important;
    }

    .wotp-product-name {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
    }

    .qty {
        font-size: 0.8rem !important;
    }

    .wotp-product-variations {
        gap: 4px !important;
        margin-top: 5px !important;
        flex-wrap: wrap !important;
    }

    .wotp-variation-label {
        font-size: 0.68rem !important;
    }

    .wotp-variation-value {
        font-size: 0.72rem !important;
        padding: 1px 6px !important;
        border-radius: 4px !important;
    }

    .wotp-variation-separator {
        font-size: 0.6rem !important;
    }

    .wotp-product-link-hint {
        font-size: 0.72rem !important;
        margin-top: 5px !important;
        gap: 4px !important;
    }

    .wotp-product-link-hint svg {
        width: 12px !important;
        height: 12px !important;
    }

    /* Notes - mobile */
    .wotp-order-notes {
        margin: 18px 0 !important;
    }

    .wotp-order-notes h3 {
        font-size: 1.05rem !important;
        margin-bottom: 10px !important;
    }

    .wotp-note-item {
        padding: 10px !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
        border-radius: 10px !important;
        box-shadow: 3px 3px 0px #000000 !important;
    }

    .wotp-note-item:hover {
        transform: none !important;
        box-shadow: 3px 3px 0px #000000 !important;
    }

    .wotp-note-icon {
        width: 28px !important;
        height: 28px !important;
    }

    .wotp-note-icon svg {
        width: 14px !important;
        height: 14px !important;
    }

    .wotp-note-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
        margin-bottom: 4px !important;
    }

    .wotp-note-author {
        font-size: 0.78rem !important;
    }

    .wotp-note-date {
        font-size: 0.7rem !important;
    }

    .wotp-note-text {
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
    }

    /* No tracking - mobile */
    .wotp-no-tracking {
        padding: 14px !important;
        font-size: 0.82rem !important;
    }

    /* Error - mobile */
    .wotp-error {
        padding: 10px !important;
        font-size: 0.82rem !important;
        border-radius: 8px !important;
    }
}
