/* ==========================================
   APEX FX - Public Pages Shared Styles
   ========================================== */
:root {
    --pub-bg: #0d1117;
    --pub-surface: #161b22;
    --pub-surface-2: #1c2128;
    --pub-border: rgba(255, 255, 255, 0.07);
    --pub-border-accent: rgba(16, 185, 129, 0.25);
    --pub-text: #e6edf3;
    --pub-text-muted: #9ba6b3;
    --pub-primary: #10b981;
    --pub-accent: #059669;
    --pub-glow: rgba(16, 185, 129, 0.12);
    --pub-radius: 18px;
    --pub-radius-sm: 12px;
    --pub-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --pub-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.2);
    --pub-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-mode {
    --pub-bg: #f6f8fa;
    --pub-surface: #ffffff;
    --pub-surface-2: #f0f3f6;
    --pub-border: rgba(0, 0, 0, 0.07);
    --pub-text: #1f2937;
    --pub-text-muted: #5b6573;
    --pub-glow: rgba(16, 185, 129, 0.08);
    --pub-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --pub-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05);
}


/* Page hero/section base */
.pub-page {
    min-height: calc(100vh - 70px);
    padding: 5rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.pub-page--gradient {
    background:
        radial-gradient(circle at 15% 10%, var(--pub-glow), transparent 40%),
        radial-gradient(circle at 85% 90%, var(--pub-glow), transparent 40%);
}

.pub-wrap {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pub-wrap--narrow {
    max-width: 640px;
}

/* Section heading */
.pub-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.pub-heading__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--pub-text);
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.pub-heading__title span {
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pub-heading__sub {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--pub-text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.pub-heading__line {
    width: 64px;
    height: 4px;
    margin: 1.2rem auto 0;
    background: linear-gradient(90deg, var(--pub-primary), var(--pub-accent));
    border-radius: 4px;
}

/* Glass card */
.pub-card {
    background: var(--pub-surface);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    padding: 2rem;
    box-shadow: var(--pub-shadow-sm);
    transition: transform var(--pub-transition), box-shadow var(--pub-transition), border-color var(--pub-transition);
}

.pub-card:hover {
    transform: translateY(-6px);
    border-color: var(--pub-border-accent);
    box-shadow: var(--pub-shadow);
}

.pub-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pub-glow);
    color: var(--pub-primary);
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.pub-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pub-text);
    margin-bottom: 0.8rem;
}

.pub-card__text {
    font-size: 0.98rem;
    color: var(--pub-text-muted);
    line-height: 1.8;
}

/* Grid */
.pub-grid {
    display: grid;
    gap: 1.5rem;
}

.pub-grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pub-grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Buttons */
.pub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--pub-transition);
}

.pub-btn--primary {
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-accent));
    color: #fff;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.pub-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.5);
}

.pub-btn--ghost {
    background: var(--pub-surface-2);
    color: var(--pub-text);
    border: 1px solid var(--pub-border);
}

.pub-btn--ghost:hover {
    border-color: var(--pub-primary);
    color: var(--pub-primary);
}


/* Forms */
.pub-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.3rem;
}

.pub-form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pub-text);
    margin-bottom: 0.6rem;
}

.pub-input,
.pub-select,
.pub-textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border-radius: var(--pub-radius-sm);
    border: 1px solid var(--pub-border);
    background: var(--pub-surface-2);
    color: var(--pub-text);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--pub-transition);
    outline: none;
}

.pub-input:focus,
.pub-select:focus,
.pub-textarea:focus {
    border-color: var(--pub-primary);
    box-shadow: 0 0 0 3px var(--pub-glow);
}

.pub-textarea {
    min-height: 140px;
    resize: vertical;
}

/* Detail list (order/payment summary) */
.pub-summary {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.pub-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px dashed var(--pub-border);
    font-size: 0.98rem;
}

.pub-summary__row:last-child {
    border-bottom: none;
}

.pub-summary__label {
    color: var(--pub-text-muted);
}

.pub-summary__value {
    color: var(--pub-text);
    font-weight: 600;
}

.pub-summary__value--accent {
    color: var(--pub-primary);
    font-weight: 700;
}

.pub-summary__row--total {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--pub-border-accent);
    border-bottom: none;
}

