/* ==========================================================================
   Pocket Pass Digital - Design System
   Modern Financial API SaaS Platform
   ========================================================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    /* Brand Colors */
    --pp-dark: #00261C;
    --pp-dark-light: #003d2e;
    --pp-gold: #FCB715;
    --pp-gold-hover: #e5a410;
    --pp-blue: #2a8bea;
    --pp-blue-light: #e8f3fd;
    --pp-red: #f73c5c;
    --pp-green-success: #10b981;

    /* Neutrals */
    --pp-white: #ffffff;
    --pp-gray-50: #f8fafc;
    --pp-gray-100: #f1f5f9;
    --pp-gray-200: #e2e8f0;
    --pp-gray-300: #cbd5e1;
    --pp-gray-400: #94a3b8;
    --pp-gray-500: #64748b;
    --pp-gray-600: #475569;
    --pp-gray-700: #334155;
    --pp-gray-800: #1e293b;
    --pp-gray-900: #0f172a;

    /* Typography */
    --pp-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --pp-font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;

    /* Spacing */
    --pp-section-gap: 6rem;

    /* Shadows */
    --pp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
    --pp-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
    --pp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
    --pp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
    --pp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);

    /* Border Radius */
    --pp-radius-sm: 6px;
    --pp-radius: 8px;
    --pp-radius-md: 12px;
    --pp-radius-lg: 16px;
    --pp-radius-xl: 24px;

    /* Transitions */
    --pp-transition: 150ms cubic-bezier(.4, 0, .2, 1);
    --pp-transition-slow: 300ms cubic-bezier(.4, 0, .2, 1);
}


/* ==========================================================================
   Base Styles
   ========================================================================== */

body {
    font-family: var(--pp-font-sans);
    color: var(--pp-gray-800);
    background-color: var(--pp-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    background-color: var(--pp-white);
    min-height: 80%;
}

a {
    text-decoration: none !important;
    color: var(--pp-blue);
    transition: color var(--pp-transition);
}

a:hover {
    color: var(--pp-dark);
}

a.active {
    font-weight: 600;
}

::selection {
    background-color: var(--pp-gold);
    color: var(--pp-dark);
}


/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
    background: var(--pp-dark) !important;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    transition: padding var(--pp-transition-slow), box-shadow var(--pp-transition-slow);
}

.navbar-lg {
    min-height: 71px;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, .7) !important;
    font-size: .875rem;
    font-weight: 500;
    padding: .5rem .875rem !important;
    border-radius: var(--pp-radius-sm);
    transition: all var(--pp-transition);
    letter-spacing: .01em;
}

.navbar .nav-link:hover {
    color: var(--pp-white) !important;
    background: rgba(255, 255, 255, .08);
}

.navbar .nav-link.active {
    color: var(--pp-gold) !important;
    background: rgba(252, 183, 21, .08);
}

.brand-logo-header {
    height: 36px !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .9375rem;
    letter-spacing: -.01em;
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    border-radius: var(--pp-radius);
    font-weight: 600;
    font-size: .875rem;
    padding: .625rem 1.25rem;
    transition: all var(--pp-transition);
    letter-spacing: .01em;
}

.btn.btn-primary {
    background-color: var(--pp-gold);
    border-color: var(--pp-gold);
    color: var(--pp-dark);
}

.btn.btn-primary:hover {
    background-color: var(--pp-gold-hover);
    border-color: var(--pp-gold-hover);
    color: var(--pp-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(252, 183, 21, .35);
}

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

.btn.btn-outline-primary:hover {
    background-color: var(--pp-gold);
    border-color: var(--pp-gold);
    color: var(--pp-dark);
}

.btn.btn-outline-light {
    border-color: rgba(255, 255, 255, .2);
    color: var(--pp-white);
}

.btn.btn-outline-light:hover {
    background-color: var(--pp-white);
    border-color: var(--pp-white);
    color: var(--pp-dark);
}

.btn-lg {
    padding: .875rem 2rem;
    font-size: 1rem;
    border-radius: var(--pp-radius-md);
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    border-radius: var(--pp-radius-md);
    font-weight: 700;
}


/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    border: 1px solid var(--pp-gray-200);
    border-radius: var(--pp-radius-md);
    box-shadow: var(--pp-shadow-sm);
    transition: all var(--pp-transition-slow);
}

.card:hover {
    box-shadow: var(--pp-shadow-md);
}

.card-footer-link {
    color: var(--pp-dark);
}


/* ==========================================================================
   Forms
   ========================================================================== */

