/* ─── Guest Page ─── */
html:has(body.guest-page) {
    height: 100%;
    overflow-x: clip;
    max-width: 100%;
}

.guest-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--pace-text);
    background: var(--pace-soft);
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body.guest-page > nav.landing-navbar,
body.guest-page > nav.pace-navbar {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}

body.guest-page > main,
body.guest-page > .guest-widget-page {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

body.guest-page > footer.landing-footer.pace-footer {
    flex-shrink: 0;
}

.guest-tools-main {
    --g-accent: var(--pace-primary, #118ab2);
    --g-accent-2: var(--pace-success, #06d6a0);
    --g-surface: rgba(255, 255, 255, 0.72);
    --g-surface-border: rgba(226, 232, 240, 0.7);
    position: relative;
    padding-top: var(--pace-navbar-height, 56px);
    min-height: 100%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ─── Animated background orbs ─── */
.guest-bg-decoration {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.guest-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    will-change: transform;
}

.guest-bg-orb--1 {
    width: 500px;
    height: 500px;
    background: var(--g-accent);
    top: -8%;
    right: -6%;
    animation: guest-float-1 18s ease-in-out infinite;
}

.guest-bg-orb--2 {
    width: 400px;
    height: 400px;
    background: var(--g-accent-2);
    bottom: 5%;
    left: -5%;
    animation: guest-float-2 22s ease-in-out infinite;
}

.guest-bg-orb--3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--g-accent), var(--g-accent-2));
    top: 40%;
    left: 50%;
    animation: guest-float-3 15s ease-in-out infinite;
}

@keyframes guest-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.05); }
    66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes guest-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.08); }
    66% { transform: translate(-20px, 15px) scale(0.92); }
}

@keyframes guest-float-3 {
    0%, 100% { transform: translate(-50%, 0) scale(1); }
    50% { transform: translate(-50%, -30px) scale(1.1); }
}

/* ─── Hero section ─── */
.guest-hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 1.5rem 2rem;
}

.guest-hero-inner {
    max-width: 42rem;
    margin: 0 auto;
}

.guest-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--g-accent);
    background: color-mix(in srgb, var(--g-accent) 8%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--g-accent) 20%, transparent);
    border-radius: 100px;
    margin-bottom: 1.25rem;
    animation: guest-fade-up 0.6s ease-out both;
}

.guest-hero-badge i {
    font-size: 0.7rem;
}

.guest-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--pace-text);
    margin: 0 0 1rem;
    animation: guest-fade-up 0.6s 0.1s ease-out both;
}

.guest-hero-gradient-text {
    background: linear-gradient(135deg, var(--g-accent), var(--g-accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guest-hero-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--pace-text-muted);
    margin: 0 auto;
    max-width: 34rem;
    animation: guest-fade-up 0.6s 0.2s ease-out both;
}

.guest-hero-auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.15rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--pace-text);
    background: var(--g-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--g-surface-border);
    border-radius: 14px;
    animation: guest-fade-up 0.6s 0.3s ease-out both;
}

.guest-hero-auth-badge i {
    color: var(--g-accent-2);
    font-size: 1rem;
    flex-shrink: 0;
}

.guest-hero-auth-badge a {
    color: var(--g-accent);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.guest-hero-auth-badge a:hover {
    text-decoration: underline;
}

/* ─── Content area ─── */
.guest-content {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
}

/* ─── Hub: içindekiler ve bölümler ─── */
.guest-hub-jump {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    animation: guest-fade-up 0.5s 0.08s ease-out both;
}

.guest-hub-jump-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none !important;
    color: var(--pace-text-muted);
    background: var(--g-surface);
    border: 1px solid var(--g-surface-border);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.guest-hub-jump-link:hover {
    color: var(--g-accent);
    border-color: color-mix(in srgb, var(--g-accent) 35%, var(--g-surface-border));
}

.guest-section {
    scroll-margin-top: calc(var(--pace-navbar-height, 56px) + 12px);
    margin-bottom: 2.5rem;
}

.guest-section-head {
    margin-bottom: 1.25rem;
}

.guest-section-head--inline {
    margin-bottom: 1rem;
}

.guest-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pace-text);
    margin: 0 0 0.35rem;
    line-height: 1.25;
}

.guest-section-lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--pace-text-muted);
    max-width: 40rem;
}

