.lem-tracking-checker-shortcode {
    display: inline-flex;
    align-items: center;
}

.lem-tracking-checker__nav {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.lem-tracking-checker-nav-item {
    display: inline-flex !important;
    align-items: center;
    gap: 18px;
}

.lem-tracking-checker__nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(248, 250, 252, 0.92);
    color: #0f172a;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lem-tracking-checker__nav-button span {
    display: inline-flex;
    align-items: center;
}

.lem-tracking-checker__nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
    border-color: rgba(37, 99, 235, 0.35);
}

.lem-tracking-checker__nav-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.45);
}

.lem-tracking-checker__nav-heading {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lem-tracking-checker__nav-cta {
    font-size: 12px;
    color: #2563eb;
    letter-spacing: 0.02em;
}

.lem-tracking-checker__nav-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(20, 83, 45, 0.28);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(56, 189, 248, 0.12));
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
}

.lem-tracking-checker__status-glow {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(74, 222, 128, 1) 0%, rgba(34, 197, 94, 0.6) 55%, transparent 80%);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
    animation: lem-tracking-pulse 2.4s ease-in-out infinite;
}

@keyframes lem-tracking-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

.lem-tracking-checker__modal[hidden] {
    display: none;
}

.lem-tracking-checker__modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.lem-tracking-checker__modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    animation: lem-tracking-fade-in 0.28s ease forwards;
}

.lem-tracking-checker__modal-dialog {
    position: relative;
    margin: 8vh auto;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 26px;
    padding: 32px 32px 28px;
    box-shadow: 0 45px 90px rgba(15, 23, 42, 0.24);
    transform: scale(0.9);
    animation: lem-tracking-pop-in 0.28s ease forwards;
}

@keyframes lem-tracking-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lem-tracking-pop-in {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(18px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.lem-tracking-checker__modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(148, 163, 184, 0.16);
    color: #0f172a;
    font-size: 20px;
    cursor: pointer;
}

.lem-tracking-checker__modal-title {
    margin: 0 0 8px;
    font-size: 24px;
    color: #0f172a;
}

.lem-tracking-checker__modal-subtitle {
    margin: 0 0 24px;
    color: #475569;
}

.lem-tracking-checker__form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.lem-tracking-checker__input {
    flex: 1 1 260px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lem-tracking-checker__input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.lem-tracking-checker__submit {
    flex: 0 0 auto;
    padding: 12px 24px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lem-tracking-checker__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.lem-tracking-checker__submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.35);
}

.lem-tracking-checker__feedback {
    color: #334155;
    font-size: 14px;
    min-height: 22px;
}

.lem-tracking-checker__feedback--error {
    color: #dc2626;
}

.lem-tracking-checker__results {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 16px;
    margin-top: 12px;
}

.lem-tracking-checker__summary {
    display: grid;
    gap: 8px;
    color: #0f172a;
}

.lem-tracking-checker__summary strong {
    font-size: 18px;
}

.lem-tracking-checker__items {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.lem-tracking-checker__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.lem-tracking-checker__item span {
    font-weight: 500;
}

body.lem-tracking-checker-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .lem-tracking-checker__nav {
        flex-direction: column;
        align-items: stretch;
    }

    .lem-tracking-checker__nav-status {
        width: 100%;
        justify-content: center;
    }

    .lem-tracking-checker__modal-dialog {
        margin: 12vh 18px;
        padding: 28px 20px 24px;
    }

    .lem-tracking-checker__form {
        flex-direction: column;
    }

    .lem-tracking-checker__submit {
        width: 100%;
    }
}