.form-group label {
    font-size: .8125rem;
    font-weight: 500;
    color: var(--pp-gray-600);
    margin-bottom: .375rem;
}

.form-control {
    border-radius: var(--pp-radius);
    border: 1px solid var(--pp-gray-300);
    background-color: var(--pp-white);
    box-shadow: var(--pp-shadow-sm);
    padding: .625rem .875rem;
    font-size: .875rem;
    transition: all var(--pp-transition);
}

.form-control:hover {
    border-color: var(--pp-gray-400);
    box-shadow: var(--pp-shadow-sm);
}

.form-control:focus {
    border-color: var(--pp-blue);
    box-shadow: 0 0 0 3px rgba(42, 139, 234, .15);
    background-color: var(--pp-white);
}

.error-text {
    color: var(--pp-red);
    font-size: .8125rem;
}


/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: var(--pp-dark) !important;
}

footer a {
    color: rgba(255, 255, 255, .7);
    transition: color var(--pp-transition);
}

footer a:hover {
    color: var(--pp-gold) !important;
}

address {
    font-size: .75rem;
    line-height: 1.7;
}

.copy-logo {
    height: 32px !important;
}

.copy-text {
    font-size: .6875rem;
    color: var(--pp-gray-400);
}


/* ==========================================================================
   Offcanvas Sidebar
   ========================================================================== */

.offcanvas {
    background-color: var(--pp-white);
}

.offcanvas-end-footer {
    background: var(--pp-dark) !important;
    color: var(--pp-white);
}


/* ==========================================================================
   Landing Page - Hero
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, var(--pp-dark) 0%, #004d3a 50%, var(--pp-dark-light) 100%);
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(252, 183, 21, .08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(42, 139, 234, .08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(252, 183, 21, .12);
    border: 1px solid rgba(252, 183, 21, .25);
    color: var(--pp-gold);
    font-size: .8125rem;
    font-weight: 600;
    padding: .5rem 1rem;
    border-radius: 100px;
    letter-spacing: .02em;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--pp-white);
    letter-spacing: -.03em;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, var(--pp-gold) 0%, #ffe082 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1875rem;
    color: rgba(255, 255, 255, .65);
    line-height: 1.7;
    max-width: 540px;
}

.hero-code {
    background: rgba(0, 0, 0, .4);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--pp-radius-lg);
    padding: 1.5rem;
    font-family: var(--pp-font-mono);
    font-size: .8125rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.8;
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.hero-code .code-keyword {
    color: #c792ea;
}

.hero-code .code-string {
    color: #c3e88d;
}

.hero-code .code-comment {
    color: rgba(255, 255, 255, .3);
}

.hero-code .code-number {
    color: #f78c6c;
}

.hero-code .code-property {
    color: #82aaff;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--pp-white);
    letter-spacing: -.02em;
}

.hero-stat-label {
    font-size: .75rem;
    color: rgba(255, 255, 255, .45);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
}


/* ==========================================================================
   Landing Page - Feature Sections
   ========================================================================== */

.section-label {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--pp-blue);
    margin-bottom: .75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--pp-gray-900);
    letter-spacing: -.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--pp-gray-500);
    line-height: 1.7;
    max-width: 640px;
}

.feature-card {
    background: var(--pp-white);
    border: 1px solid var(--pp-gray-200);
    border-radius: var(--pp-radius-lg);
    padding: 2rem;
    transition: all var(--pp-transition-slow);
    height: 100%;
}

.feature-card:hover {
    border-color: var(--pp-gray-300);
    box-shadow: var(--pp-shadow-lg);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--pp-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.feature-icon-blue {
    background: var(--pp-blue-light);
    color: var(--pp-blue);
}

.feature-icon-gold {
    background: rgba(252, 183, 21, .12);
    color: var(--pp-gold);
}

.feature-icon-green {
    background: rgba(16, 185, 129, .1);
    color: var(--pp-green-success);
}

.feature-icon-dark {
    background: rgba(0, 38, 28, .08);
    color: var(--pp-dark);
}

.feature-card h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--pp-gray-900);
    margin-bottom: .5rem;
}

.feature-card p {
    font-size: .9375rem;
    color: var(--pp-gray-500);
    line-height: 1.6;
    margin-bottom: 0;
}


/* ==========================================================================
   Landing Page - API Showcase
   ========================================================================== */

.api-endpoint-card {
    background: var(--pp-gray-50);
    border: 1px solid var(--pp-gray-200);
    border-radius: var(--pp-radius-md);
    padding: 1.25rem 1.5rem;
    transition: all var(--pp-transition);
}