.guest-section-lead--tight {
    max-width: none;
}

.guest-section--news .guest-news-banner {
    background: var(--g-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--g-surface-border);
    margin-bottom: 0;
}

.guest-card-category {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--g-accent);
    margin-bottom: 0.35rem;
}

/* Haberler: özelge/kanun ile aynı guest-widget-content (1400px) genişliğini kullanır */
.guest-news-page-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.guest-news-page-inner .pace-dashboard {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    min-width: 0;
}

/* Bootstrap .row negatif margin taşmasını misafir haberlerde kes */
.guest-news-page-inner .pace-news-toolbar {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: clip;
}

.guest-news-page-inner .pace-news-toolbar .row {
    margin-left: 0;
    margin-right: 0;
}

/* ─── Bento grid ─── */
.guest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

/* ─── Card ─── */
.guest-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: var(--g-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--g-surface-border);
    border-radius: 20px;
    text-decoration: none !important;
    color: inherit;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    animation: guest-fade-up 0.5s ease-out both;
}

.guest-card:nth-child(1) { animation-delay: 0.15s; }
.guest-card:nth-child(2) { animation-delay: 0.25s; }
.guest-card:nth-child(3) { animation-delay: 0.35s; }
.guest-card:nth-child(4) { animation-delay: 0.45s; }
.guest-card:nth-child(5) { animation-delay: 0.55s; }
.guest-card:nth-child(6) { animation-delay: 0.65s; }

.guest-card:hover {
    color: inherit;
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--g-accent) 35%, var(--g-surface-border));
    box-shadow: 0 20px 60px -12px color-mix(in srgb, var(--g-accent) 14%, rgba(15, 23, 42, 0.08));
}

/* Shine effect on hover */
.guest-card-shine {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.guest-card:hover .guest-card-shine {
    opacity: 1;
}

/* "Yakında" — landing modül kartlarıyla aynı görünüm */
.guest-card-badge-soon {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #f4a62a;
    background: rgba(244, 166, 42, 0.18);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    line-height: 1.4;
    pointer-events: none;
}

.guest-card--ozelge .guest-card-shine {
    background: linear-gradient(135deg, rgba(17, 138, 178, 0.05) 0%, transparent 60%);
}

.guest-card--kanunlar .guest-card-shine {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.05) 0%, transparent 60%);
}

.guest-card--defter .guest-card-shine {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.05) 0%, transparent 60%);
}

.guest-card--fatura .guest-card-shine {
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.05) 0%, transparent 60%);
}

.guest-card--news .guest-card-shine {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
}

/* Card icon */
.guest-card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.guest-card:hover .guest-card-icon-wrap {
    transform: scale(1.08);
}

.guest-card--ozelge .guest-card-icon-wrap {
    color: var(--g-accent);
    background: color-mix(in srgb, var(--g-accent) 12%, #ffffff);
}

.guest-card--kanunlar .guest-card-icon-wrap {
    color: #6f42c1;
    background: rgba(111, 66, 193, 0.1);
}

.guest-card--defter .guest-card-icon-wrap {
    color: var(--g-accent-2);
    background: color-mix(in srgb, var(--g-accent-2) 12%, #ffffff);
}

.guest-card--fatura .guest-card-icon-wrap {
    color: #fd7e14;
    background: rgba(253, 126, 20, 0.1);
}

.guest-card--news .guest-card-icon-wrap {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

/* Card body */
.guest-card-body {
    flex: 1;
    min-width: 0;
}

.guest-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pace-text);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.guest-card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--pace-text-muted);
    margin: 0 0 0.85rem;
}

