/* =============================================
   InviEat — Custom Styles
   Design tokens from design-tokens.json
   ============================================= */

 
:root {
  --blue: #075eea;
  --navy: #061a66;
  --ink: #06185c;
  --soft-blue: #eaf4ff;
  --line: #d7e4f4;
  --bg: #ffffff;
  --icon-bg: #dcedff;
  --header-border: #e5ecf6;
  --login-border: #bdd0eb;
  --shadow-card: 0 16px 40px rgba(6, 24, 92, 0.12);
  --shadow-soft: 0 8px 28px rgba(6, 24, 92, 0.08);
  --shadow-dash: 0 12px 32px rgba(6, 24, 92, 0.08);
  --font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --hero-radius: 165px 0 0 165px;
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
.preview-container {
    position: relative;
}

/* enable preview mode */
.preview-mode .preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: transparent;
    cursor: not-allowed;
    pointer-events: all;
}

.host-message {
    white-space: pre-wrap;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.text-highlight {
  color: var(--blue);
}

.section-rule {
  display: block;
  width: 54px;
  height: 3px;
  background: var(--blue);
  margin: 28px 0 28px;
}

.section-rule--centered {
  margin: 14px auto 30px;
}

/* ---- Header ---- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--header-border);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(6, 24, 92, 0.08);
}

.header-container {
  max-width: 1440px;
  padding: 0 38px;
  min-height: 56px;
}

.brand-logo {
  padding: 0;
  margin: 0;
}

.brand-logo-img {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  padding: 8px 0;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--blue);
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--login-border);
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-login:hover {
  border-color: var(--blue);
  background: var(--soft-blue);
  color: var(--ink);
}

.navbar-toggler {
  padding: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.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='%2306185c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Hero Section ---- */
.hero-section {
  padding: 56px 0;
}

.hero-container {
  max-width: 1440px;
  padding-left: 52px;
  padding-right: 0;
}

.hero-copy {
  padding-right: 30px;
}

.hero-title {
  font-size: 2.125rem;
  line-height: 1.375;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 0;
}

.hero-image-col {
  padding: 0;
}

.hero-image-wrapper {
  overflow: hidden;
  border-radius: var(--hero-radius);
  min-height: 500px;
  max-height: 640px;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.btn, .form-select {
    font-size: 14px;
}
.form-select {
    color: var(--ink);
}
/* Custom styles to transform default bars into true circular dots */
#dotCarousel .carousel-inner {
    border-top-left-radius: 24%;
    border-bottom-left-radius: 24%;
}
#dotCarousel .carousel-item img {
     max-height: 500px;    
    object-fit: cover;
}
#dotCarousel .carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    margin: 0 6px !important;
    background-color: #fff !important; /* Base color of the dots */
    opacity: 0.5;
    border: none !important;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#dotCarousel .carousel-indicators {
    bottom: 16px;
}
    #dotCarousel .carousel-indicators .active {
        opacity: 1 !important;
        background-color: #0d6efd !important; /* Bootstrap primary blue color */
        transform: scale(1.2);
    }


    /* ---- Link Card (CTA) ---- */
    .link-card {
        max-width: 490px;
        padding: 24px;
        border-radius: 14px;
        background: var(--bg);
        box-shadow: var(--shadow-card);
    }

        .link-card .link-card-container {
            display: grid;
            grid-template-columns: 78px 1fr;
            gap: 18px;
        }

    .link-card-icon {
        width: 68px;
        height: 68px;
        border-radius: 50%;
        background: var(--icon-bg);
        display: grid;
        place-items: center;
    }

    .link-card-title {
        font-size: 20px;
        font-weight: 700;
        margin: 2px 0 12px;
        color: var(--navy);
    }

    .link-card-text {
        font-size: 14px;
        line-height: 1.375;
        margin: 0 0 24px;
        color: var(--ink);
    }

    .btn-create-link {
        width: 100%;
        height: 60px;
        border: 0;
        border-radius: 7px;
        background: var(--blue);
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        transition: background 0.2s ease, transform 0.15s ease;
    }

        .btn-create-link:hover,
        .btn-create-link:focus {
            background: #0550c7;
            color: #fff;
        }

        .btn-create-link:active {
            transform: scale(0.98);
        }

    /* ---- Features Section ---- */
    .features-section {
        padding: 0 28px 55px;
    }

    .features-wrapper {
        max-width: 1384px;
        margin: 0 auto;
        padding: 36px 26px 44px;
        border-radius: 14px;
        background: linear-gradient(180deg, #f4f9ff 0%, #fff 100%);
        box-shadow: var(--shadow-soft);
    }

    .features-heading {
        text-align: center;
        font-size: clamp(1.125rem, 2.5vw, 1.5rem);
        font-weight: 700;
        color: var(--navy);
        margin: 0;
    }

    .feature-grid {
        margin-bottom: 40px;
    }

    .feature-item {
        text-align: center;
        padding: 24px 30px;
        border-right: 1px solid var(--line);
    }

        .feature-item:last-child {
            border-right: 0;
        }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto;
        padding: 16px;
        border-radius: 50%;
        background: var(--icon-bg);
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .feature-icon img {
            width: 38px;
            height: 38px;
        }

    .feature-title {
        font-size: 16px;
        font-weight: 700;
        margin: 14px 0 8px;
        color: var(--navy);
    }

    .feature-text {
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
        color: var(--ink);
    }

    /* ---- Dashboard Cards ---- */
    .dashboard-row {
        margin-top: 0;
    }

    .preview-card {
        background: var(--bg);
        border: 1px solid #e5edf7;
        border-radius: 12px;
        box-shadow: var(--shadow-dash);
        padding: 18px;
        min-height: 145px;
        height: 100%;
    }

    .preview-card-title {
        font-size: 16px;
        font-weight: 700;
        margin: 0 0 14px;
        color: var(--navy);
    }

    .preview-card-text {
        font-size: 14px;
        line-height: 1.7;
        margin: 0 0 20px;
        color: var(--ink);
    }

    /* Process flow */
    .process-flow {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0px;
        flex-wrap: wrap;
    }

    .process-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        min-width: 80px;
    }

    .process-icon {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--icon-bg);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
    }

        .process-icon i {
            font-size: 22px;
            color: var(--blue);
        }

    .process-label {
        font-size: 14px;
        line-height: 1.4;
        color: var(--ink);
    }

    .process-arrow {
        display: flex;
        align-items: center;
        padding-top: 5px;
        color: var(--blue);
    }

        .process-arrow img {
            max-height: 36px;
        }

    /* RSVP Stats */
    .preview-card--stats {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .stat-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .stat-info {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .stat-icon {
        font-size: 20px;
        color: var(--blue);
    }

    .stat-label {
        font-size: 14px;
        color: var(--ink);
    }

    .stat-value {
        font-size: 24px;
        font-weight: 700;
        color: var(--blue);
    }

    /* Food Preferences */
    .food-pref-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .food-pref-list li {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 0;
            font-size: 14px;
            line-height: 1.5;
            border-bottom: 1px solid var(--line);
        }

            .food-pref-list li:last-child {
                border-bottom: 0;
            }

    .food-pref-item {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--ink);
    }

        .food-pref-item i {
            color: var(--blue);
            font-size: 16px;
        }

    .food-pref-count {
        font-weight: 700;
        color: var(--blue);
    }

    /* ---- Footer ---- */
    .site-footer {
        border-top: 1px solid var(--header-border);
        padding: 18px 0;
    }

    .footer-container {
        max-width: 1440px;
        padding: 0 50px;
    }

    .footer-brand {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .footer-logo {
        height: 34px;
        width: auto;
    }

    .footer-tagline {
        font-size: 13px;
        color: var(--navy);
    }

    .footer-copyright {
        font-size: 13px;
        color: var(--navy);
    }

    .footer-nav {
        display: flex;
        justify-content: flex-end;
        gap: 56px;
        font-size: 16px;
    }

        .footer-nav a {
            color: var(--ink);
            transition: color 0.2s ease;
        }

            .footer-nav a:hover {
                color: var(--blue);
            }

    /* =============================================
   Responsive — Tablet (≤991px)
   ============================================= */
    @media (max-width: 991.98px) {
        .header-container {
            min-height: 60px;
            padding: 0 20px;
        }

        .brand-logo-img {
            height: 36px;
        }

        .hero-container {
            padding: 0 20px;
        }

        .hero-copy {
            padding-right: 0;
            order: 2;
        }

        .hero-image-col {
            order: 1;
            margin-bottom: 28px;
        }

        .hero-image-wrapper {
            border-radius: 34px;
            min-height: 320px;
        }

        .hero-image {
            min-height: 320px;
        }

        .link-card {
            max-width: 100%;
        }

        .feature-item {
            border-right: 0;
            border-bottom: 1px solid var(--line);
        }

            .feature-item:nth-child(odd) {
                border-right: 1px solid var(--line);
            }

            .feature-item:nth-last-child(-n+2) {
                border-bottom: 0;
            }

        .features-section {
            padding: 0 14px 34px;
        }

        .features-wrapper {
            padding: 28px 18px;
        }

        .footer-container {
            padding: 0 20px;
        }

        .footer-nav {
            justify-content: center;
            gap: 22px;
        }
    }

    /* =============================================
   Responsive — Mobile (≤767px)
   ============================================= */
    @media (max-width: 767.98px) {
        .navbar-collapse {
            padding: 16px 0;
        }

        .navbar-nav {
            gap: 8px !important;
        }

        .btn-login {
            width: 100%;
            justify-content: center;
        }

        .hero-section {
            padding: 28px 0;
        }

        .link-card .link-card-container {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .link-card-icon {
            margin: 0 auto;
        }

        .feature-item {
            border-bottom: 1px solid var(--line);
        }

            .feature-item:last-child {
                border-bottom: 0;
            }

       

        .footer-brand {
            flex-direction: column;
            text-align: center;
        }

        .footer-nav {
            font-size: 14px;
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }
    }

    /* =============================================
   Responsive — Small Mobile (≤575px)
   ============================================= */
    @media (max-width: 575.98px) {
        .hero-title {
            font-size: 1.75rem; 
        }

        .hero-subtitle {
            font-size: 16px;
        }

        .btn-create-link {
            font-size: 16px;
            height: 52px;
        }

        .preview-card {
            padding: 20px;
        }
    }

    /* ---- Utility: smooth scroll ---- */
    html {
        scroll-behavior: smooth;
    }

    /* ---- Reduced motion ---- */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }

        .btn-create-link {
            transition: none;
        }
    }

    /* =============================================
   Auth & Profile Pages
   ============================================= */
    .auth-body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .auth-main {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 16px;
        background: linear-gradient(180deg, #f4f9ff 0%, var(--soft-blue) 50%, #fff 100%);
    }

    .auth-wrapper {
        width: 100%;
        max-width: 380px;
    }

    .auth-card {
        background: var(--bg);
        border-radius: 14px;
        box-shadow: var(--shadow-card);
        padding: 40px 36px;
        border: 1px solid #e5edf7;
    }

    .auth-card-header {
        text-align: center;
        margin-bottom: 12px;
    }

    .auth-icon {
        width: 68px;
        height: 68px;
        border-radius: 50%;
        background: var(--icon-bg);
        display: grid;
        place-items: center;
        margin: 0 auto 20px;
    }

        .auth-icon i {
            font-size: 28px;
            color: var(--blue);
        }

    .auth-title {
        font-size: 24px;
        font-weight: 800;
        color: var(--navy);
        margin: 0 0 8px;
    }

    .auth-subtitle {
        font-size: 14px;
        line-height: 1.6;
        color: var(--ink);
        margin: 0;
        opacity: 0.85;
    }

    .auth-form {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .form-label {
        font-size: 14px;
        font-weight: 600;
        color: var(--navy);
        margin: 0;
    }

    .form-control-invieat {
        height: 52px;
        border: 1px solid var(--login-border);
        border-radius: 10px;
        padding: 12px 16px;
        font-size: 16px;
        color: var(--ink);
        background: var(--bg);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .form-control-invieat::placeholder {
            color: #8fa3c4;
        }

        .form-control-invieat:focus {
            border-color: var(--blue);
            box-shadow: 0 0 0 3px rgba(7, 94, 234, 0.15);
            outline: none;
        }

    .btn-invieat {
        height: 56px;
        border: 0;
        border-radius: 7px;
        background: var(--blue);
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: background 0.2s ease, transform 0.15s ease;
    }

        .btn-invieat:hover,
        .btn-invieat:focus {
            background: #0550c7;
            color: #fff;
        }

        .btn-invieat:active {
            transform: scale(0.98);
        }

    .auth-divider {
        display: flex;
        align-items: center;
        gap: 16px;
        margin: 24px 0;
    }

        .auth-divider::before,
        .auth-divider::after {
            content: "";
            flex: 1;
            height: 1px;
            background: var(--line);
        }

        .auth-divider span {
            font-size: 13px;
            font-weight: 600;
            color: #8fa3c4;
            letter-spacing: 0.05em;
        }

    .auth-social {
        display: flex;
        flex-direction: initial;
        gap: 14px;
    }

    .btn-social {
        height: 56px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        background: var(--bg);
        color: var(--ink);
        border: 1px solid var(--login-border);
        transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }

        .btn-social:hover,
        .btn-social:focus {
            border-color: var(--blue);
            background: var(--soft-blue);
            color: var(--ink);
            box-shadow: var(--shadow-soft);
        }

    .social-icon {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .btn-login.active {
        border-color: var(--blue);
        background: var(--soft-blue);
    }


    /* ---- OTP Input ---- */
    .otp-email {
        color: var(--blue);
        font-weight: 600;
    }

    .otp-inputs {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .otp-digit {
        width: 42px;
        height: 50px;
        border: 1px solid var(--login-border);
        border-radius: 10px;
        text-align: center;
        font-size: 24px;
        font-weight: 700;
        color: var(--navy);
        background: var(--bg);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .otp-digit:focus {
            border-color: var(--blue);
            box-shadow: 0 0 0 3px rgba(7, 94, 234, 0.15);
            outline: none;
        }

    .otp-error {
        text-align: center;
        font-size: 13px;
        color: #dc3545;
        margin: 8px 0 0;
    }

    .otp-resend {
        text-align: center;
        font-size: 14px;
        color: var(--ink);
        margin: 24px 0 0;
        opacity: 0.85;
    }

    .btn-link-otp {
        background: none;
        border: none;
        padding: 0;
        font-size: 14px;
        font-weight: 600;
        color: var(--blue);
        cursor: pointer;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

        .btn-link-otp:hover {
            color: #0550c7;
        }

    .auth-back-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
        font-size: 14px;
        font-weight: 600;
        color: var(--ink);
        opacity: 0.75;
        transition: color 0.2s ease, opacity 0.2s ease;
    }

        .auth-back-link:hover {
            color: var(--blue);
            opacity: 1;
        }

    @media (max-width: 575.98px) {
        .auth-main {
            padding: 24px 16px;
        }
        .auth-card {
            padding: 32px 24px;
        }

        .auth-title {
            font-size: 20px;
        }
        .auth-subtitle{
            font-size: 13px;
            line-height: 1.4;
        }

        .btn-invieat,
        .btn-social {
            height: 52px;
            font-size: 15px;
        }

        .otp-inputs {
            gap: 8px;
        }

        .otp-digit {
            width: 42px;
            height: 50px;
            font-size: 20px;
        }
    }
@media (max-width: 399.98px) {

    .otp-inputs {
        gap: 4px;
    }
    .otp-digit {
        width: 32px;
        height: 40px;
        font-size: 16px;
    }
}
@media (max-width: 991.98px) {
    .btn-create-link {
        max-width: 300px;
    }
}

@media (max-width: 767.98px) {
    .navbar-nav {
        text-align: center;
    }

    #dotCarousel .carousel-item img {
        max-height: 400px;
        object-fit: fill;
    }

    #dotCarousel .carousel-indicators {
        bottom: 34px;
    }

    .btn-create-link {
        margin: 0 auto;
    }

    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .process-flow {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .process-arrow {
        transform: rotate(90deg);
        padding: 4px 0;
    }

    .feature-item {
        border-right: none !important;
    }

        .feature-item:nth-last-child(-n+2) {
            border-bottom: 1px solid var(--line);
        }

    .link-card {
        padding: 20px 16px;
    }
}

@media (max-width: 475.98px) {
    .brand-logo-img {
        height: 32px;
    }

    #dotCarousel .carousel-indicators {
        bottom: 20px;
    }

    .process-flow {
        gap: 10px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .btn-create-link {
        font-size: 14px;
    }
}

/* =============================================
   App shell — _Layout.cshtml
   Shared by Dashboard and future app screens
   ============================================= */

.app-layout {
  margin: 0;
  background: #f4f7fc;
  color: var(--ink);
  font-family: var(--font-family);
}

.app-frame {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--header-border);
  height: 64px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 28px 0 24px;
}

.topbar-brand {
  display: flex;
  align-items: center;
}

.topbar-brand-img {
  height: 100%;
  width: 100%;
  max-height: 40px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.icon-btn:hover {
  background: var(--soft-blue);
  color: var(--blue);
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  padding: 4px 8px 4px 4px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.user-menu-btn:hover,
.user-menu-btn:focus {
  background: var(--soft-blue);
}

.user-menu-btn::after {
  margin-left: 2px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #c5d0e6;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-shell {
  display: flex;
  flex: 1;
  min-height: 0;
}

.sidebar {
  width: 248px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--header-border);
  padding: 20px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

.sidebar-cta:hover {
  background: #0550c7;
  color: #fff;
}

.sidebar-cta i {
  font-size: 1.1rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #4a5d7a;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.sidebar-nav-link i {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
}

.sidebar-nav-link:hover {
  background: var(--soft-blue);
  color: var(--blue);
}

.sidebar-nav-link.active {
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 600;
}

.sidebar-nav-divider {
  margin: 10px 0;
  border: none;
  border-top: 1px solid var(--line);
  opacity: 1;
}

.main-content {
  flex: 1;
  min-width: 0;
  overflow-x: hidden;
}

.sidebar-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1040;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--blue);
  color: #fff;
  font-size: 1.4rem;
  box-shadow: var(--shadow-card);
}

/* ---- App page content (reusable across screens) ---- */
.page-content {
  padding: 32px 0px 40px;
}

.page-header {
  margin-bottom: 18px;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 14px;
  color: #5a6d8a;
  margin: 0;
  max-width: 720px;
  line-height: 1.5;
}

.invieat-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px 18px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 12px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.field-label.required::after,
.section-title.required::after {
  content: " *";
  color: #dc3545;
  font-weight: 600;
}

.field-input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink);
  background: #fff;
  min-height: 38px;
}

.field-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 94, 234, 0.12);
}

.field-input-readonly {
  background: #f0f4fa;
  color: #6b7c96;
  cursor: default;
}

.input-icon-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.55;
  z-index: 2;
}