.api-endpoint-card:hover {
    background: var(--pp-white);
    box-shadow: var(--pp-shadow-md);
}

.api-method {
    display: inline-block;
    font-family: var(--pp-font-mono);
    font-size: .6875rem;
    font-weight: 700;
    padding: .25rem .625rem;
    border-radius: var(--pp-radius-sm);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.api-method-get {
    background: rgba(16, 185, 129, .1);
    color: #059669;
}

.api-method-post {
    background: rgba(42, 139, 234, .1);
    color: var(--pp-blue);
}

.api-method-delete {
    background: rgba(247, 60, 92, .1);
    color: var(--pp-red);
}

.api-path {
    font-family: var(--pp-font-mono);
    font-size: .8125rem;
    color: var(--pp-gray-700);
    font-weight: 500;
}

.api-desc {
    font-size: .8125rem;
    color: var(--pp-gray-500);
}


/* ==========================================================================
   Landing Page - Social Proof / Stats
   ========================================================================== */

.stats-section {
    background: var(--pp-gray-50);
    border-top: 1px solid var(--pp-gray-200);
    border-bottom: 1px solid var(--pp-gray-200);
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--pp-dark);
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: .5rem;
}

.stat-description {
    font-size: .875rem;
    color: var(--pp-gray-500);
    font-weight: 500;
}


/* ==========================================================================
   Landing Page - CTA Section
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, var(--pp-dark) 0%, #004d3a 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(252, 183, 21, .06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--pp-white);
    letter-spacing: -.02em;
}

.cta-subtitle {
    color: rgba(255, 255, 255, .6);
    font-size: 1.0625rem;
}


/* ==========================================================================
   Auth Pages (CAS)
   ========================================================================== */

.cas-card {
    width: 100%;
    max-width: 860px;
    border-radius: var(--pp-radius-lg);
    border: 1px solid var(--pp-gray-200);
    box-shadow: var(--pp-shadow-xl);
    overflow: hidden;
}

.cas-card-left {
    background: linear-gradient(180deg, var(--pp-dark) 0%, #004d3a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cas-card-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(252, 183, 21, .1) 0%, transparent 60%);
    pointer-events: none;
}

.cas-card-form {
    font-size: 90%;
}

.cas-password-reset {
    text-align: center;
    font-size: .8125rem;
}

.cas-form-submit {
    height: 48px;
    width: 100%;
    color: var(--pp-dark);
    font-weight: 700;
}

.cas-passkey-button {
    font-size: 1.5rem !important;
    width: 68px;
    height: 68px;
}

.cas-card-logo {
    margin-top: 2rem;
    height: 180px;
}

.nav-link-cas {
    text-align: center;
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .01em;
    color: var(--pp-gray-500) !important;
    padding: .875rem 1rem;
    border-bottom: 2px solid transparent;
    transition: all var(--pp-transition);
}

.nav-link-cas:hover {
    color: var(--pp-dark) !important;
}

.nav-link-cas.active {
    color: var(--pp-dark) !important;
    border-bottom: 3px solid var(--pp-gold);
    font-weight: 600;
}


/* ==========================================================================
   Overview / Dashboard
   ========================================================================== */

.dashboard-welcome {
    background: linear-gradient(135deg, var(--pp-dark) 0%, #004d3a 100%);
    border-radius: var(--pp-radius-lg);
    padding: 2.5rem;
    color: var(--pp-white);
    position: relative;
    overflow: hidden;
}

.dashboard-welcome::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(252, 183, 21, .08) 0%, transparent 60%);
    pointer-events: none;
}

.dashboard-welcome h2 {
    font-weight: 800;
    letter-spacing: -.02em;
}

.info-card {
    background: var(--pp-white);
    border: 1px solid var(--pp-gray-200);
    border-radius: var(--pp-radius-md);
    padding: 2rem;
    height: 100%;
    transition: all var(--pp-transition-slow);
}

.info-card:hover {
    box-shadow: var(--pp-shadow-md);
    border-color: var(--pp-gray-300);
}

.info-card .info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--pp-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.info-card h5 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--pp-gray-900);
    margin-bottom: .5rem;
}

.info-card p {
    font-size: .875rem;
    color: var(--pp-gray-500);
    line-height: 1.6;
}


/* ==========================================================================
   Use Cases & Tutorial Sidebar
   ========================================================================== */

.sidebar-nav {
    background: var(--pp-gray-50);
    border-right: 1px solid var(--pp-gray-200);
    min-height: 100%;
}

