/* Epic AI Solutions - Main Stylesheet */

/* Custom Properties - Dark Theme Optimized */
:root {
    /* Bootstrap color compatibility */
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    
    /* RGB values for transparency calculations */
    --primary: 13 110 253;
    --secondary: 108 117 125;
    --success: 25 135 84;
    --info: 13 202 240;
    --warning: 255 193 7;
    --danger: 220 53 69;
    --light: 248 249 250;
    --dark: 33 37 41;
    
    /* Dark theme specific variables */
    --bs-body-bg: #1a1a1a;
    --bs-body-color: #ffffff;
    --bs-border-color: #495057;
    --bs-border-color-translucent: rgba(255, 255, 255, 0.175);
    
    /* Custom theme colors with fallbacks */
    --epic-blue: 44 90 160;
    --epic-purple: 107 70 193;
    --epic-green: 16 185 129;
    --epic-gradient: linear-gradient(135deg, #2c5aa0, #6b46c1);
    --epic-gradient: linear-gradient(135deg, rgb(var(--epic-blue)), rgb(var(--epic-purple)));
}

/* Body and Layout */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Enhanced Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2c5aa0, #6b46c1);
    background: var(--epic-gradient);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Feature Cards */
.feature-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.card:hover .feature-icon {
    transform: scale(1.1);
}

/* Assessment Type Cards */
.card.border-primary {
    box-shadow: 0 0 0 2px rgba(var(--primary), 0.25);
}

/* Form Enhancements - Dark Theme Compatible */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-control,
.form-select {
    background-color: var(--bs-dark);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.section-header h6 {
    border-bottom: 2px solid rgb(var(--primary));
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Button Enhancements */
.btn {
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
    background: rgb(var(--epic-blue));
    border-color: rgb(var(--epic-blue));
}

/* Cards and Shadows - Dark Theme Optimized */
.card {
    background-color: var(--bs-dark);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.card-header {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom-color: var(--bs-border-color);
}

.card-footer {
    background-color: rgba(255, 255, 255, 0.05);
    border-top-color: var(--bs-border-color);
}

/* Badge Styles */
.badge {
    font-weight: 500;
}

/* Table Enhancements - Dark Theme Compatible */
.table {
    color: var(--bs-body-color);
}

.table th {
    font-weight: 600;
    border-bottom: 2px solid rgba(13, 110, 253, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
}

.table td {
    border-top-color: var(--bs-border-color);
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

.table-dark {
    --bs-table-bg: var(--bs-dark);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
}

/* Progress Bars */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: rgba(var(--light), 0.5);
}

.progress-bar {
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* Alert Enhancements */
.alert {
    border: none;
    border-left: 4px solid;
}

.alert-info {
    border-left-color: rgb(var(--info));
    background-color: rgba(var(--info), 0.1);
}

.alert-warning {
    border-left-color: rgb(var(--warning));
    background-color: rgba(var(--warning), 0.1);
}

.alert-danger {
    border-left-color: rgb(var(--danger));
    background-color: rgba(var(--danger), 0.1);
}

.alert-success {
    border-left-color: rgb(var(--success));
    background-color: rgba(var(--success), 0.1);
}

/* Dark Theme Alert System - High Contrast */
.alert-success-dark {
    background-color: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #10b981;
    --bs-alert-bg: rgba(16, 185, 129, 0.15);
    --bs-alert-border: #10b981;
    --bs-alert-color: #10b981;
    border-left: 4px solid #10b981;
}

.alert-danger-dark {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #ef4444;
    --bs-alert-bg: rgba(239, 68, 68, 0.15);
    --bs-alert-border: #ef4444;
    --bs-alert-color: #ef4444;
    border-left: 4px solid #ef4444;
}

.alert-warning-dark {
    background-color: rgba(245, 158, 11, 0.15);
    border: 1px solid #f59e0b;
    color: #f59e0b;
    --bs-alert-bg: rgba(245, 158, 11, 0.15);
    --bs-alert-border: #f59e0b;
    --bs-alert-color: #f59e0b;
    border-left: 4px solid #f59e0b;
}

.alert-info-dark {
    background-color: rgba(59, 130, 246, 0.15);
    border: 1px solid #3b82f6;
    color: #3b82f6;
    --bs-alert-bg: rgba(59, 130, 246, 0.15);
    --bs-alert-border: #3b82f6;
    --bs-alert-color: #3b82f6;
    border-left: 4px solid #3b82f6;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgb(var(--primary));
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .no-print,
    .card-footer,
    .pagination {
        display: none !important;
    }
    
    .card {
        border: 1px solid #dee2e6 !important;
        box-shadow: none !important;
    }
    
    .container {
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Accessibility Enhancements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for better keyboard navigation */
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
    outline: 2px solid rgb(var(--primary));
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(var(--light), 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--secondary), 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--secondary), 0.8);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/* Assessment Form Specific Styles - Dark Theme Native */
.assessment-profile-summary {
    background-color: var(--bs-dark);
    border: 1px solid var(--bs-border-color);
    color: var(--bs-body-color);
    border-radius: 0.375rem;
    padding: 1rem;
}

.assessment-profile-summary .text-muted {
    color: var(--bs-secondary-color);
}

/* Assessment Profile Text Styling - Dark Theme Compatible */
.assessment-profile-text {
    color: var(--bs-body-color);
    margin-bottom: 0.25rem;
}

.assessment-profile-heading {
    color: var(--bs-body-color);
    font-weight: 600;
}

/* Utility Classes */
.text-gradient {
    background: var(--epic-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--bs-primary); /* Fallback for browsers without background-clip support */
}

.bg-gradient-primary {
    background: var(--epic-gradient) !important;
}

.border-gradient {
    border: 2px solid;
    border-image: var(--epic-gradient) 1;
}

/* Custom spacing utilities */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.my-6 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
}

/* Integration Assessment Styles - Dark Theme Native */
.tech-stack-container {
    min-height: 120px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    padding: 0.75rem;
    background-color: var(--bs-dark);
    margin-bottom: 1rem;
}

.tech-stack-container .form-check {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.tech-stack-container .form-check:last-child {
    margin-bottom: 0;
}

.tech-stack-container .form-check-input {
    margin-right: 0.5rem;
    background-color: var(--bs-dark);
    border-color: var(--bs-border-color);
}

.tech-stack-container .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.tech-stack-container .form-check-label {
    font-weight: 500;
    margin-left: 0.25rem;
    color: var(--bs-body-color);
}

.assessment-section-header {
    border-bottom: 2px solid var(--bs-primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.assessment-section-header h6 {
    color: var(--bs-primary);
    margin-bottom: 0;
}

.business-profile-card {
    background-color: var(--bs-dark);
    border: 1px solid var(--bs-border-color);
    color: var(--bs-body-color);
}

.integration-header-card {
    background: linear-gradient(135deg, var(--bs-success) 0%, var(--bs-teal) 100%);
    color: white;
}

/* Form Check Inputs - Dark Theme */
.form-check-input {
    background-color: var(--bs-dark);
    border-color: var(--bs-border-color);
}

/* Alert Text Overrides for Dark Mode Compatibility */
.alert-info .alert-heading,
.alert-info h5,
.alert-info p {
    color: white !important;
}

.alert-warning .alert-heading,
.alert-warning h6,
.alert-warning p,
.alert-warning li,
.alert-warning strong {
    color: white !important;
}

/* Card Header Dark Mode Fix */
.card-header.bg-light {
    background-color: var(--bs-dark) !important;
    color: var(--bs-body-color) !important;
    border-bottom: 1px solid var(--bs-border-color) !important;
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-check-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-check-label {
    color: var(--bs-body-color);
}

/* Custom Green CTA Button - Pill Shaped with Neon Glow */
.btn-epic-green {
    background-color: #10B981 !important;
    border-color: #10B981 !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 25px rgba(16, 185, 129, 0.6),
        0 0 50px rgba(16, 185, 129, 0.3),
        0 0 75px rgba(16, 185, 129, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.btn-epic-green:hover {
    background-color: #0EA373 !important;
    border-color: #0EA373 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 
        0 0 40px rgba(16, 185, 129, 0.8),
        0 0 80px rgba(16, 185, 129, 0.4),
        0 0 120px rgba(16, 185, 129, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

.btn-epic-green:focus {
    background-color: #0EA373 !important;
    border-color: #0EA373 !important;
    color: white !important;
    box-shadow: 
        0 0 25px rgba(16, 185, 129, 0.5),
        0 0 50px rgba(16, 185, 129, 0.25),
        0 0 0 0.2rem rgba(16, 185, 129, 0.25) !important;
}

.btn-epic-green:active {
    background-color: #059669 !important;
    border-color: #059669 !important;
    color: white !important;
}

/* Billing CTA Button Styles - Matching Design System */
/* Primary Purchase Button - Purple with Glow */
.btn-purchase-primary {
    background-color: #8B5CF6 !important;
    border-color: #8B5CF6 !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.4),
        0 0 40px rgba(139, 92, 246, 0.2),
        0 0 60px rgba(139, 92, 246, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.btn-purchase-primary:hover {
    background-color: #7C3AED !important;
    border-color: #7C3AED !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.6),
        0 0 60px rgba(139, 92, 246, 0.3),
        0 0 90px rgba(139, 92, 246, 0.15),
        0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

.btn-purchase-primary:focus {
    background-color: #7C3AED !important;
    border-color: #7C3AED !important;
    color: white !important;
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.4),
        0 0 40px rgba(139, 92, 246, 0.2),
        0 0 0 0.2rem rgba(139, 92, 246, 0.25) !important;
}

.btn-purchase-primary:active {
    background-color: #6D28D9 !important;
    border-color: #6D28D9 !important;
    color: white !important;
}

/* Secondary Purchase Button - Blue with Glow */
.btn-purchase-secondary {
    background-color: #3B82F6 !important;
    border-color: #3B82F6 !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.4),
        0 0 40px rgba(59, 130, 246, 0.2),
        0 0 60px rgba(59, 130, 246, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.btn-purchase-secondary:hover {
    background-color: #2563EB !important;
    border-color: #2563EB !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 
        0 0 30px rgba(59, 130, 246, 0.6),
        0 0 60px rgba(59, 130, 246, 0.3),
        0 0 90px rgba(59, 130, 246, 0.15),
        0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

.btn-purchase-secondary:focus {
    background-color: #2563EB !important;
    border-color: #2563EB !important;
    color: white !important;
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.4),
        0 0 40px rgba(59, 130, 246, 0.2),
        0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
}

.btn-purchase-secondary:active {
    background-color: #1D4ED8 !important;
    border-color: #1D4ED8 !important;
    color: white !important;
}

/* Success Action Button - Green with Glow */
.btn-subscription-success {
    background-color: #10B981 !important;
    border-color: #10B981 !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(16, 185, 129, 0.4),
        0 0 40px rgba(16, 185, 129, 0.2),
        0 0 60px rgba(16, 185, 129, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.btn-subscription-success:hover {
    background-color: #0EA373 !important;
    border-color: #0EA373 !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 
        0 0 30px rgba(16, 185, 129, 0.6),
        0 0 60px rgba(16, 185, 129, 0.3),
        0 0 90px rgba(16, 185, 129, 0.15),
        0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

.btn-subscription-success:focus {
    background-color: #0EA373 !important;
    border-color: #0EA373 !important;
    color: white !important;
    box-shadow: 
        0 0 20px rgba(16, 185, 129, 0.4),
        0 0 40px rgba(16, 185, 129, 0.2),
        0 0 0 0.2rem rgba(16, 185, 129, 0.25) !important;
}

.btn-subscription-success:active {
    background-color: #059669 !important;
    border-color: #059669 !important;
    color: white !important;
}

/* Disabled Plan Button - Pill Shaped */
.btn-plan-disabled {
    border-radius: 50px !important;
}

/* Downgrade Button Styling - Orange Theme */
.btn-downgrade {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    border: none !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(245, 158, 11, 0.4),
        0 0 40px rgba(245, 158, 11, 0.2),
        0 0 60px rgba(245, 158, 11, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.btn-downgrade:hover {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    border: none !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 
        0 0 30px rgba(245, 158, 11, 0.6),
        0 0 60px rgba(245, 158, 11, 0.3),
        0 0 90px rgba(245, 158, 11, 0.15),
        0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

.btn-downgrade:focus {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    border: none !important;
    color: white !important;
    box-shadow: 
        0 0 20px rgba(245, 158, 11, 0.4),
        0 0 40px rgba(245, 158, 11, 0.2),
        0 0 0 0.2rem rgba(245, 158, 11, 0.25) !important;
}

.btn-downgrade:active {
    background: linear-gradient(135deg, #b45309, #92400e) !important;
    border: none !important;
    color: white !important;
}

/* Cancellation Button Styling - Red Theme */
.btn-downgrade-cancel {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    border: none !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(239, 68, 68, 0.4),
        0 0 40px rgba(239, 68, 68, 0.2),
        0 0 60px rgba(239, 68, 68, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.btn-downgrade-cancel:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    border: none !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 
        0 0 30px rgba(239, 68, 68, 0.6),
        0 0 60px rgba(239, 68, 68, 0.3),
        0 0 90px rgba(239, 68, 68, 0.15),
        0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

.btn-downgrade-cancel:focus {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    border: none !important;
    color: white !important;
    box-shadow: 
        0 0 20px rgba(239, 68, 68, 0.4),
        0 0 40px rgba(239, 68, 68, 0.2),
        0 0 0 0.2rem rgba(239, 68, 68, 0.25) !important;
}

.btn-downgrade-cancel:active {
    background: linear-gradient(135deg, #b91c1c, #991b1b) !important;
    border: none !important;
    color: white !important;
}

/* Form Submission Protection Button States */
.btn-processing {
    position: relative;
    pointer-events: none;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

.btn-stripe-loading {
    position: relative;
    pointer-events: none !important;
    opacity: 0.8 !important;
    cursor: wait !important;
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    border-color: #6366f1 !important;
    color: white !important;
    transition: all 0.3s ease;
}

.btn-stripe-loading:hover,
.btn-stripe-loading:focus,
.btn-stripe-loading:active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    border-color: #6366f1 !important;
    color: white !important;
    transform: none !important;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4) !important;
}

.btn-stripe-loading .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
    animation: spinner-border 0.75s linear infinite;
}

/* Processing state animations */
@keyframes processing-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.9; }
}

.btn-processing {
    animation: processing-pulse 1.5s ease-in-out infinite;
}

/* Disabled state override for protected forms */
form[data-protected="true"] button[disabled],
form[data-protected="true"] input[disabled],
form[data-protected="true"] select[disabled],
form[data-protected="true"] textarea[disabled] {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Success state for completed submissions */
.btn-submission-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border-color: #10b981 !important;
    color: white !important;
    pointer-events: none !important;
}

.btn-submission-success::before {
    content: '✓ ';
    font-weight: bold;
    margin-right: 0.25rem;
}

/* Mobile-specific button width adjustments */
@media (max-width: 576px) {
    .btn-epic-green {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .d-grid .btn-epic-green {
        width: 100%;
        max-width: 280px;
        justify-self: center;
    }
    
    .btn-downgrade,
    .btn-downgrade-cancel {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .btn-stripe-loading {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}