.input-icon.bi-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #6b7c96;
}

.input-with-icon {
  padding-left: 36px;
}

.input-icon-wrap:has(.input-picker) {
  cursor: pointer;
}

.input-picker {
  cursor: pointer;
  position: relative;
  color-scheme: light;
}

.input-picker::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  background: transparent;
}

.input-picker::-webkit-inner-spin-button,
.input-picker::-webkit-clear-button {
  display: none;
  -webkit-appearance: none;
}

.input-picker[type="date"]::-webkit-datetime-edit,
.input-picker[type="time"]::-webkit-datetime-edit {
  cursor: pointer;
}

.input-picker::-moz-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.textarea-wrap {
  position: relative;
}

.field-textarea {
  min-height: 64px;
  resize: vertical;
  padding-bottom: 22px;
}

.char-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 12px;
  color: #8fa3c4;
  pointer-events: none;
}

/* ---- Venue address (Google Places + Maps link) ---- */
.venue-address-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.venue-address-input {
  flex: 1;
  min-width: 0;
}

.venue-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.venue-map-preview {
  width: 100%;
  height: 200px;
  margin-top: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.event-summary-card .venue-map-preview {
  margin-top: 10px;
}

.pac-container {
  z-index: 1100;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  font-family: inherit;
  margin-top: 4px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.choice-grid--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
 
.choice-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 8px;
  padding: 7px 30px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  margin: 0;
}

.choice-card:hover {
  border-color: #a8c4eb;
  box-shadow: var(--shadow-soft);
}

.choice-check {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

.choice-check:checked {
  background-color: var(--blue);
  border-color: var(--blue);
}

.choice-card:has(.choice-check:checked) {
/*  border-color: var(--blue);
  background: var(--soft-blue);
  box-shadow: 0 0 0 1px var(--blue);*/
}

.choice-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.choice-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

.choice-icon--banned::after {
  content: "";
  position: absolute;
  inset: 1px;
 /* border-radius: 50%;
  border: 2px solid #e53935;*/
  background: linear-gradient(
    to top right,
    transparent calc(50% - 0.48px),
    #5e646e calc(50% - 0.48px),
    #5e646e calc(50% + 0.48px),
    transparent calc(50% + 0.48px)
  );
  pointer-events: none;
}

.choice-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  padding: 0;
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.toggle-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.toggle-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.toggle-hint {
  font-size: 12px;
  color: #6b7c96;
  margin-top: 2px;
}

.toggle-switch .form-check-input {
  width: 40px;
  height: 22px;
  cursor: pointer;
  border: none;
  background-color: #c5d0e6;
}

.toggle-switch .form-check-input:checked {
  background-color: var(--blue);
}

.toggle-switch .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(7, 94, 234, 0.2);
}

.check-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin: 0;
}

