/* Auth screens + My Account (WEBINANE chrome, no Tailwind dependency). */

.auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top right, rgba(36, 86, 232, 0.08), transparent 32%),
        linear-gradient(180deg, #fbfaf7 0%, #f3efe6 100%);
    color: #102b40;
}

.auth-shell--site {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2.25rem 1.25rem 4.5rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(36, 86, 232, 0.07), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(237, 104, 78, 0.08), transparent 24%),
        #f8f7f3;
}

.auth-stage {
    display: grid;
    grid-template-columns: minmax(0, 28rem) minmax(16rem, 22rem);
    gap: 1.5rem;
    align-items: stretch;
    width: min(100%, 52rem);
}

.auth-card {
    width: 100%;
    padding: 2rem 1.75rem 1.85rem;
    border: 1px solid #e5e2da;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 24px 60px rgb(16 43 64 / 8%);
}

.auth-aside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem;
    border: 1px solid #e5e2da;
    border-radius: 1.15rem;
    background:
        linear-gradient(160deg, #102b40 0%, #18364a 55%, #2456e8 140%);
    color: #fff;
    box-shadow: 0 24px 60px rgb(16 43 64 / 10%);
}

.auth-aside__eyebrow {
    margin: 0 0 0.45rem;
    color: #f3a847;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-aside h2 {
    margin: 0 0 0.65rem;
    font-size: 1.45rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.auth-aside p {
    margin: 0;
    color: rgb(255 255 255 / 78%);
    font-size: 0.92rem;
    line-height: 1.55;
}

.auth-aside__list {
    display: grid;
    gap: 0.75rem;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.auth-aside__list li {
    display: grid;
    grid-template-columns: 1.35rem 1fr;
    gap: 0.65rem;
    align-items: start;
    color: rgb(255 255 255 / 88%);
    font-size: 0.88rem;
    line-height: 1.4;
}

.auth-aside__list li::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: #f3a847;
    box-shadow: 0 0 0 0.28rem rgb(243 168 71 / 18%);
}

.auth-aside__foot {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgb(255 255 255 / 14%);
    color: rgb(255 255 255 / 70%);
    font-size: 0.82rem;
}

@media (max-width: 860px) {
    .auth-stage {
        grid-template-columns: 1fr;
        width: min(100%, 28rem);
    }
}

.auth-card__eyebrow {
    margin: 0 0 0.35rem;
    color: #ed684e;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-card h1 {
    margin: 0 0 0.55rem;
    font-size: 1.65rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.auth-card__lead {
    margin: 0 0 1.35rem;
    color: #667783;
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-field {
    margin-bottom: 1rem;
}

.auth-field label {
    display: block;
    margin-bottom: 0.35rem;
    color: #102b40;
    font-size: 0.82rem;
    font-weight: 650;
}

.auth-field input {
    width: 100%;
    min-height: 2.85rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid #e5e2da;
    border-radius: 0.75rem;
    background: #fbfaf7;
    color: #102b40;
    font: inherit;
    font-size: 0.95rem;
}

.auth-field input:focus {
    outline: 2px solid rgba(36, 86, 232, 0.28);
    border-color: #2456e8;
    background: #fff;
}

.auth-field__error {
    margin: 0.35rem 0 0;
    color: #c63e3e;
    font-size: 0.78rem;
}

.auth-field__hint {
    margin: 0.35rem 0 0;
    color: #667783;
    font-size: 0.78rem;
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.35rem 0 1rem;
    color: #667783;
    font-size: 0.88rem;
}

.auth-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0 1.15rem;
    border: 0;
    border-radius: 0.8rem;
    background: #2456e8;
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.auth-btn:hover {
    background: #1643c9;
}

.auth-btn--wide {
    width: 100%;
}

.auth-btn--ghost {
    background: #fff;
    border: 1px solid #e5e2da;
    color: #102b40;
}

.auth-btn--ghost:hover {
    border-color: #102b40;
    background: #f3efe6;
}

.auth-link {
    color: #2456e8;
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-status {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.7rem;
    background: #eaf3ef;
    color: #27584d;
    font-size: 0.88rem;
}

.auth-status--error {
    background: #fdecec;
    color: #8f2d2d;
}

.auth-code-input {
    letter-spacing: 0.35em;
    text-align: center;
    font-size: 1.35rem !important;
    font-weight: 700;
}

.auth-footer-note {
    margin: 1.25rem 0 0;
    color: #667783;
    font-size: 0.88rem;
    text-align: center;
}

/* My Account */
.account-shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 3.5rem;
}

.account-layout {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 1.5rem;
}

.account-nav {
    display: grid;
    gap: 0.35rem;
    align-content: start;
    padding: 0.85rem;
    border: 1px solid #e5e2da;
    border-radius: 1rem;
    background: #fff;
}

.account-nav a {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 0.7rem;
    color: #667783;
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.account-nav a:hover {
    background: #f3efe6;
    color: #102b40;
}

.account-nav a.is-active {
    background: rgba(36, 86, 232, 0.08);
    color: #1643c9;
}

.account-panel {
    padding: 1.35rem;
    border: 1px solid #e5e2da;
    border-radius: 1rem;
    background: #fff;
}

.account-panel + .account-panel {
    margin-top: 1rem;
}

.account-panel h2 {
    margin: 0 0 0.85rem;
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.account-stat {
    display: block;
    padding: 1.15rem 1.2rem;
    border: 1px solid #e5e2da;
    border-radius: 0.95rem;
    background: #fbfaf7;
    text-decoration: none;
    color: inherit;
}

.account-stat:hover {
    border-color: #2456e8;
}

.account-stat small {
    display: block;
    color: #667783;
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.account-stat strong {
    display: block;
    margin-top: 0.45rem;
    color: #102b40;
    font-size: 2rem;
    font-weight: 750;
    letter-spacing: -0.04em;
}

.account-lead {
    margin: 1.15rem 0 0;
    color: #667783;
    font-size: 0.95rem;
    line-height: 1.55;
}

.account-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.account-table th,
.account-table td {
    padding: 0.85rem 0.65rem;
    border-bottom: 1px solid #e5e2da;
    text-align: left;
    vertical-align: top;
}

.account-table th {
    color: #667783;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.account-table a {
    color: #2456e8;
    font-weight: 650;
    text-decoration: none;
}

.account-table a:hover {
    text-decoration: underline;
}

.account-empty {
    margin: 0;
    color: #667783;
    font-size: 0.95rem;
}

.account-meta {
    margin: 0 0 1rem;
    color: #667783;
    font-size: 0.9rem;
}

.account-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f0eee8;
    font-size: 0.92rem;
}

.account-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e5e2da;
    font-size: 1.05rem;
    font-weight: 750;
}

.account-form {
    display: grid;
    gap: 1rem;
    max-width: 28rem;
}

.account-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 650;
}

.account-form input {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid #e5e2da;
    border-radius: 0.7rem;
    background: #fbfaf7;
    font: inherit;
}

.account-form input:focus {
    outline: 2px solid rgba(36, 86, 232, 0.28);
    border-color: #2456e8;
    background: #fff;
}

.account-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: #f3efe6;
    color: #102b40;
    font-size: 0.72rem;
    font-weight: 700;
}

.account-badge--paid {
    background: #eaf3ef;
    color: #27584d;
}

.webinane-header__account {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.webinane-header__account-link {
    color: #102b40;
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
}

.webinane-header__account-link:hover {
    color: #2456e8;
}

.webinane-header__logout {
    border: 0;
    background: transparent;
    color: #667783;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 650;
    cursor: pointer;
}

.webinane-header__logout:hover {
    color: #102b40;
}

.account-nav__logout {
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid #e5e2da;
}

.account-nav__logout button {
    display: block;
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 0;
    border-radius: 0.7rem;
    background: transparent;
    color: #667783;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}

.account-nav__logout button:hover {
    background: #f3efe6;
    color: #102b40;
}

/* Full-bleed page intro + settings banner */
.page-intro {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    box-sizing: border-box;
}

.page-intro > .container-wide,
.page-intro > .container {
    width: min(100% - 2rem, var(--container-wide, 1120px));
    margin-inline: auto;
}

.page-intro--has-image {
    background-color: #102b40;
    background-image:
        linear-gradient(105deg, rgb(10 18 32 / 78%) 0%, rgb(16 43 64 / 52%) 55%, rgb(16 43 64 / 35%) 100%),
        var(--page-intro-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.page-intro--has-image::before,
.page-intro--has-image::after {
    display: none;
}

.page-intro--has-image h1,
.page-intro--has-image .breadcrumbs span {
    color: #fff;
}

.page-intro--has-image .breadcrumbs a {
    color: rgb(255 255 255 / 78%);
}

.page-intro--has-image p {
    color: rgb(255 255 255 / 82%);
}

.page-intro--has-image .page-intro__row {
    border-bottom-color: rgb(255 255 255 / 24%);
}

.page-intro--has-image .page-intro__row::before {
    border-top-color: #fff;
}

@media (max-width: 860px) {
    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-stats {
        grid-template-columns: 1fr;
    }

    .account-table {
        display: block;
        overflow-x: auto;
    }
}

.project-inquiry {
    padding: 2rem 0 5rem;
}

.project-inquiry__inner {
    width: min(100% - clamp(2rem, 3.5vw, 4rem), var(--container-wide, 86.25rem));
    margin-inline: auto;
}

.project-inquiry__intro {
    max-width: 42rem;
    margin-bottom: 2rem;
}

.project-inquiry__form {
    max-width: 36rem;
}

.project-inquiry__form.is-loading .auth-btn {
    opacity: 0.7;
    pointer-events: none;
}

.project-inquiry__status {
    margin: 1rem 0 0;
    font-size: 0.92rem;
    line-height: 1.45;
}

.project-inquiry__status.is-success {
    color: #1f7a4d;
}

.project-inquiry__status.is-error {
    color: #c63e3e;
}

.project-inquiry__form .auth-field select,
.project-inquiry__form .auth-field textarea {
    width: 100%;
    min-height: 2.85rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid #e5e2da;
    border-radius: 0.75rem;
    background: #fbfaf7;
    color: #102b40;
    font: inherit;
    font-size: 0.95rem;
}

.project-inquiry__form .auth-field textarea {
    min-height: 8rem;
    resize: vertical;
}

.project-inquiry__form .auth-field select:focus,
.project-inquiry__form .auth-field textarea:focus {
    outline: 2px solid rgba(36, 86, 232, 0.28);
    border-color: #2456e8;
    background: #fff;
}