.pub-summary__row--total .pub-summary__value {
    font-size: 1.3rem;
    color: var(--pub-primary);
}

/* Checkbox + radio */
.pub-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0;
    cursor: pointer;
}

.pub-check input[type="checkbox"],
.pub-check input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--pub-primary);
    cursor: pointer;
}

.pub-check label {
    font-size: 0.95rem;
    color: var(--pub-text);
    cursor: pointer;
    margin: 0;
}

.pub-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: var(--pub-surface-2);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius-sm);
    padding: 0.5rem 1rem;
}

/* Alert messages */
.pub-alert {
    padding: 0.9rem 1.2rem;
    border-radius: var(--pub-radius-sm);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-align: center;
}

.pub-alert--error {
    background: rgba(220, 38, 38, 0.12);
    color: #f87171;
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.pub-note {
    font-size: 0.9rem;
    color: var(--pub-text-muted);
    text-align: center;
    margin-top: 1.2rem;
    line-height: 1.6;
}

/* Contact info list */
.pub-contact-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--pub-border);
}

.pub-contact-item:last-child {
    border-bottom: none;
}

.pub-contact-item__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--pub-glow);
    color: var(--pub-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.pub-contact-item__text {
    font-size: 0.95rem;
    color: var(--pub-text-muted);
}

.pub-contact-item__text a {
    color: var(--pub-primary);
    text-decoration: none;
    font-weight: 600;
}

.pub-contact-item__text a:hover {
    text-decoration: underline;
}

/* Accordion (rules) */
.pub-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.pub-accordion__item {
    background: var(--pub-surface);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius-sm);
    overflow: hidden;
    transition: border-color var(--pub-transition);
}

.pub-accordion__item.active {
    border-color: var(--pub-border-accent);
}

.pub-accordion__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--pub-text);
    transition: color var(--pub-transition);
}

.pub-accordion__head:hover {
    color: var(--pub-primary);
}

.pub-accordion__chevron {
    color: var(--pub-primary);
    transition: transform var(--pub-transition);
    flex-shrink: 0;
}

.pub-accordion__item.active .pub-accordion__chevron {
    transform: rotate(180deg);
}

.pub-accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--pub-transition), padding var(--pub-transition);
    padding: 0 1.4rem;
    color: var(--pub-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.pub-accordion__item.active .pub-accordion__body {
    max-height: 600px;
    padding: 0 1.4rem 1.3rem;
}

/* Blog cards */
.pub-blog-card {
    background: var(--pub-surface);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    overflow: hidden;
    transition: transform var(--pub-transition), box-shadow var(--pub-transition), border-color var(--pub-transition);
    display: flex;
    flex-direction: column;
}

.pub-blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--pub-border-accent);
    box-shadow: var(--pub-shadow);
}

.pub-blog-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pub-blog-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pub-blog-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pub-text);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.pub-blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--pub-transition);
}

.pub-blog-card__title a:hover {
    color: var(--pub-primary);
}