.sidebar-nav a {
    display: block;
    padding: .625rem 1rem;
    color: var(--pp-gray-500);
    font-size: .8125rem;
    font-weight: 500;
    border-radius: var(--pp-radius-sm);
    transition: all var(--pp-transition);
}

.sidebar-nav a:hover {
    color: var(--pp-dark);
    background: var(--pp-gray-100);
}

.sidebar-nav a.active {
    color: var(--pp-dark);
    background: var(--pp-gray-200);
    font-weight: 600;
}

.sidebar-nav h5,
.sidebar-nav .sidebar-heading {
    font-size: .875rem;
    font-weight: 700;
    color: var(--pp-gray-900);
    padding: .625rem 1rem;
    margin-bottom: 0;
}


/* ==========================================================================
   Content Pages (About, Privacy, Terms)
   ========================================================================== */

.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.content-page h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--pp-gray-900);
    letter-spacing: -.02em;
    margin-bottom: 1.5rem;
}

.content-page h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pp-gray-800);
    margin-top: 2rem;
    margin-bottom: .75rem;
}

.content-page p,
.content-page li {
    font-size: .9375rem;
    color: var(--pp-gray-600);
    line-height: 1.75;
}

.content-page ul {
    padding-left: 1.25rem;
}

.content-page ul li {
    margin-bottom: .5rem;
}


/* ==========================================================================
   Registry Cards
   ========================================================================== */

.registry-card {
    border: 1px solid var(--pp-gray-200);
    border-radius: var(--pp-radius-md);
    background: var(--pp-white);
    transition: all var(--pp-transition-slow);
    overflow: hidden;
}

.registry-card:hover {
    box-shadow: var(--pp-shadow-lg);
    transform: translateY(-2px);
}

.registry-card .card-body {
    padding: 1.5rem;
}

.registry-card .card-footer {
    background: var(--pp-gray-50);
    border-top: 1px solid var(--pp-gray-200);
    padding: 1rem 1.5rem;
}


/* ==========================================================================
   Nav Pills (Sidebar active states)
   ========================================================================== */

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: var(--pp-white) !important;
    background-color: var(--pp-dark);
}

.nav-link-app {
    text-align: center;
    letter-spacing: 0;
    background: var(--pp-dark);
    color: var(--pp-white) !important;
    padding: 1rem;
    width: 100%;
}


/* ==========================================================================
   Status Badges
   ========================================================================== */

.badge {
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .03em;
    padding: .375rem .75rem;
}


/* ==========================================================================
   Loading Modal
   ========================================================================== */

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}


