/* static/css/style.css */
:root {
    --primary-color: #41ACB1;
    --primary-dark: #2f8e93;
    --primary-deep: #1f5f63;
    --secondary-color: #2f8e93;
    --cta-color: #0f3d40;
    --cta-hover: #0a2c2e;
    --success-color: #1aa37a;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --ink: #0f3d40;
    --muted: #3f5a5c;
    --surface: #f6fbfb;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background: #fff;
}

main {
    flex: 1;
}

.page-home main + .site-footer,
.page-home .site-footer {
    margin-top: 0 !important;
}

/* Navigation */
.site-navbar {
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(20, 55, 58, 0.08);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.site-navbar .navbar-brand {
    color: #062224 !important;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.25rem;
}

.site-navbar .navbar-brand i {
    color: #41ACB1 !important;
}

.site-navbar .navbar-logo {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    vertical-align: middle;
}

.site-navbar .navbar-nav {
    gap: 0.2rem;
}

.site-navbar .nav-link {
    color: #062224 !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding: 0.45rem 0.9rem !important;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-navbar .nav-link i {
    color: inherit !important;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    background: rgba(65, 172, 177, 0.14);
    color: #062224 !important;
}

.site-navbar .navbar-toggler {
    border-color: #062224;
}

.site-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23062224' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-navbar .btn-cta,
.site-navbar .nav-link.btn-cta {
    color: #fff !important;
    background: #0f3d40;
    border: 0;
    border-radius: 999px;
    padding: 0.5rem 1.15rem !important;
    box-shadow: 0 6px 14px rgba(15, 61, 64, 0.2);
}

.site-navbar .btn-cta:hover,
.site-navbar .nav-link.btn-cta:hover {
    color: #fff !important;
    background: #0a2c2e;
}

/* Footer — dark navy so Help / Terms / Privacy are clearly visible */
.site-footer {
    background: #0f3d40 !important;
    color: #ffffff !important;
}

.site-footer .footer-brand {
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.site-footer .footer-logo {
    display: block;
    height: 58px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.site-footer .footer-heading {
    color: #ffffff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    margin-bottom: 0.9rem;
}

.site-footer .footer-text,
.site-footer .footer-copy {
    color: #d7ecee !important;
    font-weight: 500;
}

.site-footer .footer-location {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #d7ecee;
    font-size: 0.9rem;
    line-height: 1.55;
}

.site-footer .footer-location i {
    color: #7ad4d8;
    margin-top: 0.25rem;
}

.site-footer .footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-footer .footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-social-link:hover {
    color: #ffffff !important;
    background: rgba(65, 172, 177, 0.28);
    border-color: rgba(185, 240, 243, 0.55);
    transform: translateY(-1px);
}

.site-footer .footer-links li {
    margin-bottom: 0.45rem;
}

.site-footer a,
.site-footer .footer-links a,
.site-footer .footer-copy a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
}

.site-footer a:hover,
.site-footer .footer-links a:hover,
.site-footer .footer-copy a:hover {
    color: #7ad4d8 !important;
    text-decoration: underline;
}

.site-footer .footer-divider {
    border-color: rgba(255, 255, 255, 0.18);
    opacity: 1;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #41ACB1 0%, #2f8e93 50%, #1f5f63 100%);
    color: white;
    padding: 100px 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Pricing Cards — 15% smaller than original */
.pricing-billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: fit-content;
    margin: 0 auto 1.75rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(20, 55, 58, 0.06);
    border: 1px solid rgba(20, 55, 58, 0.08);
}

.home-hero .pricing-billing-toggle {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

.pricing-toggle-btn {
    border: 0;
    background: transparent;
    color: #365a5c;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    cursor: pointer;
}

.home-hero .pricing-toggle-btn {
    color: rgba(255, 255, 255, 0.86);
}

.pricing-toggle-btn.is-active {
    background: #41ACB1;
    color: #fff;
    box-shadow: 0 8px 18px rgba(65, 172, 177, 0.28);
}

.pricing-savings {
    color: var(--success-color);
    font-size: 0.86rem;
    font-weight: 700;
}

.home-hero .pricing-card .pricing-savings {
    color: var(--success-color) !important;
}

.pricing-cards-row {
    max-width: 1120px;
    margin-inline: auto;
}

.pricing-no-fees {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: fit-content;
    max-width: 100%;
    margin: 1.75rem auto 0;
    padding: 0.6rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 163, 122, 0.35);
    background: #fff;
    box-shadow: 0 10px 26px rgba(20, 55, 58, 0.1);
    color: #14373a;
    font-size: 0.95rem;
    text-align: center;
}

.pricing-no-fees strong {
    color: #12885f;
    font-weight: 750;
}

.pricing-no-fees-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1aa37a, #12c98d);
    color: #fff;
    font-size: 0.82rem;
}

.home-hero .pricing-no-fees {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    backdrop-filter: blur(10px);
}

.home-hero .pricing-no-fees strong {
    color: #b6f5da;
}

.pricing-card {
    position: relative;
    border: none;
    border-radius: 1.1rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 18px 40px rgba(20, 55, 58, 0.12);
    overflow: visible;
    font-size: 0.9rem;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 55px rgba(20, 55, 58, 0.18);
}

.pricing-card .card-header {
    background: transparent;
    border-bottom: none;
    padding: 1.9rem 1.25rem 0;
}

.pricing-card.featured .card-header {
    padding-top: 2.35rem;
}

.pricing-card .card-body {
    padding: 1.15rem 1.25rem 1.25rem;
}

.pricing-card h3 {
    font-size: 1.35rem;
}

.pricing-card .price {
    font-size: 2.55rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

.pricing-card .price .price-currency {
    font-size: 1.35rem;
    font-weight: 700;
    vertical-align: super;
    margin-inline-end: 0.08em;
}

.pricing-card .price .js-plan-price {
    font-size: 2.55rem;
    font-weight: 800;
    color: inherit;
}

.pricing-card .price .price-period,
.pricing-card .price .js-plan-period {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 400;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: none;
}

.pricing-card.featured:hover {
    transform: translateY(-8px);
}

.pricing-card .best-value-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    white-space: nowrap;
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
    background: #41ACB1 !important;
    color: #fff !important;
}

.pricing-card .feature-list {
    list-style: none;
    padding: 0;
}

.pricing-card .feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eef6f6;
}