.check-inline .form-check-input {
  margin: 0;
  cursor: pointer;
}

.check-inline .form-check-input:checked {
  background-color: var(--blue);
  border-color: var(--blue);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 8px;
}

.action-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  background: #fff;
}

.action-btn-outline:hover {
  background: var(--soft-blue);
  color: var(--blue);
  border-color: var(--blue);
}

.action-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--blue);
  border: none;
  font-weight: 600;
  font-size: 14px;
}

.action-btn-primary:hover {
  background: #0550c7;
}

@media (max-width: 1199.98px) {
  .choice-grid,
  .choice-grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991.98px) {
   

  .sidebar {
    position: fixed;
    top: 64px;
    left: 0;
    bottom: 0;
    z-index: 1025;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow-card);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .page-content {
    padding: 16px 0px 24px;
  }

  .choice-grid,
  .choice-grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .user-name {
    display: none;
  }
 
  .topbar-inner {
    padding: 0 16px;
  }

  .form-section {
    padding: 14px 16px 16px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

    .choice-grid,
    .choice-grid--cols-4 {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

  .venue-address-row {
    flex-direction: column;
  }

  .venue-map-btn {
    justify-content: center;
    min-height: 38px;
  }
}
.field-validation-error {
    font-size: 13px !important;
}
.form-field{
    padding-bottom: 1rem;
}

/* ---- Guest RSVP (uses _LayoutLogin + auth-main) ---- */

.event-summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}

.event-summary-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 10px;
}