.pub-blog-card__date {
    font-size: 0.85rem;
    color: var(--pub-primary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pub-blog-card__excerpt {
    font-size: 0.92rem;
    color: var(--pub-text-muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    flex: 1;
}

.pub-blog-card__link {
    color: var(--pub-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    transition: gap var(--pub-transition);
}

.pub-blog-card__link:hover {
    gap: 0.7rem;
}

.pub-empty {
    text-align: center;
    color: var(--pub-text-muted);
    font-size: 1.05rem;
    padding: 3rem 1rem;
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .pub-page {
        padding: 4rem 1rem 3rem;
    }
    .pub-wrap--narrow {
        max-width: 100%;
    }
    .pub-heading {
        margin-bottom: 2rem;
    }
    .pub-grid {
        gap: 1.2rem;
    }
    .pub-card {
        padding: 1.5rem;
    }
    .pub-summary__row {
        font-size: 0.9rem;
    }
    .pub-summary__row--total .pub-summary__value {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .pub-page {
        padding: 3.5rem 0.9rem 2.5rem;
    }
    .pub-card {
        padding: 1.2rem;
        border-radius: 14px;
    }
    .pub-btn {
        width: 100%;
        padding: 0.8rem 1.4rem;
    }
    .pub-card__icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    .pub-card__title {
        font-size: 1.15rem;
    }
    .pub-contact-item {
        gap: 0.7rem;
    }
    .pub-contact-item__text {
        font-size: 0.88rem;
        word-break: break-word;
    }
    .pub-summary__row {
        flex-wrap: wrap;
        gap: 0.2rem;
    }
}


/* Blog detail / article content */
.pub-article {
    max-width: 820px;
    margin: 0 auto;
    background: var(--pub-surface);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    padding: 2.5rem;
    box-shadow: var(--pub-shadow-sm);
}

.pub-article__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--pub-primary);
    background: var(--pub-glow);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.pub-article__content {
    font-size: 1.05rem;
    color: var(--pub-text);
    line-height: 1.9;
}

.pub-article__content p {
    margin-bottom: 1.2rem;
}

.pub-article__content i { color: var(--pub-primary); font-style: italic; }
.pub-article__content b { font-weight: 700; }
.pub-article__content u { text-decoration: underline; }

.pub-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: var(--pub-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color var(--pub-transition), gap var(--pub-transition);
}

.pub-back-link:hover {
    color: var(--pub-primary);
    gap: 0.8rem;
}

@media (max-width: 768px) {
    .pub-article {
        padding: 1.5rem;
    }
}


/* ==========================================
   AUTH PAGES (login, register, reset)
   ========================================== */
.pub-auth {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 10%, var(--pub-glow), transparent 40%),
        radial-gradient(circle at 85% 90%, var(--pub-glow), transparent 40%);
}

.pub-auth__card {
    background: var(--pub-surface);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--pub-shadow);
    position: relative;
    z-index: 1;
    animation: pubAuthIn 0.5s ease-out;
}

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

.pub-auth__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-accent));
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.4);
}

.pub-auth__title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--pub-text);
    text-align: center;
    margin-bottom: 0.5rem;
}

.pub-auth__sub {
    font-size: 0.95rem;
    color: var(--pub-text-muted);
    text-align: center;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.pub-auth__form {
    display: flex;
    flex-direction: column;
}

.pub-auth__btn {
    width: 100%;
    margin-top: 0.4rem;
}

.pub-auth__links {
    margin-top: 1.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pub-auth__links p {
    font-size: 0.9rem;
    color: var(--pub-text-muted);
}

.pub-auth__links a {
    color: var(--pub-primary);
    text-decoration: none;
    font-weight: 600;
}

.pub-auth__links a:hover {
    text-decoration: underline;
}

.pub-auth__messages {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pub-auth__messages p {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
    border-radius: var(--pub-radius-sm);
    background: rgba(220, 38, 38, 0.12);
    color: #f87171;
    border: 1px solid rgba(220, 38, 38, 0.2);
    text-align: center;
}

/* two-column grid inside auth form (e.g. register) */
.pub-auth__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

@media (max-width: 480px) {
    .pub-auth__card { padding: 1.8rem 1.4rem; }
    .pub-auth__grid { grid-template-columns: 1fr; }
}


/* ==========================================
   SITE FOOTER (shared, professional)
   ========================================== */
footer.site-footer {
    background: #0a0d12;
    border-top: 1px solid rgba(16, 185, 129, 0.18);
    padding: 3.5rem 2rem 1.5rem;
    width: 100%;
    text-align: right;
    direction: rtl;
}

body.light-mode footer.site-footer {
    background: #eef1f4;
    border-top: 1px solid rgba(16, 185, 129, 0.25);
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.7fr 1fr 1.3fr;
    gap: 2.5rem;
}

.site-footer__brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.site-footer__brand-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.site-footer__brand-logo span {
    font-size: 1.4rem;
    font-weight: 800;
    color: #10b981;
}

.site-footer__desc {
    font-size: 0.9rem;
    color: #9ba6b3;
    line-height: 1.9;
    max-width: 320px;
    margin-bottom: 1.4rem;
}

body.light-mode .site-footer__desc {
    color: #5b6573;
}


.site-footer__social {
    display: flex;
    gap: 0.6rem;
}

.site-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.site-footer__social a:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.site-footer__col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pub-text);
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.site-footer__col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 34px;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 3px;
}

.site-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__col li {
    margin-bottom: 0.8rem;
}

.site-footer__col a {
    color: #9ba6b3;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

body.light-mode .site-footer__col a {
    color: #5b6573;
}

.site-footer__col a:hover {
    color: #10b981;
    transform: translateX(-4px);
}

.site-footer__col a i {
    font-size: 0.8rem;
    color: #10b981;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}


.site-footer__bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

body.light-mode .site-footer__bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.site-footer__copy {
    font-size: 0.85rem;
    color: #9ba6b3;
}

body.light-mode .site-footer__copy {
    color: #5b6573;
}

.site-footer__badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #9ba6b3;
}

.site-footer__badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.18);
    color: #10b981;
}