.pricing-card .feature-list li:last-child {
    border-bottom: none;
}

.pricing-card .feature-list i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Feature Cards */
.feature-card {
    border: none;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #0f3d40 !important;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(65, 172, 177, 0.35);
}

.btn-cta {
    background: #0f3d40;
    border-color: #0f3d40;
    color: #fff !important;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-cta:hover,
.btn-cta:focus {
    background: #0a2c2e;
    border-color: #0a2c2e;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 61, 64, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-outline-secondary:hover {
    border-color: var(--primary-color);
}

/* Dashboard */
.dashboard-stats .stat-card {
    background: white;
    border: none;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-card .stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
}

/* Forms */
.form-control,
.form-select {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(65, 172, 177, 0.22);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Subscription Status Badges */
.badge-active {
    background: var(--success-color);
    color: white;
}

.badge-canceled {
    background: var(--danger-color);
    color: white;
}

.badge-paused {
    background: var(--warning-color);
    color: white;
}

.badge.bg-primary,
.bg-primary {
    background-color: #41ACB1 !important;
}

.text-primary {
    color: #41ACB1 !important;
}

.dropdown-menu {
    color: #14373a;
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 16px 40px rgba(20, 55, 58, 0.14);
}

.dropdown-item,
.dropdown-item i,
.dropdown-menu button.dropdown-item {
    color: #14373a !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: #eef8f8;
    color: #14373a !important;
}

/* Account app layout */
.app-body,
body:has(.app-sidebar) {
    background: #f4fafa;
}

.app-page-title {
    color: #14373a;
    font-weight: 800;
}

.app-sidebar {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 16px 40px rgba(20, 55, 58, 0.08);
    overflow: hidden;
    position: sticky;
    top: 1.25rem;
}

.app-sidebar-profile {
    background: linear-gradient(180deg, #41ACB1 0%, #2f8e93 100%);
    color: #fff;
    padding: 1.75rem 1.25rem 1.35rem;
}

.app-sidebar-profile h5,
.app-sidebar-profile p,
.app-sidebar-profile span {
    color: #fff !important;
}

.app-sidebar-profile p {
    opacity: 0.9;
    font-size: 0.85rem;
}

.premium-account-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0.15rem 0 0.45rem;
    padding: 0.25rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
}

.premium-account-badge i {
    color: #ffd65a;
}

.premium-account-badge.is-dark {
    margin: 0;
    border-color: #e8c24c;
    color: #5d4a08;
    background: #fff7d6;
}

.app-sidebar-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.7);
    margin-bottom: 0.85rem;
}

