/* ── KEYZAX CUSTOMER KEY & TIMER UI ───────────────────────── */
.keyzax-key-container {
    margin: 24px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
    width: 100%;
}

.keyzax-cyber-box {
    background: #0d0a1a;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    color: #ede8ff;
    box-sizing: border-box;
    width: 100%;
}

/* Ready Card Style */
.keyzax-ready-card {
    border: 2px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15), 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Timer Card Style */
.keyzax-timer-card {
    border: 2px solid #00f2fe;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.2), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.keyzax-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
}

.keyzax-top-icon {
    font-size: 32px;
    line-height: 1;
    filter: drop-shadow(0 0 10px #ffd700);
    flex-shrink: 0;
}

.keyzax-pulse-orb {
    font-size: 32px;
    line-height: 1;
    display: inline-block;
    animation: keyzaxPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px #00f2fe);
    flex-shrink: 0;
}

@keyframes keyzaxPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

.keyzax-title-gold {
    color: #ffd700;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.25;
}

.keyzax-title-cyan {
    color: #00f2fe;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.25;
}

.keyzax-subtitle {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    line-height: 1.4;
}

/* License Key Box */
.keyzax-keys-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
    width: 100%;
}

.keyzax-single-key-row {
    background: #06040d;
    border: 1.5px solid rgba(255, 215, 0, 0.5);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    width: 100%;
}

.keyzax-single-key-row .key-txt {
    font-family: "JetBrains Mono", Consolas, "Courier New", monospace;
    font-size: 17px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    word-break: break-all;
    overflow-wrap: anywhere;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    flex: 1 1 auto;
    min-width: 0;
}

.btn-keyzax-copy {
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #000;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-keyzax-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
}

.keyzax-download-row {
    margin-top: 14px;
    text-align: center;
}

.btn-keyzax-download {
    display: inline-block;
    background: linear-gradient(135deg, #00f2fe, #9b59f7);
    color: #fff !important;
    text-decoration: none !important;
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 13.5px;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
    transition: all 0.2s ease;
    text-align: center;
}
.btn-keyzax-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(155, 89, 247, 0.5);
}

.keyzax-instructions-footer {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
    line-height: 1.5;
}

/* Timer Section */
.keyzax-timer-display-box {
    background: #06040d;
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 14px;
    padding: 22px 16px;
    text-align: center;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.timer-label {
    font-size: 11px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.timer-countdown {
    font-family: "JetBrains Mono", Consolas, "Courier New", monospace;
    font-size: 38px;
    font-weight: 900;
    color: #00f2fe;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
    margin-bottom: 14px;
    line-height: 1.1;
    word-break: break-word;
}

.timer-progress-bar {
    width: 100%;
    height: 6px;
    background: #191430;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.timer-progress-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #00f2fe, #9b59f7);
    border-radius: 10px;
    animation: pBarPulse 2s linear infinite;
}

@keyframes pBarPulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.keyzax-timer-status-msg {
    font-size: 12.5px;
    color: #cbd5e1;
    text-align: center;
    line-height: 1.6;
}

.spinner-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00f2fe;
    border-radius: 50%;
    margin-right: 6px;
    animation: dotBlink 1.2s infinite;
}

@keyframes dotBlink {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Dashboard Footer Bar */
.keyzax-dashboard-section {
    margin: 20px 0 25px;
}

.keyzax-dashboard-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 4px 6px;
    flex-wrap: wrap;
    gap: 8px;
}

.keyzax-past-info {
    font-size: 12px;
    color: #94a3b8;
}

.keyzax-past-link {
    font-size: 12px;
    color: #a855f7;
    font-weight: 700;
    text-decoration: none !important;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.keyzax-past-link:hover {
    color: #00f2fe;
    text-decoration: underline !important;
}

/* ── RESPONSIVE MEDIA QUERIES ───────────────────────── */

/* Tablet & Smaller Laptops (<= 768px) */
@media (max-width: 768px) {
    .keyzax-cyber-box {
        padding: 18px 16px;
        border-radius: 14px;
    }
    .keyzax-card-top {
        gap: 12px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    .keyzax-top-icon,
    .keyzax-pulse-orb {
        font-size: 26px;
    }
    .keyzax-title-gold,
    .keyzax-title-cyan {
        font-size: 15px;
        letter-spacing: 1px;
    }
    .keyzax-subtitle {
        font-size: 11px;
    }
    .keyzax-single-key-row {
        padding: 12px 14px;
        gap: 10px;
    }
    .keyzax-single-key-row .key-txt {
        font-size: 14px;
        letter-spacing: 1px;
    }
    .btn-keyzax-copy {
        padding: 8px 14px;
        font-size: 11.5px;
    }
    .btn-keyzax-download {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 12px 16px;
        font-size: 12.5px;
    }
    .timer-countdown {
        font-size: 28px;
        letter-spacing: 2px;
    }
    .keyzax-timer-display-box {
        padding: 16px 12px;
    }
}

/* Mobile Screens (<= 480px - Phones) */
@media (max-width: 480px) {
    .keyzax-key-container {
        margin: 16px 0;
    }
    .keyzax-cyber-box {
        padding: 14px 12px;
        border-radius: 12px;
    }
    .keyzax-card-top {
        gap: 10px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }
    .keyzax-top-icon,
    .keyzax-pulse-orb {
        font-size: 22px;
    }
    .keyzax-title-gold,
    .keyzax-title-cyan {
        font-size: 13.5px;
        letter-spacing: 0.5px;
    }
    .keyzax-subtitle {
        font-size: 10.5px;
    }
    .keyzax-single-key-row {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 10px;
        gap: 10px;
        text-align: center;
    }
    .keyzax-single-key-row .key-txt {
        font-size: 13px;
        letter-spacing: 0.5px;
        text-align: center;
        line-height: 1.4;
        word-break: break-all;
    }
    .btn-keyzax-copy {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 9px 12px;
        font-size: 12px;
        justify-content: center;
        display: flex;
        align-items: center;
    }
    .btn-keyzax-download {
        font-size: 12px;
        padding: 11px 12px;
        letter-spacing: 0.5px;
    }
    .timer-label {
        font-size: 9.5px;
        letter-spacing: 1px;
    }
    .timer-countdown {
        font-size: 22px;
        letter-spacing: 1.5px;
    }
    .keyzax-timer-status-msg {
        font-size: 11px;
        line-height: 1.45;
    }
    .keyzax-instructions-footer {
        font-size: 10.5px;
    }
    .keyzax-dashboard-footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

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