/* ==========================================================================
   Scrollbar Styling
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--pp-gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--pp-gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pp-gray-400);
}


/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-gradient {
    background: linear-gradient(135deg, var(--pp-gold), #ffe082);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-subtle-gold {
    background: rgba(252, 183, 21, .06);
}

.bg-subtle-blue {
    background: rgba(42, 139, 234, .06);
}

.debit-amount {
    color: var(--pp-red) !important;
}

.credit-amount {
    color: var(--pp-blue) !important;
}

.badge-primary {
    font-size: .625rem !important;
    background: var(--pp-white);
    color: #004DA6;
}


/* ==========================================================================
   Responsive Tweaks
   ========================================================================== */

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-value {
        font-size: 1.25rem;
    }

    .hero-code {
        display: none;
    }

    .cas-card {
        margin: 1rem;
        max-width: 100%;
    }

    .content-page {
        padding: 2rem .5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .dashboard-welcome {
        padding: 1.5rem;
    }

    /* Disable reveal animations on mobile for performance */
    .feature-card,
    .info-card,
    .api-endpoint-card,
    .stat-item,
    .registry-card {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 575.98px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}


/* ==========================================================================
   Legacy / Card Management (kept for compatibility)
   ========================================================================== */

.feat-card-brand {
    font-size: 5em !important;
}

.feat-bg-green {
    color: #fff !important;
    background-color: var(--pp-dark) !important;
    min-width: 320px;
    max-height: 670px;
}

.feat-bg-blue {
    color: #fff !important;
    background-color: var(--pp-blue) !important;
    min-width: 320px;
    max-height: 670px;
}

.feat-bg-yellow {
    color: #fff !important;
    background-color: #ff9d00 !important;
    min-width: 320px;
    max-height: 670px;
}

.feat-bg-red {
    color: #fff !important;
    background-color: var(--pp-red) !important;
    min-width: 320px;
    max-height: 670px;
}

.feat-video {
    width: 80%;
    border-radius: 21px 21px 0 0;
}

.avatar-circle {
    width: 44px;
    height: 44px;
    background-color: var(--pp-dark);
    text-align: center;
    border-radius: 50%;
}

.initials {
    position: relative;
    top: 13px;
    font-size: 16px;
    line-height: 16px;
    color: #ffffff;
    font-family: var(--pp-font-sans);
}

.product-carousel-indicators {
    bottom: -30px;
}

.product-carousel-indicator {
    background-color: var(--pp-gold) !important;
}

.product-carousel-caption {
    bottom: auto;
    text-align: left;
}

.credit-card-carousel-stage {
    width: 100%;
    height: 55vw;
    object-fit: cover;
    color: #f8f8ff;
    max-width: 450px;
    max-height: 280px;
    border-radius: var(--pp-radius-md);
}

.carousel-item-no-animation {
    transition: unset;
}

.card-form {
    color: var(--pp-gray-500);
}

.card-form .form-label {
    font-size: .75em;
    margin-bottom: .35em;
}

.card-form .form-control {
    margin-bottom: 8px;
}

.ppvc {
    background: #00260c;
}

.ppvc-barcode {
    width: 90%;
}

.cc-brands {
    background: #d3d3d3;
}

.cc-add {
    background: #e0e0e0 !important;
    border-color: black;
    border-width: thin;
    border-style: dashed;
}

.card-center-button {
    font-size: 1.5em;
    text-decoration: unset;
    color: #f8f8ff;
}

.card-center-button-add {
    font-size: 1.5em;
    text-decoration: unset;
    color: #2f4f4f;
}

.card-center-button-minus {
    font-size: 1.5em;
    text-decoration: unset;
    color: var(--pp-gold);
}

.extra-small {
    font-size: .55em;
}

.card-caption {
    left: 0;
    top: -20px;
    position: absolute;
    color: var(--pp-gray-500);
}

.credit-card-carousel-description {
    height: 100px;
}

.credit-card-carousel-indicators .pills {
    background-color: var(--pp-gold);
}

.credit-card-carousel-controls {
    bottom: unset;
    height: 70%;
    color: var(--pp-gold);
    opacity: unset;
}

.credit-card-carousel-controls:focus,
.credit-card-carousel-controls:hover {
    color: var(--pp-gold);
}

.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-back {
    display: none;
    transform: rotateY(180deg);
    font-size: .80em !important;
}

.flip-card-back-btn {
    width: 72px;
    border-radius: 5px;
    font-size: .95em !important;
}

.add-to-google-wallet,
.add-to-apple-wallet {
    height: 40px;
    max-width: 130px;
    margin-bottom: 8px;
}

.fa-lg {
    font-size: 1.75em !important;
    line-height: 1 !important;
}

.fa-card-brand {
    font-size: 4em !important;
}

.fa-2xl {
    font-size: 3em !important;
    line-height: .5em !important;
    vertical-align: -.1875em;
}

.virtual-card-brand {
    width: 72px;
}


/* ==========================================================================
   Backoffice Sidebar
   ========================================================================== */

.bo-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: var(--pp-dark);
    color: var(--pp-white);
    display: flex;
    flex-direction: column;
    z-index: 1030;
}

.bo-sidebar-brand {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-weight: 700;
    font-size: .9375rem;
}

.bo-sidebar-nav {
    flex: 1;
    padding: 1rem .75rem;
    overflow-y: auto;
}

.bo-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .625rem 1rem;
    font-size: .8125rem;
    font-weight: 500;
    color: rgba(255,255,255,.6);
    border-radius: var(--pp-radius-sm);
    transition: all var(--pp-transition);
}

.bo-sidebar-nav a:hover {
    color: var(--pp-white);
    background: rgba(255,255,255,.08);
}

.bo-sidebar-nav a.active {
    color: var(--pp-gold);
    background: rgba(252,183,21,.1);
    font-weight: 600;
}

.bo-sidebar-nav a i {
    width: 18px;
    text-align: center;
    font-size: .875rem;
}

.bo-sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .75rem;
    color: rgba(255,255,255,.45);
}

.bo-sidebar-footer a {
    color: rgba(255,255,255,.6);
    font-size: .75rem;
}

.bo-sidebar-footer a:hover {
    color: var(--pp-gold);
}

.bo-main {
    margin-left: 240px;
    min-height: 100vh;
    background: var(--pp-gray-50);
}

@media (max-width: 991.98px) {
    .bo-sidebar {
        transform: translateX(-100%);
        transition: transform var(--pp-transition-slow);
    }
    .bo-sidebar.show {
        transform: translateX(0);
    }
    .bo-main {
        margin-left: 0;
    }
}
