/* ===== RESET & BASE ===== */
#infotrimheescoped *, #infotrimheescoped *::before, #infotrimheescoped *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== WRAPPER (gradient backdrop) ===== */
#infotrimheescoped {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        135deg,
        #0f2027 0%,
        #203a43 25%,
        #2c5364 50%,
        #4ca1af 75%,
        #c4e0e5 100%
    );
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
    padding: 40px 20px;
    min-height: 100vh;
    width: 100%;
}

#infotrimheescoped .infotrimheebody {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ===== MAIN CONTAINER (the .wrap) ===== */
#infotrimheescoped .wrap.infotrimheecontainer {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    background: #000;
    border: 2px solid #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0,0,0,0.6);
    padding: 2.5rem 2rem;
}

#infotrimheescoped .wrap h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
}

/* ===== LICENSE CARD ===== */
#infotrimheescoped .license-box.infotrimheelicense-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

#infotrimheescoped .infotrimheelicense-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

#infotrimheescoped .license-box h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

#infotrimheescoped .license-box p {
    color: #d7dee2;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

#infotrimheescoped .license-box strong {
    font-weight: 700;
}

/* ===== STATUS BADGE ===== */
#infotrimheescoped .infotrimheestatus-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

#infotrimheescoped .infotrimheestatus-active {
    background: rgba(0, 166, 8, 0.15);
    color: #4ade80;
}

#infotrimheescoped .infotrimheestatus-expired {
    background: rgba(229, 57, 53, 0.15);
    color: #f87171;
}

#infotrimheescoped .infotrimheestatus-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: infotrimheepulse 1.8s ease-in-out infinite;
}

/* ===== LICENSE KEY DISPLAY ===== */
#infotrimheescoped .infotrimheelicense-key-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

#infotrimheescoped .infotrimheelicense-key {
    flex: 1;
    min-width: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #c4e0e5;
    text-align: center;
    overflow-x: auto;
    white-space: nowrap;
}

/* ===== META ROW ===== */
#infotrimheescoped .infotrimheelicense-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

#infotrimheescoped .infotrimheemeta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#infotrimheescoped .infotrimheemeta-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8fa3ad;
}

#infotrimheescoped .infotrimheemeta-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

/* ===== BUTTONS ===== */
#infotrimheescoped .infotrimheebtn {
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    background: var(--primary-color, #2196f3);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

#infotrimheescoped .infotrimheebtn:hover {
    background: var(--primary-dark, #1976d2);
    transform: translateY(-1px);
}

#infotrimheescoped .infotrimheecopy-btn {
    background: var(--success, #43a047);
}
#infotrimheescoped .infotrimheecopy-btn:hover {
    background: #2e7d32;
}

#infotrimheescoped .infotrimheelicense-actions {
    display: flex;
    justify-content: flex-end;
}

#infotrimheescoped .infotrimheemanage-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
}
#infotrimheescoped .infotrimheemanage-btn:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-1px);
}

/* ===== NOTIFICATION (copy toast) ===== */
#infotrimheescoped .infotrimheenotification {
    display: none;
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #800000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

#infotrimheescoped .infotrimheenotification.active {
    display: block;
}

/* ===== ANIMATIONS ===== */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes infotrimheepulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    #infotrimheescoped {
        padding: 20px 12px;
    }
    #infotrimheescoped .wrap.infotrimheecontainer {
        max-width: 100%;
        padding: 1.5rem 1.25rem;
    }
    #infotrimheescoped .infotrimheenotification {
        right: 10px;
        padding: 8px 16px;
        font-size: 12px;
    }
    #infotrimheescoped .infotrimheebtn {
        padding: 0.45rem 1rem;
        font-size: 13px;
    }
    #infotrimheescoped .infotrimheelicense-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    #infotrimheescoped .infotrimheelicense-key-row {
        flex-direction: column;
        gap: 10px;
        padding: 1rem;
    }
    #infotrimheescoped .infotrimheelicense-key {
        width: 100%;
        white-space: normal;
        word-break: break-all;
    }
    #infotrimheescoped .infotrimheecopy-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #infotrimheescoped {
        padding: 15px 10px;
    }
    #infotrimheescoped .infotrimheelicense-key {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
}