/* VectraHub V2 - Global Design System
   Shared styles for all pages using the new modern design
   ============================================= */

/* ==========================================
   CSS Variables / Design Tokens
   ========================================== */
:root {
    /* Primary Colors - Cyan/Teal Accent */
    --v2-primary: #00ffd1;
    --v2-primary-dark: #00e5bb;
    --v2-primary-light: #22f5d5;
    --v2-primary-rgb: 0, 255, 209;

    /* Background Colors - Deep Teal/Navy */
    --v2-bg-dark: #0a1015;
    --v2-bg-darker: #070b0e;
    --v2-bg-teal: #0d1a1a;
    --v2-bg-light: #f6f8f7;
    --v2-surface-dark: #111a1f;
    --v2-surface-darker: #0c1418;
    --v2-surface-light: #ffffff;
    --v2-card-dark: rgba(17, 26, 31, 0.95);
    --v2-card-glass: rgba(17, 26, 31, 0.8);

    /* Text Colors */
    --v2-text-light: #f8fafc;
    --v2-text-white: #ffffff;
    --v2-text-dark: #0d1b13;
    --v2-text-muted: #7a8c99;
    --v2-text-muted-dark: #64748b;
    --v2-text-secondary: #92c9a8;

    /* Border Colors */
    --v2-border-light: rgba(0, 255, 209, 0.08);
    --v2-border-subtle: rgba(255, 255, 255, 0.05);
    --v2-border-primary: rgba(0, 255, 209, 0.2);
    --v2-border-dark: #e7f3ec;

    /* Shadows */
    --v2-shadow-soft: 0 20px 40px -10px rgba(0, 255, 209, 0.15);
    --v2-shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --v2-shadow-glow: 0 0 40px rgba(0, 255, 209, 0.2);

    /* Spacing */
    --v2-radius-sm: 0.5rem;
    --v2-radius-md: 0.75rem;
    --v2-radius-lg: 1rem;
    --v2-radius-xl: 1.5rem;
    --v2-radius-2xl: 2rem;

    /* Fonts */
    --v2-font: 'Plus Jakarta Sans', 'Inter', -apple-system, system-ui, sans-serif;
}

/* ==========================================
   Base Styles
   ========================================== */
.page-v2 {
    font-family: var(--v2-font);
    background: linear-gradient(135deg, var(--v2-bg-dark) 0%, var(--v2-bg-teal) 50%, var(--v2-bg-darker) 100%);
    background-attachment: fixed;
    color: var(--v2-text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Add subtle teal glow effect at top */
.page-v2::before {
    content: '';
    position: fixed;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(0, 255, 209, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.page-v2.light {
    background: var(--v2-bg-light);
    color: var(--v2-text-dark);
}

.page-v2.light::before {
    display: none;
}

/* Container */
.container-v2 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container-v2 {
        padding: 0 2rem;
    }
}

/* ==========================================
   Background Elements
   ========================================== */
.bg-blob-v2 {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.bg-blob-v2.primary {
    background-color: rgba(var(--v2-primary-rgb), 0.08);
}

.bg-blob-v2.secondary {
    background-color: rgba(34, 211, 238, 0.05);
}

/* ==========================================
   Navigation V2
   ========================================== */
.nav-v2 {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--v2-border-light);
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.page-v2.light .nav-v2 {
    background: rgba(246, 248, 247, 0.85);
    border-bottom-color: var(--v2-border-dark);
}

.nav-v2-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .nav-v2-inner {
        padding: 0 2.5rem;
    }
}

.nav-v2-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-v2-brand img {
    height: 32px;
    width: 32px;
}

.nav-v2-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--v2-text-light);
}

.page-v2.light .nav-v2-brand-text {
    color: var(--v2-text-dark);
}

.nav-v2-brand-text .accent {
    color: var(--v2-primary);
}

.nav-v2-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-v2-links {
        display: flex;
    }
}

.nav-v2-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--v2-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-v2-links a:hover,
.nav-v2-links a.active {
    color: var(--v2-primary);
}

.nav-v2-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link-v2 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--v2-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link-v2:hover {
    color: var(--v2-text-light);
}

/* ==========================================
   Buttons V2
   ========================================== */
.btn-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--v2-radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-v2-primary {
    background: var(--v2-primary);
    color: #000000 !important;
    box-shadow: 0 0 20px rgba(var(--v2-primary-rgb), 0.3);
}

.btn-v2-primary .btn-text,
.btn-v2-primary .spinner-border {
    color: #000000 !important;
}

.btn-v2-primary:hover {
    background: var(--v2-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(var(--v2-primary-rgb), 0.4);
}

.btn-v2-outline {
    background: transparent;
    color: var(--v2-text-light);
    border: 1px solid var(--v2-border-light);
}

.btn-v2-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--v2-primary);
    color: var(--v2-primary);
}