.event-summary-icon {
  opacity: 0.6;
  margin-top: 2px;
  flex-shrink: 0;
}

.event-venue-name {
  font-weight: 600;
}

.event-venue-address {
  font-size: 12px;
  color: #6b7c96;
  margin-top: 2px;
}

.event-map-btn {
  margin-top: 12px;
  width: auto;
  justify-content: center;
  font-size: 13px;
  padding: 8px 14px;
}

.section-hint {
  font-size: 12px;
  color: #6b7c96;
  margin: 0 0 10px;
}

.rsvp-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.rsvp-status-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.rsvp-status-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  min-height: 96px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.rsvp-status-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rsvp-status-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: #eef3fb;
  color: #6b7c96;
}

.rsvp-status-icon--attending {
  background: #e8f8ef;
  color: #1b8a4a;
}

.rsvp-status-icon--tentative {
  background: #fff8e1;
  color: #c47f00;
}

.rsvp-status-icon--declined {
  background: #ffebee;
  color: #c62828;
}

.rsvp-status-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.rsvp-status-card:has(.rsvp-status-input:checked) {
  border-color: var(--blue);
 /* background: var(--soft-blue);*/
  box-shadow: 0 0 0 1px var(--blue);
}

.phone-input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.guest-phone-field .guest-phone-input {
  width: 100%;
}

