/* ===== Container ===== */
.container {
    /* width:720px;  */
    margin: 18px auto;
    background: #fff;
    padding: 18px;
    /* border:1px solid #cfcfcf; */
}

/* ===== Title ===== */
.title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.subtitle {
    text-align: center;
    font-size: 11px;
    color: #555;
    margin-top: 3px;
    margin-bottom: 12px;
}

/* ===== Card ===== */
.card {
    border: 1px solid #bdbdbd;
    padding: 10px;
}

/* Info row */
.info {
    font-size: 12px;
    margin-bottom: 8px;
}

.info span {
    margin-right: 18px;
    text-align: left !important;
}

/* ===== Table ===== */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-top: 6px;
}


th {
    background: #841a88;
    text-align: left;
    padding: 8px;
    color: #fff;
    border: 1px solid #cfcfcf;
}

.user-info th {
    background: #af619b;

    color: #fbff24;
}

td {
    padding: 8px;
    border: 1px solid #e0e0e0;
}

td:last-child {
    text-align: center;
}

/* ===== Summary ===== */
.summary {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 8px;
    border-top: 1px solid #cfcfcf;
}

.model {
    font-size: 11px;
    padding: 8px;
    border-top: 1px solid #cfcfcf;
    text-align: left;
}

/* ===== Recommendations ===== */
.reco {
    margin-top: 16px;
    font-size: 12px;
    text-align: left;
}

.reco h3 {
    font-size: 12px;
    margin-bottom: 6px;
}

.reco ul {
    padding-left: 16px;
}

.reco li {
    margin-bottom: 6px;
}

/* ===== Buttons ===== */
.center-btn {
    text-align: center;
    margin: 14px 0;
}

.center-btn button {
    background: #e6e6e6;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.action-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.action-row button {
    flex: 1;
    background: #f2f2f2;
    border: 1px solid #d0d0d0;
    padding: 10px;
    font-size: 12px;
    cursor: pointer;
}

/* ===== Disclaimer ===== */
.disclaimer {
    margin-top: 12px;
    font-size: 11px;
    color: #333;
}

.disclaimer b {
    display: block;
    margin-bottom: 4px;
}

.main {
    margin: 40px;
}


/* =========================
   MOBILE RESPONSIVE FIXES
========================= */

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .container {
        margin: 10px;
        padding: 12px;
    }

    .main {
        margin: 0;
    }

    .title {
        font-size: 13px;
        line-height: 1.4;
    }

    .subtitle {
        font-size: 11px;
        padding: 0 10px;
    }

    /* Info row */
    .info {
        display: flex;
        flex-direction: column;
        gap: 6px;
        font-size: 11px;
    }

    .info span {
        margin-right: 0;
    }

    /* Card */
    .card {
        padding: 8px;
    }

    /* Table responsive */
    table {
        font-size: 11px;
    }

    th,
    td {
        padding: 6px;
    }

    /* Summary stack */
    .summary {
        flex-direction: column;
        gap: 6px;
        font-size: 11px;
    }

    /* Recommendations */
    .reco {
        font-size: 11px;
    }

    .reco ul {
        padding-left: 14px;
    }

    /* Buttons */
    .center-btn button,
    .action-row button {
        width: 100%;
        padding: 10px;
        font-size: 12px;
    }

    .action-row {
        flex-direction: column;
    }

    /* Disclaimer */
    .disclaimer {
        font-size: 10.5px;
        line-height: 1.4;
    }
}

.lock-modal {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 16px;
    overflow-y: auto;
}

.lock-btn {
    width: 100%;
    font-size: 12px;
    padding: 10px;
    transition: transform 0.2s ease;
}


@keyframes vibrate {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-1px, 1px);
    }

    40% {
        transform: translate(-1px, -1px);
    }

    60% {
        transform: translate(1px, 1px);
    }

    80% {
        transform: translate(1px, -1px);
    }

    100% {
        transform: translate(0);
    }
}

.lock-btn.primary {
    animation: vibrate 0.4s linear infinite;
}

.lock-btn.primary:hover {
    animation: none;
}

/* =========================
   LOCK MODAL RESPONSIVE
========================= */

@media (max-width: 768px) {

    .lock-overlay {
        align-items: flex-start;
        padding-top: 40px;
    }

    .lock-modal {
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 16px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .lock-modal h3 {
        font-size: 15px;
    }

    .lock-sub {
        font-size: 12px;
    }

    .lock-features li {
        font-size: 12px;
    }



    .lock-footer {
        font-size: 11px;
    }
}

/* =========================
   GLOBAL TYPOGRAPHY RESET
========================= */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f3f4f6;
    color: #111827;
    line-height: 1.55;
}

/* =========================
   BEAUTIFUL MOBILE TYPOGRAPHY
========================= */

@media (max-width: 768px) {

    .title {
        font-size: 16px;
        font-weight: 700;
        letter-spacing: -0.3px;
    }

    .subtitle {
        font-size: 13px;
        color: #6b7280;
        line-height: 1.5;
    }

    .info {
        font-size: 13px;
        line-height: 1.6;
    }

    .info b {
        font-weight: 600;
        color: #111827;
    }

    table {
        font-size: 13px;
    }

    th {
        font-size: 12px;
        font-weight: 600;
    }

    td {
        font-size: 13px;
    }

    .summary {
        font-size: 13px;
        line-height: 1.6;
    }

    .model {
        font-size: 12px;
        color: #6b7280;
    }

    .reco h3 {
        font-size: 14px;
        font-weight: 600;
    }

    .reco li {
        font-size: 13px;
        line-height: 1.6;
    }

    .disclaimer {
        font-size: 12px;
        line-height: 1.6;
        color: #4b5563;
    }

    .center-btn button,
    .action-row button {
        font-size: 14px;
        font-weight: 600;
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .card {
        border-radius: 14px;
        border: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    }
}