@media (max-width: 992px) {
    .site-footer__inner {
        grid-template-columns: 1.5fr 1fr 1.2fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    footer.site-footer {
        padding: 3rem 1.5rem 1.4rem;
    }
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 2.5rem;
    }
    .site-footer__brand {
        grid-column: 1 / -1;
    }
    .site-footer__desc {
        max-width: 520px;
    }
}

@media (max-width: 560px) {
    footer.site-footer {
        padding: 2.5rem 1.2rem 1.2rem;
    }
    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        text-align: center;
    }
    .site-footer__brand-logo {
        justify-content: center;
    }
    .site-footer__desc {
        max-width: 100%;
        margin-inline: auto;
    }
    .site-footer__social {
        justify-content: center;
    }
    .site-footer__col h4 {
        padding-bottom: 0.7rem;
    }
    .site-footer__col h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    .site-footer__col a {
        justify-content: center;
    }
    .site-footer__col a:hover {
        transform: none;
    }
    .site-footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-top: 2rem;
    }
    .site-footer__badges {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 360px) {
    .site-footer__social a {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .site-footer__badges {
        flex-direction: column;
        width: 100%;
    }
    .site-footer__badges span {
        justify-content: center;
    }
}


/* ==========================================
   STATUS / RESULT PAGE (success, error)
   ========================================== */
.status-wrap {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.2rem 4rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, var(--pub-glow), transparent 55%);
}

.status-card {
    background: var(--pub-surface);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    padding: 2.8rem 2.2rem;
    max-width: 540px;
    width: 100%;
    text-align: center;
    box-shadow: var(--pub-shadow);
    position: relative;
    z-index: 1;
    animation: statusIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes statusIn {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.status-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    position: relative;
}

.status-icon::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    opacity: 0.25;
    animation: statusPulse 2s ease-out infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.9); opacity: 0.35; }
    70% { transform: scale(1.25); opacity: 0; }
    100% { opacity: 0; }
}

.status-icon--success {
    background: rgba(16, 185, 129, 0.14);
    color: #10b981;
}
.status-icon--success::before { background: rgba(16, 185, 129, 0.5); }

.status-icon--error {
    background: rgba(239, 68, 68, 0.14);
    color: #ef4444;
}
.status-icon--error::before { background: rgba(239, 68, 68, 0.45); }

.status-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--pub-text);
    margin-bottom: 0.7rem;
}

.status-text {
    font-size: 1rem;
    color: var(--pub-text-muted);
    line-height: 1.8;
    margin-bottom: 1.6rem;
}

.status-text strong, .status-text span {
    color: #10b981;
    font-weight: 700;
}

.status-summary {
    text-align: right;
    background: var(--pub-surface-2);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius-sm);
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.6rem;
}

.status-summary__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pub-text);
    margin-bottom: 0.8rem;
}

.status-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--pub-border);
    font-size: 0.92rem;
}
.status-summary__row:last-child { border-bottom: none; }
.status-summary__row span:first-child { color: var(--pub-text-muted); }
.status-summary__row span:last-child { color: var(--pub-text); font-weight: 600; }

.status-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.status-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--pub-transition);
}

.status-btn--primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}
.status-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(16, 185, 129, 0.5); }

.status-btn--ghost {
    background: var(--pub-surface-2);
    color: var(--pub-text);
    border: 1px solid var(--pub-border);
}
.status-btn--ghost:hover { border-color: #10b981; color: #10b981; }

@media (max-width: 480px) {
    .status-card { padding: 2rem 1.3rem; }
    .status-icon { width: 72px; height: 72px; font-size: 2rem; }
    .status-title { font-size: 1.35rem; }
    .status-btn { width: 100%; }
}