.guest-phone-field .iti {
  display: block;
  width: 100%;
}

.guest-phone-field .iti .form-control {
  width: 100%;
}

.phone-prefix-select {
  flex: 0 0 72px;
  min-width: 72px;
  padding-left: 10px;
  padding-right: 24px;
  font-size: 13px;
  font-weight: 600;
}

.phone-input-row .field-input:last-child {
  flex: 1;
  min-width: 0;
}

.rsvp-update-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin: 0;
  width: 100%;
  font-size: 14px;
  color: #8fa3c4;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 575.98px) {
 /* .rsvp-status-grid {
    grid-template-columns: 1fr;
  }*/
    .rsvp-status-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .rsvp-status-card {
        min-height: 84px;
        justify-content: space-between;
    }

  .choice-grid--guest {
    grid-template-columns: 1fr;
  }

 /* .phone-input-row {
    flex-direction: column;
  }*/

    .phone-prefix-select {
        padding-right: 14px;
        flex: 0 0 52px;
        min-width: 52px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .rsvp-status-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- Published invite link success page ---- */
.invite-link-page {
  max-width: 920px;
  margin: 0 auto;
}

.invite-link-hero {
  margin-bottom: 22px;
}

.invite-link-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #e8f8ef;
  color: #1f9d57;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.invite-link-hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.invite-link-hero-subtitle {
  font-size: 14px;
  color: #5a6d8a;
  margin: 0;
  line-height: 1.5;
}