.app-sidebar-avatar.is-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.8rem;
    cursor: default;
    opacity: 1;
}

.app-sidebar-id {
    display: inline-block;
    margin-top: 0.35rem;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.app-sidebar-nav {
    padding: 0.85rem;
    display: grid;
    gap: 0.4rem;
}

.app-nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0.9rem;
    border-radius: 0.85rem;
    color: #14373a !important;
    text-decoration: none;
    font-weight: 600;
    border: 0;
    background: transparent;
}

.app-nav-link i {
    width: 1.1rem;
    color: #41ACB1;
}

.app-nav-link:hover {
    background: #eef8f8;
    color: #14373a !important;
}

.app-nav-link.is-active {
    background: #41ACB1;
    color: #fff !important;
}

.app-nav-link.is-active i {
    color: #fff;
}

.app-nav-link.accent {
    color: #1f7a55 !important;
}

.app-nav-link.danger,
.app-nav-link.danger i {
    color: #c24141 !important;
}

.premium-card {
    background: #fff;
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 16px 40px rgba(20, 55, 58, 0.08);
    padding: 1.5rem;
    color: #14373a;
}

.premium-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef8f8;
    color: #41ACB1;
    font-size: 1.8rem;
}

.stat-mini-card {
    background: #f6fbfb;
    border: 1px solid #e4f2f2;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    color: #14373a;
}

/* Dashboard store list */
.store-list {
    display: grid;
    gap: 0.6rem;
}

.store-list-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1.1rem;
    background: #fff;
    border-radius: 1rem;
    text-decoration: none !important;
    color: #14373a !important;
    box-shadow: 0 2px 10px rgba(20, 55, 58, 0.04);
    border: 1px solid #e6f0f0;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.store-list-item:hover {
    border-color: rgba(65, 172, 177, 0.45);
    box-shadow: 0 8px 22px rgba(20, 55, 58, 0.08);
}

.store-list-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.8rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--store-accent, #41ACB1) 14%, #fff);
    color: var(--store-accent, #41ACB1);
    font-size: 1rem;
}

.store-list-main {
    flex: 1;
    min-width: 0;
}

.store-list-title {
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.15rem;
}

.store-list-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    color: #6b7f80;
    font-size: 0.86rem;
}

.store-list-meta span + span::before {
    content: "·";
    margin-inline-end: 0.4rem;
    color: #bdd0d1;
}

.store-list-meta code {
    color: inherit;
    font-size: 0.86rem;
}

.store-list-side {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}

.store-list-arrow {
    color: #b3c6c7;
    font-size: 0.8rem;
}

.store-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.22rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.store-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.store-status.is-active {
    background: #eef9f4;
    color: #17805a;
}

.store-status.is-pending {
    background: #fff7e9;
    color: #96690a;
}

.store-status.is-ended {
    background: #fdeeee;
    color: #b8433a;
}

.store-status.is-other {
    background: #f0f4f4;
    color: #617576;
}

