/* =========================================================
   ovniTEK Customer Report Vault
   ========================================================= */


/* ---------------------------------------------------------
   Page and Panels
   --------------------------------------------------------- */

.account-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 50% 0%, rgba(165, 255, 238, 0.09), transparent 42%),
        #050505;
}

.account-main {
    flex: 1;
    padding: 45px 0 70px;
}

.account-panel {
    padding: 32px;
    background: linear-gradient(145deg, rgba(165, 255, 238, 0.06), rgba(255, 255, 255, 0.018));
    border: 1px solid rgba(165, 255, 238, 0.2);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.account-panel h1,
.account-panel h2,
.account-report-card h2 {
    color: white;
}

.account-panel p,
.account-report-card p {
    color: #cfcfcf;
    line-height: 1.65;
}

.account-auth-panel {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.account-auth-panel h1 {
    margin-bottom: 16px;
    font-size: clamp(32px, 5vw, 48px);
}

.account-auth-panel > p:first-of-type {
    max-width: 580px;
    margin: 0 auto 26px;
}

.account-sign-in-options {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
}

.account-sign-in {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 238px;
    padding: 5px 20px;
}

.account-provider-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
}

.account-privacy-note {
    max-width: 590px;
    margin: 25px auto 0;
    color: #8f9694 !important;
    font-size: 13px;
}

.account-dashboard {
    display: grid;
    gap: 24px;
}

.account-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.account-dashboard-header h1 {
    margin-bottom: 8px;
}

.account-user-summary {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   Messages and Empty State
   --------------------------------------------------------- */

.account-message {
    padding: 14px 16px;
    background: rgba(165, 255, 238, 0.06);
    border: 1px solid rgba(165, 255, 238, 0.24);
    border-radius: 5px;
    color: #d6fff7;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.account-auth-panel .account-message {
    margin-top: 20px;
}

.account-message.is-error {
    background: rgba(255, 80, 80, 0.08);
    border-color: rgba(255, 100, 100, 0.32);
    color: #ffb8b8;
}

.account-empty {
    text-align: center;
}

.account-empty p {
    max-width: 620px;
    margin-inline: auto;
}


/* ---------------------------------------------------------
   Report Cards
   --------------------------------------------------------- */

.account-reports {
    display: grid;
    gap: 20px;
}

.account-report-card {
    padding: 28px;
    background: #0b0d0d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid #2696ff;
    border-radius: 8px;
}

.account-report-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.account-report-heading h2 {
    margin-bottom: 6px;
    font-size: 24px;
}

.account-order-number {
    margin: 0;
    color: #A5FFEE !important;
    font-family: Consolas, "Courier New", monospace;
    overflow-wrap: anywhere;
}

.account-score {
    flex: 0 0 auto;
    min-width: 86px;
    padding: 10px 12px;
    background: rgba(38, 150, 255, 0.12);
    border: 1px solid rgba(38, 150, 255, 0.35);
    border-radius: 6px;
    color: #8bc8ff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.account-report-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
}

.account-report-details div {
    min-width: 0;
}

.account-report-details dt {
    margin-bottom: 5px;
    color: #8e9694;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.account-report-details dd {
    margin: 0;
    color: #ededed;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.account-report-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.account-report-actions .primary-button {
    width: 230px;
}

[hidden] {
    display: none !important;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media screen and (max-width: 800px) {

    .account-main {
        padding: 30px 0 55px;
    }

    .account-panel,
    .account-report-card {
        padding: 24px;
    }

    .account-report-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-report-actions .primary-button {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {

    .account-main {
        padding-inline: 10px;
    }

    .account-dashboard-header,
    .account-report-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .account-sign-in-options {
        flex-direction: column;
    }

    .account-sign-in {
        width: 100%;
    }

    .account-dashboard-header .secondary-button {
        width: 100%;
    }

    .account-report-details {
        grid-template-columns: 1fr;
    }

    .account-score {
        width: max-content;
    }
}