.invite-link-hero-mark {
  margin-top: 14px;
}

.invite-link-panel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}

.invite-link-panel-hint {
  font-size: 13px;
  color: #5a6d8a;
  margin: -4px 0 14px;
}

.invite-link-copy-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.invite-link-input {
  flex: 1;
  min-width: 0;
  background: #f8fbff;
  text-overflow: ellipsis;
}

.invite-link-copy-btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-inline: 18px;
}

.invite-link-secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 12px;
  color: #1f9d57;
}

.invite-share-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.invite-share-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 108px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.invite-share-card:hover,
.invite-share-card:focus {
  border-color: #9ec0ef;
  box-shadow: var(--shadow-soft);
  color: inherit;
}

.invite-share-card--button {
  cursor: pointer;
}

.invite-share-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.invite-share-icon--teams { background: #eef3fc; color: #4b53bc; }
.invite-share-icon--whatsapp { background: #e8f8ef; color: #25d366; }
.invite-share-icon--gmail { background: #fdecea; color: #ea4335; }
.invite-share-icon--email { background: #eaf4ff; color: var(--blue); }
.invite-share-icon--sms { background: #e8f8ef; color: #1f9d57; }
.invite-share-icon--copy { background: #f3f4f6; color: #4b5563; }
.invite-share-icon--more { background: #f3f4f6; color: #4b5563; }

.invite-share-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
}

.invite-share-action {
  font-size: 10px;
  color: #6b7c93;
  text-align: center;
  line-height: 1.2;
}

.invite-next-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.invite-next-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.invite-next-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8f8ef;
  color: #1f9d57;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.invite-next-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.invite-next-text {
  font-size: 13px;
  color: #5a6d8a;
  line-height: 1.45;
}

.invite-link-dashboard-wrap {
  display: flex;
  justify-content: flex-end;
}

.invite-dashboard-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.invite-link-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #edf9f0;
  color: #1f9d57;
  font-size: 13px;
}

.invite-publish-form {
  margin: 0;
}

@media (max-width: 991.98px) {
  .invite-share-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .invite-link-copy-row {
    flex-direction: column;
  }

  .invite-link-copy-btn {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .invite-share-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.iti__selected-dial-code,
.iti__country-name {
    font-size: 13px;
    color: #000000;
    font-family: var(--font-family);
}

table.table tr > td {
    font-size: 14px;
    vertical-align: top;
}
table.table tr > th {
    font-size: 13px;
    vertical-align: top;
}

table.table .dropdown-menu {
    font-size: 14px;
}
.invite-save-block{
    width: 100%;
}
/**Small captcha */
.recaptcha-wrapper{
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: 68px;
    overflow: hidden;
}
.g-recaptcha {    
    transform: scale(0.85);
    transform-origin: right top;
}
.table-responsive .dropdown-menu {
    position: fixed !important;
}
@media (max-width: 575.98px) {
    .recaptcha-wrapper {
        justify-content: flex-start;
    }
    .g-recaptcha {
        transform: scale(0.75);
        transform-origin: left top;
    }
}

/*Default size of captcha**/
/*.g-recaptcha {
    float: right !important;
    transform: scale(0.85);
    transform-origin: 0 0;
}
    .g-recaptcha > div {
        width: 278px !important;
    }
*/
/*
.table-responsive:has(.dropdown-menu.show) {
    overflow: visible;    
}
*/

@media (max-width: 767px) {
    #dietaryPreferenceSection, #dietaryRestrictionsSection {
        min-height: auto !important;
    }
}
   