/* Dashboard store detail */
.store-detail-card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 4px 20px rgba(20, 55, 58, 0.06);
    overflow: hidden;
    border: 1px solid #e6f0f0;
    border-top: 3px solid var(--store-accent, #41ACB1);
}

.store-detail-hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid #eef5f5;
}

.store-detail-hero-main {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.store-detail-mark {
    width: 52px;
    height: 52px;
    border-radius: 0.9rem;
    background: color-mix(in srgb, var(--store-accent, #41ACB1) 14%, #fff);
    color: var(--store-accent, #41ACB1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.store-detail-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-detail-name {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    color: #0f3d40;
    margin: 0;
}

.store-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    color: #6b7f80;
    font-size: 0.88rem;
}

.store-detail-meta code {
    color: inherit;
    font-size: 0.88rem;
}

.store-detail-actions {
    display: flex;
    gap: 0.5rem;
}

.store-note {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin: 1.1rem 1.35rem 0;
    padding: 0.8rem 0.95rem;
    border-radius: 0.75rem;
    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1.5;
    border: 1px solid transparent;
    border-left-width: 3px;
}

.store-note i {
    margin-top: 0.2rem;
}

.store-note.is-warning {
    background: #fffaf0;
    color: #7a5600;
    border-color: #f6e2b4;
    border-left-color: #e5a13c;
}

.store-note.is-info {
    background: #f3fafa;
    color: #1f5f63;
    border-color: #d8ecec;
    border-left-color: #41ACB1;
}

.store-note.is-attention {
    background: #fff8ea;
    color: #7a4b00;
    border-color: #f6e2b4;
    border-left-color: #f0b429;
    font-weight: 600;
}

.store-note.is-attention i {
    color: #d97706;
}

.store-note.is-success {
    background: #f1faf5;
    color: #147a54;
    border-color: #cdeadd;
    border-left-color: #2fa377;
}

.store-note.is-guide {
    background: #fff4e8 !important;
    color: #9a4b00 !important;
    border-color: #f5d3a8 !important;
    border-left-color: #f08a24 !important;
}

.store-note.is-guide i {
    color: #e67a12 !important;
}

.store-note.is-guide a {
    color: #9a4b00 !important;
    font-weight: 700;
    text-decoration: underline;
}

.store-note.is-guide .store-note-dismiss {
    color: #9a4b00 !important;
}

.store-note a {
    color: inherit;
    font-weight: 700;
}

.store-note-body {
    flex: 1;
    min-width: 0;
}

.store-note-dismiss {
    color: inherit !important;
    text-decoration: underline !important;
    opacity: 0.85;
    font-weight: 600;
}

.store-note-dismiss:hover {
    opacity: 1;
}

.store-note.in-section {
    margin: 0 0 0.9rem;
}

.store-section {
    padding: 1.15rem 1.35rem 1.35rem;
}

.store-section + .store-section {
    padding-top: 0;
}

.store-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f3d40;
    margin-bottom: 0.35rem;
}

/* Simple label / value rows used across the store detail card */
.store-rows {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.store-rows.is-stacked {
    grid-template-columns: 1fr;
}

.store-row {
    padding: 0.7rem 0;
    border-bottom: 1px solid #f0f5f5;
}

.store-row.is-wide {
    grid-column: 1 / -1;
}

.store-row-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.75rem;
    border-bottom: 1px solid #f0f5f5;
}

.store-row-pair .store-row {
    border-bottom: 0;
}

.store-row-pair:last-child {
    border-bottom: 0;
}

.store-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.store-row .label {
    display: block;
    color: #6b7f80;
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
}

.store-row .value {
    display: block;
    color: #0f3d40;
    font-weight: 600;
    min-width: 0;
    word-break: break-word;
}

.store-row .value a {
    font-weight: 600;
    word-break: break-all;
}

.store-storage-bar {
    height: 5px;
    width: 130px;
    margin-top: 0.4rem;
    background: #e9f1f1;
    border-radius: 999px;
    overflow: hidden;
}

.store-color-swatch {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 0.35rem;
    border: 1px solid rgba(15, 61, 64, 0.12);
    display: inline-block;
}

/* Admin access card */
.admin-access-card {
    background: #fff;
    border: 1px solid #dcecec;
    border-radius: 1.1rem;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(20, 55, 58, 0.05);
}

.admin-access-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    padding: 1.1rem 1.15rem;
    background: linear-gradient(135deg, #f2fbfb 0%, #fbfeff 70%);
    border-bottom: 1px solid #eaf4f4;
}

.admin-access-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f3d40;
    color: #fff;
    font-size: 1rem;
}

.admin-access-heading {
    flex: 1;
    min-width: 12rem;
}

.admin-access-title {
    font-weight: 700;
    color: #0f3d40;
    margin: 0 0 0.1rem;
}

.admin-access-sub {
    color: #5f7374;
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0;
}

.admin-access-open {
    flex-shrink: 0;
}

.admin-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1.1rem 1.15rem;
}