/* Tags */
.guest-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.guest-card-tags li {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    background: var(--pace-soft, #f8fafc);
    color: var(--pace-text-muted);
    border: 1px solid var(--pace-line, #e2e8f0);
}

/* Arrow */
.guest-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--pace-soft, #f8fafc);
    color: var(--pace-text-muted);
    font-size: 0.85rem;
    margin-top: 1.25rem;
    align-self: flex-end;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.guest-card:hover .guest-card-arrow {
    background: var(--g-accent);
    color: #fff;
    transform: translateX(3px);
}

/* ─── CTA section ─── */
.guest-cta {
    margin-top: 2rem;
    scroll-margin-top: calc(var(--pace-navbar-height, 56px) + 12px);
    animation: guest-fade-up 0.5s 0.55s ease-out both;
}

.guest-cta-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--g-accent) 6%, #ffffff) 0%,
        color-mix(in srgb, var(--g-accent-2) 4%, #ffffff) 100%);
    border: 1px solid var(--g-surface-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.guest-cta-card:hover {
    border-color: color-mix(in srgb, var(--g-accent) 30%, var(--g-surface-border));
    box-shadow: 0 16px 48px -8px color-mix(in srgb, var(--g-accent) 10%, rgba(15, 23, 42, 0.06));
}

.guest-cta-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1 1 16rem;
    min-width: 0;
}

.guest-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
    color: #fff;
    background: linear-gradient(135deg, var(--g-accent), var(--g-accent-2));
}

.guest-cta-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pace-text);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.guest-cta-desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--pace-text-muted);
    max-width: 36rem;
}

.guest-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex-shrink: 0;
    padding: 0.78rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--g-accent), color-mix(in srgb, var(--g-accent) 70%, var(--g-accent-2)));
    border: none;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--g-accent) 30%, transparent);
}

.guest-cta-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--g-accent) 38%, transparent);
    filter: brightness(1.06);
}

.guest-cta-btn:active {
    transform: translateY(0);
}

.guest-cta-btn i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.guest-cta-btn:hover i {
    transform: translateX(3px);
}

/* ─── Entrance animation ─── */
@keyframes guest-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes guest-fade-in {
    from { opacity: 0; transform: scale(0.98); }
    to   { opacity: 1; transform: scale(1); }
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
    .guest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .guest-hero {
        padding: 3rem 1.25rem 1.5rem;
    }

    .guest-content {
        padding: 0 max(1rem, env(safe-area-inset-right)) 2.5rem max(1rem, env(safe-area-inset-left));
    }

    .guest-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .guest-card {
        padding: 1.5rem 1.25rem;
    }

    .guest-cta-card {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 1.25rem;
    }

    .guest-cta-btn {
        width: 100%;
    }

    .guest-bg-orb--1 { width: 300px; height: 300px; }
    .guest-bg-orb--2 { width: 250px; height: 250px; }
    .guest-bg-orb--3 { width: 200px; height: 200px; }
}

