/****************************
 BEAUTIFUL MODERN LICENSE TABLE
*****************************/
h2.license-title{
    margin-top: 30px!important;
    margin-bottom: -10px!important;
}

.license-table-wrapper {
    margin-top: 35px;
    overflow-x: auto;
}

.license-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    font-size: 16px;
    border: 1px solid #e4e7ec;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.license-table th {
    background: #f9fafb;
    color: #1f2937;
    padding: 16px 20px;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    letter-spacing: .3px;
}

.license-table td {
    padding: 16px 20px;
    color: #374151;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.license-table tbody tr:last-child td {
    border-bottom: none;
}

.license-table tbody tr:hover {
    background: #f9fafb;
    transition: 0.25s ease-in-out;
}

/**************************************
 LICENSE KEY BOX
***************************************/

.lv-license-code {
    background: #f3f4f6;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: "Courier New", monospace;
    font-size: 15px;
    display: inline-block;
    border: 1px dashed #cbd5e1;
    color: #1e3a8a;
    word-break: break-all;
}

/**************************************
 COPY BUTTON – Modern & Sleek
***************************************/

.lv-copy-btn {
    margin-left: 12px;
    padding: 8px 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s ease;
}

.lv-copy-btn:hover {
    background: #1e40af;
}

.lv-copy-btn:active {
    transform: scale(0.96);
}

/**************************************
 LOCKED MESSAGE (Before completion)
***************************************/

.lv-locked-message {
    padding: 18px 22px;
    background: #fff4dc;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    font-size: 15px;
    color: #92400e;
    margin-top: 20px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.08);
}


/**************************************
 MOBILE RESPONSIVE CARD LAYOUT
***************************************/
@media (max-width: 680px) {

    .license-table {
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .license-table thead {
        display: none;
    }

    .license-table tbody tr {
        display: block;
        background: #ffffff;
        margin-bottom: 18px;
        border-radius: 12px;
        box-shadow: 0 3px 12px rgba(0,0,0,0.05);
        border: 1px solid #e5e5e5;
        padding: 14px 16px;
    }

    .license-table td {
        display: block;
        border: none;
        padding: 10px 0;
    }

    .license-table td:not(:last-child) {
        border-bottom: 1px dashed #e5e7eb;
        margin-bottom: 10px;
        padding-bottom: 14px;
    }

    .license-table td:before {
        content: attr(data-label);
        font-size: 12px;
        text-transform: uppercase;
        color: #6b7280;
        font-weight: 600;
        display: block;
        margin-bottom: 4px;
        letter-spacing: .3px;
    }

    .lv-copy-btn {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
        text-align: center;
    }
}


/**************************************
 TOAST NOTIFICATION
***************************************/
#lv-toast {
    position: fixed;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    z-index: 99999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

#lv-toast.show {
    bottom: 30px;
    opacity: 1;
}

/**************************************
 DESKTOP LEFT/RIGHT PADDING FIX
***************************************/
@media (min-width: 681px) {
    .license-table th,
    .license-table td {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }

    /* Optional: Add inner margin so table isn't touching page edges */
    .license-table-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }
}

