/* Warranty Lookup */

.wl-lookup-container {
    max-width: 420px;
    margin: 60px auto;
    padding: 40px 36px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 24px rgba(0,0,0,.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wl-lookup-container h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
}

.wl-desc {
    margin: 0 0 24px;
    font-size: 13px;
    color: #94a3b8;
}

/* Search */
.wl-search-row {
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

#wl-sn-input {
    flex: 1;
    width: 100%;
    padding: 14px 18px !important;
    border: none !important;
    font-size: 15px !important;
    color: #334155;
    outline: none;
    background: transparent;
    box-sizing: border-box;
    min-height: auto !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
}

#wl-sn-input::placeholder { color: #94a3b8; }

.wl-search-row button {
    padding: 14px 24px;
    background: #0f172a;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: .5px;
    white-space: nowrap;
    transition: background .15s;
}

.wl-search-row button:hover { background: #1e293b; }

/* Loading */
#wl-loading {
    margin-top: 20px;
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
}

/* Result */
#wl-result {
    margin-top: 24px;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
}

.wl-result-header {
    padding: 20px 24px;
    text-align: center;
}

.wl-result-header.active  { background: #f8fafc; }
.wl-result-header.expired { background: #fef2f2; }

.wl-result-header .wl-status {
    font-size: 15px;
    font-weight: 600;
    display: block;
}

.wl-result-header.active  .wl-status { color: #16a34a; }
.wl-result-header.expired .wl-status { color: #dc2626; }

.wl-result-header .wl-days {
    font-size: 13px;
    margin-top: 2px;
    display: block;
}

.wl-result-header.active  .wl-days { color: #64748b; }
.wl-result-header.expired .wl-days { color: #ef4444; }

.wl-result-body .wl-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 24px;
    font-size: 13px;
    border-bottom: 1px solid #f8fafc;
}

.wl-result-body .wl-row:last-child { border-bottom: none; }

.wl-result-body .wl-label { color: #94a3b8; flex-shrink: 0; }
.wl-result-body .wl-value { color: #1e293b; font-weight: 500; text-align: right; }

/* Error */
#wl-error {
    margin-top: 16px;
    padding: 14px 18px;
    background: #fef2f2;
    border-radius: 8px;
    font-size: 13px;
    color: #991b1b;
    display: none;
    text-align: center;
}

/* Mobile */
@media (max-width: 600px) {
    .wl-lookup-container {
        margin: 20px 12px;
        padding: 28px 20px;
        border-radius: 10px;
    }

    .wl-brand h3 { font-size: 18px; }

    .wl-search-row {
        flex-direction: column;
        border: none;
        gap: 10px;
        border-radius: 0;
        overflow: visible;
    }

    #wl-sn-input {
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px;
        font-size: 16px !important;
        padding: 16px !important;
    }

    .wl-search-row button {
        width: 100%;
        border-radius: 8px;
        padding: 16px;
        font-size: 15px;
    }
}