.admin-field-label {
    display: block;
    color: #6b7f80;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.admin-field-hint {
    margin: 0.4rem 0 0;
    color: #6b7f80;
    font-size: 0.8rem;
    line-height: 1.4;
}

.admin-field-body {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #f7fbfb;
    border: 1px solid #e3f0f0;
    border-radius: 0.7rem;
    padding: 0.5rem 0.6rem;
}

.admin-field-value {
    flex: 1;
    min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 600;
    color: #0f3d40;
    word-break: break-all;
}

.admin-field-value.is-secret {
    letter-spacing: 0.12em;
}

.admin-field-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid #dceaea;
    background: #fff;
    border-radius: 0.55rem;
    color: #41ACB1;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.admin-field-btn:hover {
    color: #0f3d40;
    border-color: #41ACB1;
    background: #f2fbfb;
}

.admin-access-foot {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.85rem 1.15rem 1rem;
    border-top: 1px solid #f0f5f5;
    font-size: 0.85rem;
}

.admin-access-foot-label {
    color: #6b7f80;
}

.admin-access-foot a {
    color: #0f3d40;
    font-weight: 600;
    word-break: break-all;
}

@media (max-width: 575.98px) {
    .admin-field-grid {
        grid-template-columns: 1fr;
    }

    .admin-access-open {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .store-list-item {
        align-items: flex-start;
    }

    .store-list-side {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.45rem;
    }

    .store-rows {
        grid-template-columns: 1fr;
    }

    .store-row-pair {
        grid-template-columns: 1fr;
    }
}

.app-table {
    color: #14373a;
}

.app-table thead th {
    background: #f6fbfb;
    color: #5f7374;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 0;
    padding: 0.9rem 1rem;
}

.app-table tbody td,
.app-table tbody th {
    padding: 1rem;
    border-color: #eef4f4;
    color: #14373a;
}

.app-table.bordered {
    border: 1px solid #e4f2f2;
    border-radius: 1rem;
    overflow: hidden;
}

.app-table tbody tr:hover {
    background: #f6fbfb;
}

.app-page .card,
.app-page .premium-card,
.app-page h2,
.app-page h4,
.app-page h5,
.app-page h6,
.app-page p,
.app-page td,
.app-page th,
.app-page label {
    color: #14373a;
}

.app-page .text-muted {
    color: #5f7374 !important;
}

/* Arabic RTL */
html[dir="rtl"] body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

html[dir="rtl"] .site-navbar .navbar-brand,
html[dir="rtl"] .app-page-title,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6 {
    letter-spacing: 0;
}

html[dir="rtl"] .fa-arrow-right:before {
    content: "\f060";
}

html[dir="rtl"] .fa-arrow-left:before {
    content: "\f061";
}

html[dir="rtl"] .fa-chevron-right:before {
    content: "\f053";
}

/* Getting Started guide */
.getting-started-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.4rem;
    padding: 2rem;
    border-radius: 1.35rem;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.18), transparent 32%),
        linear-gradient(135deg, #14373a, #2f8e93);
    box-shadow: 0 18px 45px rgba(20, 55, 58, 0.17);
}