.btn-v2-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--v2-text-light);
    border: 1px solid var(--v2-border-light);
}

.btn-v2-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-v2-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-v2:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.w-full {
    width: 100%;
}

/* ==========================================
   Cards V2
   ========================================== */
.card-v2 {
    background: var(--v2-card-dark);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--v2-border-light);
    border-radius: var(--v2-radius-xl);
    overflow: hidden;
    transition: all 0.3s;
}

.page-v2.light .card-v2 {
    background: var(--v2-surface-light);
    border-color: #cfe7d9;
}

.card-v2:hover {
    transform: translateY(-4px);
    box-shadow: var(--v2-shadow-card);
}

.card-v2-content {
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .card-v2-content {
        padding: 2rem;
    }
}

/* ==========================================
   Section Headers
   ========================================== */
.section-header-v2 {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-v2 h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--v2-text-light);
    margin-bottom: 0.75rem;
}

.page-v2.light .section-header-v2 h2 {
    color: var(--v2-text-dark);
}

.section-header-v2 p {
    font-size: 1.125rem;
    color: var(--v2-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-header-v2 .label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--v2-primary);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .section-header-v2 h2 {
        font-size: 2.5rem;
    }
}

/* ==========================================
   Feature Cards Grid
   ========================================== */
.features-grid-v2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card-v2 {
    background: var(--v2-surface-dark);
    border: 1px solid var(--v2-border-light);
    border-radius: var(--v2-radius-xl);
    padding: 1.5rem;
    transition: all 0.3s;
}

.feature-card-v2:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--v2-primary-rgb), 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.page-v2.light .feature-card-v2 {
    background: var(--v2-surface-light);
    border-color: #cfe7d9;
}

.feature-card-v2-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--v2-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.feature-card-v2:hover .feature-card-v2-icon {
    transform: scale(1.1);
}

.feature-card-v2-icon.primary {
    background: rgba(var(--v2-primary-rgb), 0.15);
    color: var(--v2-primary);
}

.feature-card-v2-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.feature-card-v2-icon.purple {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.feature-card-v2-icon.orange {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.feature-card-v2-icon.pink {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}

.feature-card-v2-icon.red {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.feature-card-v2-icon.teal {
    background: rgba(20, 184, 166, 0.15);
    color: #14b8a6;
}

.feature-card-v2-icon.yellow {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.feature-card-v2 h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--v2-text-light);
    margin-bottom: 0.5rem;
}

.page-v2.light .feature-card-v2 h3 {
    color: var(--v2-text-dark);
}

.feature-card-v2 p {
    font-size: 0.875rem;
    color: var(--v2-text-muted);
    line-height: 1.6;
}

/* ==========================================
   Page Hero
   ========================================== */
.page-hero-v2 {
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.page-hero-v2 h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--v2-text-light);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.page-v2.light .page-hero-v2 h1 {
    color: var(--v2-text-dark);
}

.page-hero-v2 p {
    font-size: 1.125rem;
    color: var(--v2-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .page-hero-v2 {
        padding: 5rem 0;
    }

    .page-hero-v2 h1 {
        font-size: 3.5rem;
    }
}

/* ==========================================
   Breadcrumbs
   ========================================== */
.breadcrumbs-v2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.breadcrumbs-v2 a {
    color: var(--v2-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs-v2 a:hover {
    color: var(--v2-primary);
}

.breadcrumbs-v2 span {
    color: var(--v2-text-muted);
}

.breadcrumbs-v2 .current {
    color: var(--v2-text-light);
    font-weight: 600;
}

.page-v2.light .breadcrumbs-v2 .current {
    color: var(--v2-text-dark);
}

/* ==========================================
   Footer V2
   ========================================== */
.footer-v2 {
    background: var(--v2-surface-dark);
    border-top: 1px solid var(--v2-border-light);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.page-v2.light .footer-v2 {
    background: var(--v2-surface-light);
    border-top-color: var(--v2-border-dark);
}

.footer-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-v2-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
}

.footer-v2-brand {
    max-width: 300px;
}

.footer-v2-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-v2-brand-logo img {
    height: 28px;
    width: 28px;
}

.footer-v2-brand-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--v2-text-light);
}

.page-v2.light .footer-v2-brand-logo span {
    color: var(--v2-text-dark);
}

.footer-v2-brand-logo .accent {
    color: var(--v2-primary);
}

.footer-v2-brand p {
    font-size: 0.875rem;
    color: var(--v2-text-muted);
    line-height: 1.6;
}

.footer-v2-links h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--v2-text-light);
    margin-bottom: 1rem;
}

.page-v2.light .footer-v2-links h4 {
    color: var(--v2-text-dark);
}

.footer-v2-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-v2-links a {
    font-size: 0.875rem;
    color: var(--v2-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-v2-links a:hover {
    color: var(--v2-primary);
}

.footer-v2-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--v2-border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-v2-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-v2-bottom p {
    font-size: 0.875rem;
    color: var(--v2-text-muted);
}

/* Footer Social Links */
.footer-v2-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer-v2-social {
        margin-top: 0;
    }
}

.footer-v2-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--v2-text-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-v2-social a:hover {
    transform: translateY(-3px);
}

/* Instagram Glow */
.footer-v2-social a.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: rgba(225, 48, 108, 0.5);
    color: #fff;
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.5);
}