@media (max-width: 479px) {
    .guest-hero-title {
        font-size: 1.75rem;
    }

    .guest-hero-lead {
        font-size: 1rem;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .guest-bg-orb,
    .guest-card,
    .guest-hero-badge,
    .guest-hero-title,
    .guest-hero-lead,
    .guest-hero-auth-badge,
    .guest-cta,
    .guest-widget-header {
        animation: none !important;
    }

    .guest-card,
    .guest-card-icon-wrap,
    .guest-card-arrow,
    .guest-cta-btn,
    .guest-widget-icon {
        transition: none !important;
    }
}

/* ─── Guest alerts (widget pages) ─── */
.guest-alert {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: var(--pace-radius-lg);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.guest-alert-info {
    background: linear-gradient(135deg, var(--pace-primary-light), rgba(17, 138, 178, 0.06));
    border: 1px solid rgba(17, 138, 178, 0.2);
    color: var(--pace-text);
}

.guest-alert-info a {
    color: var(--pace-primary);
    font-weight: 500;
}

.guest-alert-secondary {
    background: var(--pace-soft);
    border: 1px solid var(--pace-line);
    color: var(--pace-text-muted);
}

.guest-alert-secondary a {
    color: var(--pace-primary);
    font-weight: 500;
}

/* ─── Widget page shell ─── */
.guest-widget-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-top: calc(var(--pace-navbar-height, 56px) + 1rem);
    background: var(--pace-soft);
}

.guest-widget-content {
    box-sizing: border-box;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem 3rem;
}

@media (max-width: 767px) {
    .guest-widget-content {
        padding: 1rem max(1rem, env(safe-area-inset-right)) 2rem max(1rem, env(safe-area-inset-left));
    }
}

/* ─── Widget header ─── */
.guest-widget-header {
    margin-bottom: 1.5rem;
    animation: guest-fade-in 0.45s ease-out both;
}

/* Back button */
.guest-widget-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--pace-text-muted, #64748b);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--pace-line, #e2e8f0);
    border-radius: 10px;
    margin-bottom: 1.25rem;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.guest-widget-back-btn i {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

.guest-widget-back-btn:hover {
    color: var(--pace-primary, #118ab2);
    border-color: color-mix(in srgb, var(--pace-primary, #118ab2) 25%, var(--pace-line, #e2e8f0));
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(-2px);
}

.guest-widget-back-btn:hover i {
    transform: translateX(-2px);
}

/* Title row */
.guest-widget-title-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.65rem;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 18px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.guest-widget-title-actions {
    margin-left: auto;
    flex-shrink: 0;
    align-self: center;
}

.guest-widget-info-btn.header-info-button {
    margin: 0;
}

.guest-widget-title-row:hover {
    border-color: rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

/* Widget icon */
.guest-widget-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.guest-widget-title-row:hover .guest-widget-icon {
    transform: scale(1.08);
}

.guest-widget-icon--blue {
    color: var(--pace-primary, #118ab2);
    background: color-mix(in srgb, var(--pace-primary, #118ab2) 12%, #ffffff);
}

.guest-widget-icon--purple {
    color: #6f42c1;
    background: rgba(111, 66, 193, 0.1);
}

.guest-widget-icon--green {
    color: var(--pace-success, #06d6a0);
    background: color-mix(in srgb, var(--pace-success, #06d6a0) 12%, #ffffff);
}

.guest-widget-icon--orange {
    color: #fd7e14;
    background: rgba(253, 126, 20, 0.1);
}

/* Title content */
.guest-widget-title-content {
    flex: 1;
    min-width: 0;
}

.guest-widget-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pace-text, #1e293b);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

/* Badges */
.guest-widget-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.guest-widget-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--pace-text-muted, #64748b);
    background: var(--pace-soft, #f8fafc);
    border: 1px solid var(--pace-line, #e2e8f0);
    border-radius: 100px;
}

.guest-widget-badge i {
    font-size: 0.72rem;
    opacity: 0.75;
}

/* "Yakında" badge variant */
.guest-widget-badge--soon {
    color: #f4a62a;
    background: rgba(244, 166, 42, 0.08);
    border-color: rgba(244, 166, 42, 0.2);
}

/* ─── Coming soon placeholder ─── */
.guest-widget-coming-soon {
    text-align: center;
    padding: 3.5rem 2rem;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 20px;
    animation: guest-fade-up 0.5s 0.1s ease-out both;
}

.guest-widget-coming-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    color: var(--pace-primary, #118ab2);
    background: color-mix(in srgb, var(--pace-primary, #118ab2) 10%, #ffffff);
}

.guest-widget-coming-soon h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pace-text, #1e293b);
    margin: 0 0 0.6rem;
    letter-spacing: -0.02em;
}

.guest-widget-coming-soon p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--pace-text-muted, #64748b);
    margin: 0;
}

.guest-widget-coming-soon a {
    color: var(--pace-primary, #118ab2);
    font-weight: 600;
    text-decoration: none;
}

.guest-widget-coming-soon a:hover {
    text-decoration: underline;
}

/* ─── Legacy back link (other widget pages) ─── */
.guest-widget-back {
    color: var(--pace-text-muted);
    transition: color 0.2s;
}

.guest-widget-back:hover {
    color: var(--pace-primary);
}

/* ─── Responsive widget header ─── */
@media (max-width: 575px) {
    .guest-widget-title-row {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        align-items: start;
        gap: 0.75rem 1rem;
        padding: 1.25rem 1.15rem;
    }

    .guest-widget-title-row .guest-widget-icon {
        grid-column: 1;
        grid-row: 1;
    }

    .guest-widget-title-row .guest-widget-title-actions {
        grid-column: 3;
        grid-row: 1;
        margin-left: 0;
        justify-self: end;
    }

    .guest-widget-title-row .guest-widget-title-content {
        grid-column: 1 / -1;
        grid-row: 2;
        min-width: 0;
    }

    .guest-widget-title {
        font-size: 1.2rem;
    }

    .guest-widget-badges {
        gap: 0.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .guest-widget-header {
        animation: none !important;
    }

    .guest-widget-back-btn {
        transition: none !important;
    }
}

.guest-page .landing-footer.pace-footer {
    margin-top: 2rem;
}