.getting-started-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
    color: #b9f0f2;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.getting-started-hero h1 {
    margin-bottom: 0.45rem;
    color: #fff;
    font-weight: 800;
}

.getting-started-hero > p {
    max-width: 650px;
    margin-bottom: 1.35rem;
    color: rgba(255, 255, 255, 0.82);
}

.guide-search {
    display: flex;
    max-width: 570px;
    align-items: center;
    gap: 0.7rem;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 22px rgba(6, 30, 32, 0.16);
}

.guide-search i {
    color: #41ACB1;
}

.guide-search input {
    width: 100%;
    height: 52px;
    border: 0;
    outline: 0;
    color: #14373a;
    background: transparent;
}

.guide-accordion {
    display: grid;
    gap: 0.85rem;
}

.guide-stage {
    overflow: hidden;
    border: 1px solid #dceced !important;
    border-radius: 1.1rem !important;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 55, 58, 0.06);
}

.guide-stage .accordion-button {
    gap: 0.9rem;
    padding: 1.05rem 1.2rem;
    color: #14373a;
    background: #fff;
    font-size: 1.02rem;
    font-weight: 750;
    box-shadow: none;
}

.guide-stage .accordion-button:not(.collapsed) {
    color: #14373a;
    background: #eefafa;
}

.guide-stage .accordion-button:focus {
    border-color: #9bd4d7;
    box-shadow: inset 0 0 0 2px rgba(65, 172, 177, 0.22);
}

.guide-stage-number {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 0.7rem;
    color: #fff;
    background: linear-gradient(135deg, #41ACB1, #287e83);
    font-size: 0.76rem;
    font-weight: 800;
}

.guide-stage .accordion-body {
    padding: 1.25rem;
    border-top: 1px solid #e5f0f0;
}

.guide-stage-layout {
    display: grid;
    grid-template-columns: minmax(360px, 1.15fr) minmax(0, 0.85fr);
    gap: 1.75rem;
    align-items: start;
}

.guide-stage-layout.no-image {
    grid-template-columns: 1fr;
}

.guide-stage-visual {
    overflow: hidden;
    border: 1px solid #dceced;
    border-radius: 1rem;
    background: #f4fafa;
}

.guide-stage-visual img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: contain;
}

.guide-introduction {
    margin-bottom: 1rem;
    color: #526a6b;
    font-size: 0.96rem;
    line-height: 1.7;
}

.guide-points {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.8rem;
    border: 1px solid #e3efef;
    border-radius: 0.85rem;
    background: #f9fcfc;
}

.guide-points li > span {
    display: inline-grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 50%;
    color: #287e83;
    background: #dff3f4;
    font-size: 0.72rem;
    font-weight: 800;
}

.guide-points p {
    margin: 0;
    color: #314f51;
    line-height: 1.58;
}

.guide-empty,
.guide-no-results {
    padding: 3rem 1.5rem;
    border: 1px dashed #a8d5d7;
    border-radius: 1.2rem;
    text-align: center;
    color: #5f7374;
    background: #fff;
}

.guide-empty i,
.guide-no-results i {
    margin-bottom: 1rem;
    color: #41ACB1;
    font-size: 2rem;
}

.guide-empty h2,
.guide-no-results h3 {
    color: #14373a;
}

@media (max-width: 767.98px) {
    .getting-started-hero {
        padding: 1.45rem;
    }

    .guide-stage-layout {
        grid-template-columns: 1fr;
    }
}

.faq-page {
    min-height: 65vh;
    background: #f4fafa;
}

.faq-page .container {
    max-width: 980px;
}

.faq-hero {
    text-align: center;
}

.faq-hero > p,
.faq-hero .guide-search {
    margin-inline: auto;
}

.faq-accordion {
    max-width: 900px;
    margin-inline: auto;
}

.faq-answer {
    padding: 1.35rem 1.5rem !important;
    color: #3f5a5c;
    font-size: 1rem;
    line-height: 1.75;
}