/* X (Twitter) Glow */
.footer-v2-social a.twitter:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Reddit Glow */
.footer-v2-social a.reddit:hover {
    background: rgba(255, 69, 0, 0.2);
    border-color: rgba(255, 69, 0, 0.5);
    color: #ff4500;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}

.footer-v2-social svg {
    width: 18px;
    height: 18px;
}

/* ==========================================
   Form Inputs V2
   ========================================== */
.input-v2 {
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid rgba(var(--v2-primary-rgb), 0.2);
    border-radius: var(--v2-radius-md);
    color: var(--v2-text-light);
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.page-v2.light .input-v2 {
    background: var(--v2-surface-light);
    border-color: #cfe7d9;
    color: var(--v2-text-dark);
}

.input-v2::placeholder {
    color: var(--v2-text-muted);
}

.input-v2:focus {
    outline: none;
    border-color: var(--v2-primary);
    box-shadow: 0 0 0 3px rgba(var(--v2-primary-rgb), 0.15);
}

.textarea-v2 {
    min-height: 120px;
    padding: 1rem;
    resize: vertical;
}

/* ==========================================
   Pricing Cards
   ========================================== */
.pricing-grid-v2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .pricing-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card-v2 {
    background: var(--v2-surface-dark);
    border: 1px solid var(--v2-border-light);
    border-radius: var(--v2-radius-xl);
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
}

.pricing-card-v2.featured {
    border: 2px solid var(--v2-primary);
    box-shadow: var(--v2-shadow-soft);
    transform: scale(1.02);
    z-index: 1;
}

.pricing-card-v2:hover {
    transform: translateY(-4px);
}

.pricing-card-v2.featured:hover {
    transform: translateY(-4px) scale(1.02);
}

.pricing-card-v2-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
}

.pricing-card-v2-header {
    margin-bottom: 1.5rem;
}

.pricing-card-v2 h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--v2-text-light);
    margin-bottom: 0.5rem;
}

.pricing-card-v2 .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--v2-text-light);
}

.pricing-card-v2 .price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--v2-text-muted);
}

.pricing-card-v2 .description {
    font-size: 0.875rem;
    color: var(--v2-text-muted);
    margin-top: 0.5rem;
}

.pricing-card-v2-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-card-v2-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--v2-text-muted);
}

.pricing-card-v2-features li::before {
    content: "✓";
    color: var(--v2-primary);
    font-weight: bold;
    flex-shrink: 0;
}

/* ==========================================
   FAQ Accordion
   ========================================== */
.faq-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item-v2 {
    background: var(--v2-surface-dark);
    border: 1px solid var(--v2-border-light);
    border-radius: var(--v2-radius-lg);
    overflow: hidden;
}

.faq-item-v2 summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: var(--v2-text-light);
    list-style: none;
}

.faq-item-v2 summary::-webkit-details-marker {
    display: none;
}

.faq-item-v2 summary::after {
    content: "▼";
    font-size: 0.75rem;
    color: var(--v2-text-muted);
    transition: transform 0.3s;
}

.faq-item-v2[open] summary::after {
    transform: rotate(180deg);
}

.faq-item-v2 .faq-content {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--v2-text-muted);
    line-height: 1.7;
}

/* ==========================================
   Alerts
   ========================================== */
.alert-v2 {
    padding: 1rem 1.25rem;
    border-radius: var(--v2-radius-md);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.alert-v2.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.alert-v2.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-v2.warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fcd34d;
}

.alert-v2.info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

/* ==========================================
   Utility Classes
   ========================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none !important;
}

.d-none {
    display: none !important;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-auto {
    margin-top: auto;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

/* ==========================================
   Scrollbar
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(var(--v2-primary-rgb), 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(var(--v2-primary-rgb), 0.5);
}

/* ==========================================
   Utility Classes
   ========================================== */
.d-none {
    display: none !important;
}

.hidden {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

/* ==========================================
   Spinner for loading states
   ========================================== */
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: -0.125em;
    border: 0.2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 0.15em;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

@keyframes progress-pulse {

    0%,
    100% {
        width: 30%;
        opacity: 1;
    }

    50% {
        width: 70%;
        opacity: 0.7;
    }
}