/* ============================================
   MAXIMIZE ASSESSORIA - HOMEPAGE STYLES
   Inspired by minha.franquia.com.br
   Clean, Modern & Professional Design
   ============================================ */

/* ===== VARIABLES ===== */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #0f172a;
    --accent-color: #22c55e;
    --warning-color: #f59e0b;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-primary-custom {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.4);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.5);
    color: #fff;
}

.btn-outline-custom {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-outline-custom:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.badge-item i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* ===== SECTIONS COMMON ===== */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FEATURED FRANCHISES SECTION ===== */
.featured-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

/* Franchise Cards */
.franchise-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.franchise-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8fafc;
    transition: transform 0.5s ease;
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 3rem;
}

.franchise-card:hover .card-image img {
    transform: scale(1.02);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card-location {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.card-location i {
    color: var(--text-light);
    margin-right: 0.25rem;
}

.card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-card {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    border: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-card:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Empty State */
.empty-state {
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-state i {
    color: var(--text-light);
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.step-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.step-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.02) 0%, var(--bg-primary) 100%);
}

.step-card.featured::before {
    content: 'Mais Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(99, 102, 241, 0.1);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.step-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
}

.step-features li i {
    color: var(--accent-color);
    font-size: 0.875rem;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    margin: 0 auto 1.5rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.faq-accordion .accordion-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    padding: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: none;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.05);
    color: var(--primary-color);
}

.faq-accordion .accordion-button::after {
    background-size: 1rem;
    width: 1rem;
    height: 1rem;
}

.faq-accordion .accordion-button i {
    color: var(--primary-color);
}

.faq-accordion .accordion-body {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn-cta-primary {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    background: #fff;
    border: none;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--primary-dark);
}

.btn-cta-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .featured-section,
    .how-it-works-section,
    .faq-section,
    .cta-section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .trust-badges {
        gap: 1rem;
    }

    .badge-item {
        font-size: 0.75rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .step-card {
        padding: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem 0.5rem;
    }
}

/* ============================================
   HERO SECTION PREMIUM - COM IMAGEM E CEO
   ============================================ */

.hero-section-premium {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0f0f2a 100%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(34, 197, 94, 0.05) 0%, transparent 60%);
    z-index: 1;
}

/* Badge Premium */
.hero-badge-premium span {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fbbf24;
    backdrop-filter: blur(10px);
}

.hero-badge-premium i {
    color: #fbbf24;
}

/* Título Premium */
.hero-title-premium {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtítulo Premium */
.hero-subtitle-premium {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 500px;
}

/* CTAs Premium */
.hero-cta-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-gold {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0a0a1a;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
    color: #0a0a1a;
}

.btn-outline-light-premium {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-outline-light-premium:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

/* Trust Badges Premium */
.trust-badges-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-badge-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.trust-badge-icon i {
    font-size: 1.25rem;
    color: #fbbf24;
}

.trust-badge-text {
    display: flex;
    flex-direction: column;
}

.trust-badge-text strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.trust-badge-text span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* CEO Image Container */
.ceo-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.ceo-image-wrapper {
    position: relative;
    z-index: 2;
}

.ceo-image {
    max-height: 550px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.ceo-placeholder {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(99, 102, 241, 0.3);
}

.ceo-placeholder i {
    font-size: 5rem;
    color: rgba(99, 102, 241, 0.4);
}

/* Floating Stat Cards */
.floating-stat-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: floatCard 5s ease-in-out infinite;
    z-index: 3;
}

.floating-stat-card.card-top-right {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.floating-stat-card.card-bottom-left {
    bottom: 15%;
    left: 0;
    animation-delay: 1.5s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating-stat-card .stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-radius: 12px;
    margin: 0;
}

.floating-stat-card .stat-icon i {
    font-size: 1.25rem;
    color: #0a0a1a;
}

.floating-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.floating-stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.floating-stat-card .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Scroll Indicator Premium */
.scroll-indicator-premium {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator-premium a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.scroll-indicator-premium a:hover {
    color: #fbbf24;
}

.scroll-indicator-premium span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator-premium i {
    font-size: 1.25rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* ============================================
   CTA SECTION PREMIUM - CORES VIBRANTES
   ============================================ */

.cta-section-premium {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0f0f2a 100%);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.cta-badge span {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fbbf24;
}

.cta-title-premium {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.cta-subtitle-premium {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.cta-buttons-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn-gold-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0a0a1a;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border: none;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.btn-gold-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5);
    color: #0a0a1a;
}

.btn-outline-light-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.btn-outline-light-lg:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.cta-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.benefit-item i {
    font-size: 1.25rem;
    color: #fbbf24;
}

/* ===== RESPONSIVE HERO & CTA PREMIUM ===== */
@media (max-width: 991.98px) {
    .hero-section-premium {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .ceo-image-container {
        display: none;
    }

    .hero-title-premium {
        text-align: center;
    }

    .hero-subtitle-premium {
        text-align: center;
        max-width: 100%;
    }

    .hero-cta-premium {
        justify-content: center;
    }

    .trust-badges-premium {
        justify-content: center;
    }

    .cta-section-premium {
        padding: 80px 0;
    }
}

@media (max-width: 767.98px) {
    .hero-cta-premium {
        flex-direction: column;
    }

    .hero-cta-premium .btn {
        width: 100%;
        text-align: center;
    }

    .trust-badges-premium {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons-premium {
        flex-direction: column;
    }

    .cta-buttons-premium .btn {
        width: 100%;
    }

    .cta-benefits {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 575.98px) {
    .hero-title-premium {
        font-size: 2rem;
    }

    .hero-badge-premium span {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .cta-title-premium {
        font-size: 1.75rem;
    }
}

section#destaques {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* ============================================
   AUTHENTICATION PAGES (LOGIN / REGISTER)
   ============================================ */

.auth-section {
    min-height: 100vh;
    display: flex;
    background: #0a0a1a;
}

.auth-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Auth Branding Side */
.auth-branding {
    flex: 1;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0f0f2a 100%);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-branding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.auth-branding-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 3rem;
}

.auth-logo i {
    font-size: 2rem;
    color: #fbbf24;
}

.auth-brand-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.auth-brand-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.auth-feature i {
    color: #fbbf24;
    font-size: 1.25rem;
}

.auth-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-stats .stat {
    display: flex;
    flex-direction: column;
}

.auth-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fbbf24;
}

.auth-stats .stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Auth Form Side */
.auth-form-container {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 450px;
}

.auth-form-header {
    margin-bottom: 2.5rem;
}

.auth-form-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.auth-form-header p {
    color: #64748b;
}

/* Form Groups */
.form-group-premium {
    margin-bottom: 1.5rem;
}

.form-group-premium label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: #9ca3af;
    font-size: 1rem;
}

.input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    font-size: 1rem;
    color: #0f172a;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.input-wrapper input::placeholder {
    color: #9ca3af;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
}

.toggle-password:hover {
    color: #6366f1;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #64748b;
}

.checkbox-wrapper input {
    width: 18px;
    height: 18px;
    accent-color: #6366f1;
}

.forgot-link {
    font-size: 0.875rem;
    color: #6366f1;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Auth Buttons */
.btn-auth-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #0a0a1a;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    color: #0a0a1a;
}

.btn-auth-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-auth-secondary:hover {
    border-color: #6366f1;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    padding: 0 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Auth Footer */
.auth-footer {
    margin-top: 2rem;
    text-align: center;
}

.auth-footer p {
    font-size: 0.75rem;
    color: #9ca3af;
}

.auth-footer a {
    color: #6366f1;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Form Row */
.form-row.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Auth Responsive */
@media (max-width: 991.98px) {
    .auth-branding {
        display: none;
    }

    .auth-form-container {
        padding: 40px 20px;
    }
}

@media (max-width: 575.98px) {
    .form-row.two-columns {
        grid-template-columns: 1fr;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* ============================================
   DASHBOARD PAGES
   ============================================ */

.dashboard-section {
    background: #f8fafc;
    min-height: 100vh;
    padding-top: 80px;
}

/* Sidebar */
.dashboard-sidebar {
    background: #0f172a;
    min-height: calc(100vh - 80px);
    padding: 0;
    position: sticky;
    top: 80px;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.user-info h6 {
    color: #fff;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

.user-info span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.sidebar-nav {
    padding: 1.5rem 0;
}

.nav-section {
    margin-bottom: 2rem;
}

.nav-section-title {
    display: block;
    padding: 0 1.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-item a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.nav-item.active a {
    background: rgba(99, 102, 241, 0.15);
    color: #fff;
    border-left-color: #6366f1;
}

.nav-item a i {
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.logout-btn:hover {
    color: #ef4444;
}

/* Main Content */
.dashboard-main {
    padding: 2rem;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-text h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.welcome-text p {
    color: #64748b;
    margin: 0;
}

.btn-dashboard-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0a0a1a;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border: none;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dashboard-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    color: #0a0a1a;
}

.btn-dashboard-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6366f1;
    background: transparent;
    border: 2px solid #6366f1;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-dashboard-outline:hover {
    background: #6366f1;
    color: #fff;
}

/* Stat Cards Dashboard */
.stat-card-dashboard {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card-dashboard:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.blue {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.stat-icon.green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.stat-icon.purple {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.stat-icon.gold {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-content .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.stat-content .stat-label {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Alert Card */
.alert-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 14px;
}

.alert-card.warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-icon {
    width: 48px;
    height: 48px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.alert-content p {
    font-size: 0.875rem;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.alert-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.alert-content li {
    font-size: 0.875rem;
    color: #92400e;
    padding: 0.25rem 0;
}

.btn-renew {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: #f59e0b;
    border-radius: 6px;
    text-decoration: none;
    margin-left: 0.5rem;
}

.btn-renew:hover {
    background: #d97706;
    color: #fff;
}

/* Dashboard Card */
.dashboard-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header-dashboard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.card-header-dashboard h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.view-all-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6366f1;
    text-decoration: none;
}

.view-all-link:hover {
    color: #4f46e5;
}

.card-body-dashboard {
    padding: 1.5rem;
}

/* Franchise List */
.franchise-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.franchise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.franchise-item:hover {
    background: #f1f5f9;
}

.franchise-image {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.franchise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.franchise-info {
    flex: 1;
    min-width: 0;
}

.franchise-info h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.franchise-info .location {
    font-size: 0.75rem;
    color: #64748b;
}

.franchise-info .location i {
    margin-right: 0.25rem;
}

.franchise-status {
    flex-shrink: 0;
}

.status-badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.status-badge.inactive {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
}

.franchise-views {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.franchise-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-action {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

/* Subscription List */
.subscription-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscription-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
}

.subscription-info {
    flex: 1;
    min-width: 0;
}

.subscription-info h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.subscription-info .package-name {
    font-size: 0.75rem;
    color: #6366f1;
}

.subscription-expiry {
    text-align: center;
    flex-shrink: 0;
}

.subscription-expiry .days-left {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.subscription-expiry .days-label {
    font-size: 0.65rem;
    color: #64748b;
    text-transform: uppercase;
}

.btn-renew-small {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: #6366f1;
    border-radius: 6px;
    text-decoration: none;
}

.btn-renew-small:hover {
    background: #4f46e5;
    color: #fff;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-action-btn:hover {
    background: rgba(99, 102, 241, 0.1);
}

.quick-action-btn i {
    font-size: 1.25rem;
    color: #6366f1;
}

.quick-action-btn span {
    font-size: 0.7rem;
    font-weight: 500;
    color: #64748b;
    text-align: center;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-state i {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.empty-state h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.empty-state.small {
    padding: 2rem 1rem;
}

.empty-state.small i {
    font-size: 2rem;
}

.empty-state.small p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Dashboard Responsive */
@media (max-width: 991.98px) {
    .dashboard-sidebar {
        display: none;
    }

    .dashboard-main {
        padding: 1.5rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .franchise-item {
        flex-wrap: wrap;
    }

    .franchise-status,
    .franchise-views {
        display: none;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   FRANCHISE CARDS FOR DASHBOARD
   ============================================ */

.franchise-card-dashboard {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.franchise-card-dashboard:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.franchise-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.franchise-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8fafc;
    transition: transform 0.5s ease;
}

.franchise-card-dashboard:hover .franchise-card-image img {
    transform: scale(1.05);
}

.franchise-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.franchise-card-placeholder i {
    font-size: 3rem;
    color: #cbd5e1;
}

.franchise-card-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.franchise-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.franchise-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.franchise-card-location {
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.franchise-card-location i {
    margin-right: 0.25rem;
    color: #94a3b8;
}

.franchise-card-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.franchise-card-price {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 10px;
}

.franchise-card-price .price-label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.franchise-card-price .price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #6366f1;
}

.franchise-card-stats {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.franchise-card-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
}

.franchise-card-stats .stat i {
    color: #94a3b8;
}

.franchise-card-actions {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}

.btn-card-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-card-action:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

.btn-card-action.primary {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-color: transparent;
    color: #0a0a1a;
}

.btn-card-action.primary:hover {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination-custom {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-custom li a,
.pagination-custom li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination-custom li a:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

.pagination-custom li.active a,
.pagination-custom li.active span {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

.pagination-custom li.disabled span {
    background: #f8fafc;
    color: #cbd5e1;
    cursor: not-allowed;
}

/* Empty State Large */
.empty-state-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.empty-state-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: 50%;
    margin-bottom: 2rem;
}

.empty-state-icon i {
    font-size: 3rem;
    color: #6366f1;
}

.empty-state-large h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.empty-state-large p {
    font-size: 1rem;
    color: #64748b;
    max-width: 400px;
    margin-bottom: 2rem;
}

/* ============================================
   ADMIN SECTION STYLES
   ============================================ */

.admin-section {
    background: #f8fafc;
    min-height: 100vh;
    padding-top: 80px;
}

.admin-sidebar {
    background: #0f172a;
    min-height: calc(100vh - 80px);
    padding: 0;
    position: sticky;
    top: 80px;
}

.admin-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a1a;
    font-size: 1.25rem;
}

.admin-info h6 {
    color: #fbbf24;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

.admin-info span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.admin-main {
    padding: 2rem;
}

.admin-header {
    margin-bottom: 2rem;
}

/* Admin Stat Cards */
.admin-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.admin-stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.admin-stat-card.blue .stat-icon {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.admin-stat-card.green .stat-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.admin-stat-card.purple .stat-icon {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.admin-stat-card.gold .stat-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.admin-stat-card.red .stat-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.admin-stat-card .stat-content {
    flex: 1;
}

.admin-stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    display: block;
}

.admin-stat-card .stat-label {
    font-size: 0.8125rem;
    color: #64748b;
}

.admin-stat-card .stat-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.admin-stat-card .stat-link:hover {
    background: #6366f1;
    color: #fff;
}

/* Admin Cards */
.admin-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.admin-card-header h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.admin-card-body {
    padding: 1.5rem;
}

.admin-card-body.p-0 {
    padding: 0;
}

/* Admin List */
.admin-list {
    display: flex;
    flex-direction: column;
}

.admin-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.admin-list-item:last-child {
    border-bottom: none;
}

.item-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.item-image {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-info h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.item-info span {
    font-size: 0.75rem;
    color: #64748b;
}

.item-meta .badge {
    font-size: 0.7rem;
}

/* Admin Tables */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: #f8fafc;
}

.admin-table th {
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table td {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: #fafbfc;
}

/* Table Cells */
.id-badge {
    display: inline-flex;
    padding: 0.25rem 0.5rem;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 6px;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
}

.franchise-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.franchise-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex-shrink: 0;
}

.franchise-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8fafc;
}

.franchise-cell .franchise-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.franchise-cell .franchise-info strong {
    font-size: 0.875rem;
    color: #0f172a;
}

.franchise-cell .franchise-info .location {
    font-size: 0.75rem;
    color: #64748b;
}

.owner-cell {
    display: flex;
    flex-direction: column;
}

.owner-cell strong {
    font-size: 0.875rem;
    color: #0f172a;
}

.owner-cell span {
    font-size: 0.75rem;
    color: #64748b;
}

.user-cell-info,
.franchise-cell-info {
    display: flex;
    flex-direction: column;
}

.user-cell-info strong,
.franchise-cell-info strong {
    font-size: 0.875rem;
    color: #0f172a;
}

.user-cell-info span,
.franchise-cell-info span {
    font-size: 0.75rem;
    color: #64748b;
}

.price-cell {
    font-weight: 600;
    color: #6366f1;
}

.views-badge {
    display: inline-flex;
    padding: 0.25rem 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
}

.count-badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
}

.period-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.period-cell .date {
    font-size: 0.8125rem;
}

.period-cell .separator {
    color: #cbd5e1;
    margin: 0 0.25rem;
}

.expiring-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
}

.sector-icon-cell {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 1.125rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-table-action {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-table-action:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

.btn-table-action.success {
    color: #22c55e;
}

.btn-table-action.success:hover {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.btn-table-action.warning {
    color: #f59e0b;
}

.btn-table-action.warning:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #fff;
}

.btn-table-action.danger {
    color: #ef4444;
}

.btn-table-action.danger:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

.btn-table-action.info {
    color: #6366f1;
}

.btn-table-action.info:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

/* Badges */
.badge {
    display: inline-flex;
    padding: 0.25rem 0.625rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50px;
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.badge-secondary {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
}

.badge-info {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

/* Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: #f8fafc;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-action-card:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.action-icon.blue {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.action-icon.green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.action-icon.purple {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.action-icon.gold {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.quick-action-card span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
    text-align: center;
}

/* Modal Premium */
.modal-premium {
    border: none;
    border-radius: 20px;
}

.modal-premium .modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.modal-premium .modal-title {
    font-weight: 600;
    color: #0f172a;
}

.modal-premium .modal-body {
    padding: 1.5rem;
}

.modal-premium .modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.modal-section-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.modal-table {
    width: 100%;
}

.modal-table td {
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.modal-table td:first-child {
    color: #64748b;
    width: 40%;
}

.modal-table td:last-child {
    color: #0f172a;
    font-weight: 500;
}

.modal-description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

/* Nav Button Admin */
.btn-nav-admin {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0a0a1a;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-nav-admin:hover {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    color: #0a0a1a;
}

/* ============================================
   FRANCHISE LIST PAGE STYLES
   ============================================ */

.franchise-list-hero {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.franchise-list-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.franchise-list-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
}

.franchise-filters-section {
    background: #f8fafc;
    padding: 2rem 0;
    margin-top: -30px;
}

.filters-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.filter-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.filter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-input-wrapper i {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
}

.filter-input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    font-size: 0.875rem;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.filter-input-wrapper input:focus {
    outline: none;
    border-color: #6366f1;
    background: #fff;
}

.filter-select-wrapper {
    position: relative;
}

.filter-select-wrapper select {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.875rem;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select-wrapper select:focus {
    outline: none;
    border-color: #6366f1;
    background: #fff;
}

.filter-select-wrapper i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.filter-select-wrapper.full {
    width: 100%;
}

.filter-input-small {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.filter-input-small:focus {
    outline: none;
    border-color: #6366f1;
    background: #fff;
}

.btn-filter-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-filter-primary:hover {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-filter-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f1f5f9;
    border: none;
    border-radius: 10px;
    color: #64748b;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-filter-secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.franchise-results-section {
    background: #f8fafc;
    padding: 2rem 0 5rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.results-count {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.results-count .count-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.results-count .count-text {
    font-size: 1rem;
    color: #64748b;
}

/* Franchise Cards Public */
.franchise-card-public {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.franchise-card-public:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.franchise-card-public .franchise-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.franchise-card-public .franchise-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8fafc;
    transition: transform 0.5s ease;
}

.franchise-card-public:hover .franchise-card-image img {
    transform: scale(1.08);
}

.franchise-card-public .franchise-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.franchise-card-public .franchise-card-placeholder i {
    font-size: 4rem;
    color: #cbd5e1;
}

.franchise-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.franchise-card-views {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.75rem;
    border-radius: 50px;
}

.franchise-card-public .franchise-card-body {
    padding: 1.5rem;
    flex: 1;
}

.franchise-card-public .franchise-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.franchise-card-public .franchise-card-location {
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.franchise-card-public .franchise-card-location i {
    margin-right: 0.25rem;
    color: #94a3b8;
}

.franchise-card-public .franchise-card-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.franchise-card-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.franchise-card-footer .franchise-card-price {
    display: flex;
    flex-direction: column;
}

.franchise-card-footer .price-label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.franchise-card-footer .price-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #6366f1;
}

.btn-view-franchise {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-view-franchise:hover {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    color: #fff;
}

/* ============================================
   PACKAGE CARDS ADMIN
   ============================================ */

.package-card-admin {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.package-card-admin:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.package-card-admin.featured {
    border: 2px solid #f59e0b;
}

.package-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #0a0a1a;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.package-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.package-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.package-icon.gold {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.package-icon.blue {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.package-icon.gray {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
}

.package-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.package-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.25rem;
}

.package-price .currency {
    font-size: 1rem;
    color: #64748b;
}

.package-price .amount {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.package-price .period {
    font-size: 0.875rem;
    color: #64748b;
}

.package-body {
    padding: 1.5rem 2rem;
}

.package-description {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 1.5rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.875rem;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    width: 20px;
    text-align: center;
    color: #94a3b8;
}

.package-features li i.text-success {
    color: #22c55e;
}

.package-features li i.text-muted {
    color: #cbd5e1;
}

.package-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #f1f5f9;
}

.btn-package-edit {
    display: block;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-package-edit:hover {
    background: #6366f1;
    color: #fff;
}

/* ============================================
   FORM SECTIONS
   ============================================ */

.form-section {
    margin-bottom: 2rem;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 1.5rem;
}

.form-section-header i {
    color: #6366f1;
    font-size: 1.125rem;
}

.form-section-header h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.form-section-body {
    padding-left: 2rem;
}

.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    color: #0f172a;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: #fff;
}

.form-help-text {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-premium {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-premium input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #6366f1;
}

.checkbox-premium .label {
    font-size: 0.875rem;
    color: #0f172a;
}

.upload-area {
    position: relative;
    border: 2px dashed #e2e8f0;
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
}

.upload-area:hover {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.02);
}

.upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}

.upload-label i {
    font-size: 2rem;
    color: #6366f1;
}

.upload-label span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #0f172a;
}

.upload-label small {
    font-size: 0.75rem;
    color: #94a3b8;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-item i {
    font-size: 1rem;
    margin-top: 0.125rem;
}

.info-item span {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.4;
}

/* Admin Responsive */
@media (max-width: 991.98px) {
    .admin-sidebar {
        display: none;
    }

    .admin-main {
        padding: 1.5rem;
    }

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-section-body {
        padding-left: 0;
    }
}

@media (max-width: 767.98px) {
    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .franchise-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .btn-view-franchise {
        justify-content: center;
    }

    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .form-actions a,
    .form-actions button {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   USER DASHBOARD SECTION STYLES
   ============================================ */

.dashboard-section {
    background: #f8fafc;
    min-height: 100vh;
    padding-top: 80px;
}

.dashboard-sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    min-height: calc(100vh - 80px);
    padding: 0;
    position: sticky;
    top: 80px;
}

.dashboard-sidebar .sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-sidebar .user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.dashboard-sidebar .user-info h6 {
    color: #fff;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

.dashboard-sidebar .user-info span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.dashboard-sidebar .sidebar-nav {
    padding: 1rem 0;
}

.dashboard-sidebar .nav-section {
    padding: 0 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-sidebar .nav-section-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.dashboard-sidebar .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-sidebar .nav-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.dashboard-sidebar .nav-item a i {
    width: 20px;
    text-align: center;
}

.dashboard-sidebar .nav-item a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.dashboard-sidebar .nav-item.active a {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
}

.dashboard-sidebar .sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.dashboard-sidebar .logout-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.dashboard-sidebar .logout-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.dashboard-main {
    padding: 2rem;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header .welcome-text h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.dashboard-header .welcome-text p {
    color: #64748b;
    margin: 0.25rem 0 0;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

/* User Stat Cards */
.stat-card-user {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card-user:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-card-user .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-card-user.blue .stat-icon {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.stat-card-user.green .stat-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.stat-card-user.purple .stat-icon {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.stat-card-user.gold .stat-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.stat-card-user .stat-content {
    flex: 1;
}

.stat-card-user .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    display: block;
}

.stat-card-user .stat-label {
    font-size: 0.8125rem;
    color: #64748b;
}

/* Dashboard Cards */
.dashboard-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.dashboard-card-header h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.view-all-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6366f1;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.view-all-link:hover {
    color: #4f46e5;
}

.dashboard-card-body {
    padding: 1.5rem;
}

/* Franchise List Dashboard */
.franchise-list-dashboard {
    display: flex;
    flex-direction: column;
}

.franchise-item-dashboard {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.franchise-item-dashboard:last-child {
    border-bottom: none;
}

.franchise-item-dashboard .franchise-thumb {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex-shrink: 0;
}

.franchise-item-dashboard .franchise-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8fafc;
}

.franchise-item-dashboard .franchise-info {
    flex: 1;
    min-width: 0;
}

.franchise-item-dashboard .franchise-info h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.franchise-item-dashboard .franchise-info span {
    font-size: 0.75rem;
    color: #64748b;
}

.franchise-item-dashboard .franchise-price .price {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6366f1;
}

.franchise-item-dashboard .franchise-actions {
    display: flex;
    gap: 0.5rem;
}

.franchise-item-dashboard .btn-action {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.franchise-item-dashboard .btn-action:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

/* Quick Actions List */
.quick-actions-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-action-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(4px);
}

.quick-action-item .action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.quick-action-item .action-text {
    flex: 1;
}

.quick-action-item .action-text h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.quick-action-item .action-text span {
    font-size: 0.75rem;
    color: #64748b;
}

.quick-action-item>i {
    color: #cbd5e1;
    font-size: 0.75rem;
}

/* Tips Card */
.tips-card .tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.tips-card .tip-item:last-child {
    border-bottom: none;
}

.tips-card .tip-item i {
    font-size: 0.875rem;
    margin-top: 0.125rem;
}

.tips-card .tip-item p {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Empty State Small */
.empty-state.small {
    text-align: center;
    padding: 2rem;
}

.empty-state.small i {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.empty-state.small p {
    color: #64748b;
    margin-bottom: 1rem;
}

.btn-dashboard-primary.sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* ============================================
   USER FRANCHISE CARDS (MY FRANCHISES)
   ============================================ */

.user-franchise-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.user-franchise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.user-franchise-card.featured {
    border: 2px solid #f59e0b;
}

.user-franchise-card .featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #0a0a1a;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    z-index: 10;
}

.user-franchise-card .franchise-card-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.user-franchise-card .franchise-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8fafc;
}

.user-franchise-card .placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-franchise-card .placeholder-image i {
    font-size: 3rem;
    color: #cbd5e1;
}

.user-franchise-card .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.user-franchise-card .views-count {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #fff;
    font-size: 0.75rem;
}

.user-franchise-card .franchise-card-body {
    padding: 1.25rem;
}

.user-franchise-card .franchise-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.375rem;
}

.user-franchise-card .franchise-location {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0 0 1rem;
}

.user-franchise-card .franchise-location i {
    margin-right: 0.25rem;
    color: #94a3b8;
}

.user-franchise-card .franchise-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.user-franchise-card .price-info .label {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.user-franchise-card .price-info .value {
    font-size: 1rem;
    font-weight: 700;
    color: #6366f1;
}

.user-franchise-card .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50px;
}

.user-franchise-card .status-badge.active {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.user-franchise-card .status-badge.inactive {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
}

.user-franchise-card .subscription-info {
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-franchise-card .subscription-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50px;
}

.user-franchise-card .expiry-date {
    font-size: 0.7rem;
    color: #64748b;
}

.user-franchise-card .subscription-info.inactive {
    background: rgba(245, 158, 11, 0.1);
}

.user-franchise-card .no-subscription {
    font-size: 0.75rem;
    color: #d97706;
}

.user-franchise-card .franchise-card-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 0.5rem;
}

.user-franchise-card .btn-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-franchise-card .btn-card-action.view {
    background: #f1f5f9;
    color: #64748b;
}

.user-franchise-card .btn-card-action.edit {
    background: #f1f5f9;
    color: #64748b;
}

.user-franchise-card .btn-card-action.subscribe {
    flex: 1;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
}

.user-franchise-card .btn-card-action.renew {
    flex: 1;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #0a0a1a;
}

.user-franchise-card .btn-card-action:hover {
    transform: translateY(-2px);
}

/* ============================================
   PACKAGES PAGE STYLES
   ============================================ */

.packages-hero {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.packages-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.packages-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
}

.packages-section {
    background: #f8fafc;
    padding: 3rem 0 5rem;
    margin-top: -30px;
}

/* Package Card Premium */
.package-card-premium {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.package-card-premium.featured {
    border: 2px solid #f59e0b;
    transform: scale(1.02);
}

.package-card-premium.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.package-featured-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #0a0a1a;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.package-card-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.package-icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.package-icon-wrapper.gold {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.package-icon-wrapper.blue {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.package-icon-wrapper.purple {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.package-card-premium .package-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.package-card-premium .package-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.25rem;
}

.package-card-premium .package-price .currency {
    font-size: 1rem;
    color: #64748b;
}

.package-card-premium .package-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
}

.package-card-premium .package-price .period {
    font-size: 0.875rem;
    color: #64748b;
}

.package-card-body {
    padding: 1.5rem 2rem;
    flex: 1;
}

.package-card-premium .package-description {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.package-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid #f1f5f9;
}

.package-features-list li:last-child {
    border-bottom: none;
}

.package-features-list li.included {
    color: #0f172a;
}

.package-features-list li.included i {
    color: #22c55e;
}

.package-features-list li.not-included {
    color: #94a3b8;
}

.package-features-list li.not-included i {
    color: #cbd5e1;
}

.package-card-footer {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
}

.btn-package-cta {
    display: block;
    width: 100%;
    padding: 0.875rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-package-cta.primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
}

.btn-package-cta.primary:hover {
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-package-cta.outline {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.btn-package-cta.outline:hover {
    background: #6366f1;
    color: #fff;
}

.package-hint {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.75rem;
}

/* Packages Benefits */
.packages-benefits {
    margin-top: 4rem;
    padding: 2rem 0;
}

.benefit-item {
    text-align: center;
}

.benefit-item .benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 1.25rem;
}

.benefit-item h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.375rem;
}

.benefit-item p {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
}

/* Packages FAQ */
.packages-faq {
    margin-top: 4rem;
}

.faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.faq-question i {
    color: #6366f1;
    font-size: 1rem;
}

.faq-question h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.faq-item p {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Packages CTA */
.packages-cta {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 100%);
    padding: 4rem 0;
}

.packages-cta .cta-content {
    text-align: center;
}

.packages-cta h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.packages-cta p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.packages-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-cta.light {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-cta.light:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-cta.whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-cta.whatsapp:hover {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* ============================================
   FORM COMPONENTS
   ============================================ */

.btn-add-field {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    border: 2px dashed #6366f1;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add-field:hover {
    background: #6366f1;
    color: #fff;
    border-style: solid;
}

.custom-field-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #6366f1;
}

.custom-field-row .field-title,
.custom-field-row .field-value {
    flex: 1;
}

.custom-field-row input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    color: #0f172a;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.custom-field-row input:focus {
    outline: none;
    border-color: #6366f1;
}

.btn-remove-field {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border: none;
    border-radius: 8px;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-remove-field:hover {
    background: #ef4444;
    color: #fff;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.preview-item {
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}

.preview-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.preview-item .file-name {
    display: block;
    padding: 0.5rem;
    font-size: 0.7rem;
    color: #64748b;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Steps List */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-text {
    font-size: 0.875rem;
    color: #64748b;
}

.text-purple {
    color: #a855f7 !important;
}

/* Dashboard Responsive */
@media (max-width: 991.98px) {
    .dashboard-sidebar {
        display: none;
    }

    .dashboard-main {
        padding: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .image-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .dashboard-header .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .package-card-premium.featured {
        transform: none;
    }

    .package-card-premium.featured:hover {
        transform: translateY(-8px);
    }

    .packages-cta .cta-buttons {
        flex-direction: column;
    }
}

/* ============================================
   CHOOSE PACKAGE PAGE STYLES
   ============================================ */

.franchise-summary-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.franchise-summary-card .summary-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.franchise-summary-card .summary-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.franchise-summary-card .summary-info {
    flex: 1;
}

.franchise-summary-card .summary-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem;
}

.franchise-summary-card .summary-info span {
    font-size: 0.8125rem;
    color: #64748b;
}

.franchise-summary-card .summary-price {
    text-align: right;
}

.franchise-summary-card .summary-price .label {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.franchise-summary-card .summary-price .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #6366f1;
}

/* Package Card Choose */
.package-card-choose {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card-choose:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.package-card-choose.featured {
    border: 2px solid #f59e0b;
}

.package-card-choose .package-featured-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #0a0a1a;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0 0 12px 12px;
}

.package-card-choose .package-card-header {
    padding: 2.5rem 1.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.package-card-choose .package-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.package-card-choose .package-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.package-card-choose .package-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.25rem;
}

.package-card-choose .package-price .currency {
    font-size: 1rem;
    color: #64748b;
}

.package-card-choose .package-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
}

.package-card-choose .package-price .period {
    font-size: 0.875rem;
    color: #64748b;
}

.package-card-choose .package-card-body {
    padding: 1.5rem;
    flex: 1;
}

.package-card-choose .package-description {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 1.5rem;
}

.package-card-choose .package-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.package-card-choose .highlight-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 50px;
    background: #f1f5f9;
    color: #64748b;
}

.package-card-choose .highlight-item.active {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.package-card-choose .highlight-item.inactive {
    opacity: 0.5;
}

.package-card-choose .package-card-footer {
    padding: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.btn-package-select {
    display: block;
    width: 100%;
    padding: 0.875rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-package-select.primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
}

.btn-package-select.primary:hover {
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-package-select.outline {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.btn-package-select.outline:hover {
    background: #6366f1;
    color: #fff;
}

/* ============================================
   PAYMENT PAGE STYLES
   ============================================ */

.payment-hero {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.payment-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.payment-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.payment-section {
    background: #f8fafc;
    padding: 3rem 0 5rem;
    margin-top: -30px;
}

/* Subscription Summary Card */
.subscription-summary-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.subscription-summary-card .summary-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subscription-summary-card .summary-header i {
    font-size: 1.25rem;
    color: #fff;
}

.subscription-summary-card .summary-header h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.subscription-summary-card .summary-body {
    padding: 1.5rem;
}

.subscription-summary-card .summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.subscription-summary-card .summary-item .label {
    font-size: 0.875rem;
    color: #64748b;
}

.subscription-summary-card .summary-item .value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

.subscription-summary-card .summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0;
}

.subscription-summary-card .summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 0;
}

.subscription-summary-card .summary-total .label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

.subscription-summary-card .summary-total .amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #22c55e;
}

.subscription-summary-card .summary-footer {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.subscription-summary-card .security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #22c55e;
}

/* Payment Methods Card */
.payment-methods-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.payment-methods-card .methods-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.payment-methods-card .methods-header h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.payment-methods-card .methods-body {
    padding: 1.5rem;
}

/* Payment Method Option */
.payment-method-option {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.payment-method-option.pix.recommended {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 2px solid #22c55e;
}

.payment-method-option .method-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.payment-method-option .method-icon.blue {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.payment-method-option .method-icon.gray {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
}

.payment-method-option .method-info {
    flex: 1;
}

.payment-method-option .method-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.payment-method-option .method-header h6 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.payment-method-option .method-badges {
    display: flex;
    gap: 0.5rem;
}

.payment-method-option .badge-recommended {
    padding: 0.25rem 0.625rem;
    font-size: 0.7rem;
    font-weight: 600;
    background: #22c55e;
    color: #fff;
    border-radius: 50px;
}

.payment-method-option .badge-instant {
    padding: 0.25rem 0.625rem;
    font-size: 0.7rem;
    font-weight: 600;
    background: #f59e0b;
    color: #0a0a1a;
    border-radius: 50px;
}

.payment-method-option p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 1rem;
    line-height: 1.5;
}

.btn-payment {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-payment.pix {
    background: #22c55e;
    color: #fff;
}

.btn-payment.pix:hover {
    background: #16a34a;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.btn-payment.secondary {
    background: #6366f1;
    color: #fff;
}

.btn-payment.secondary:hover {
    background: #4f46e5;
}

.btn-payment.outline {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.btn-payment.outline:hover {
    background: #64748b;
    color: #fff;
}

.methods-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.methods-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.methods-divider span {
    position: relative;
    padding: 0 1rem;
    background: #fff;
    color: #94a3b8;
    font-size: 0.8125rem;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.payment-methods-grid .payment-method-option {
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.payment-methods-grid .payment-method-option h6 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.payment-methods-grid .payment-method-option p {
    font-size: 0.8125rem;
}

.payment-methods-grid .btn-payment {
    width: 100%;
    justify-content: center;
}

/* Security Info Card */
.security-info-card {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.security-info-card .security-icons {
    display: flex;
    gap: 0.5rem;
    color: #6366f1;
    font-size: 1rem;
}

.security-info-card p {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
}

/* ============================================
   FRANCHISE DETAIL PAGE STYLES
   ============================================ */

.franchise-detail-hero {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 100%);
    padding: 100px 0 30px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: #fff;
}

.breadcrumb-nav i.fa-chevron-right {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-nav span {
    color: #fff;
    font-weight: 500;
}

.franchise-detail-section {
    background: #f8fafc;
    padding: 2rem 0 5rem;
    margin-top: -10px;
}

/* Franchise Gallery Card */
.franchise-gallery-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.franchise-gallery-card .gallery-image {
    width: 100%;
    height: 450px;
    object-fit: contain;
    background: #f8fafc;
}

.franchise-gallery-card .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.franchise-gallery-card .carousel-btn:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.franchise-gallery-card .carousel-btn.prev {
    left: 1rem;
}

.franchise-gallery-card .carousel-btn.next {
    right: 1rem;
}

.franchise-gallery-card .carousel-thumbnails {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.franchise-gallery-card .thumb-btn {
    width: 48px;
    height: 48px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.franchise-gallery-card .thumb-btn.active {
    border-color: #fff;
}

.franchise-gallery-card .thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.franchise-gallery-card .gallery-placeholder {
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    color: #94a3b8;
}

.franchise-gallery-card .gallery-placeholder i {
    font-size: 4rem;
}

/* Franchise Info Card */
.franchise-info-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.franchise-info-card .info-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.franchise-info-card .info-card-header h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.franchise-info-card .info-card-body {
    padding: 1.5rem;
    overflow: visible;
}

.franchise-description {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
}

.custom-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.custom-field-item {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #6366f1;
}

.custom-field-item .field-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.custom-field-item .field-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
}

/* Franchise Sidebar Card */
.franchise-sidebar-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    top: 100px;
}

.franchise-sidebar-card .sidebar-card-header {
    padding: 1.5rem;
    position: relative;
}

.franchise-sidebar-card .featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #0a0a1a;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
}

.franchise-sidebar-card .franchise-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.franchise-sidebar-card .franchise-location {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
}

.franchise-sidebar-card .franchise-location i {
    margin-right: 0.375rem;
}

.franchise-sidebar-card .sidebar-card-body {
    padding: 0 1.5rem 1.5rem;
}

.franchise-sidebar-card .price-box {
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: 14px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.franchise-sidebar-card .price-box .price-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6366f1;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.franchise-sidebar-card .price-box .price-value {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.franchise-sidebar-card .stats-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.franchise-sidebar-card .stat-item {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
}

.franchise-sidebar-card .stat-item i {
    display: block;
    font-size: 1.25rem;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.franchise-sidebar-card .stat-item .stat-value {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
}

.franchise-sidebar-card .stat-item .stat-label {
    font-size: 0.7rem;
    color: #94a3b8;
}

.franchise-sidebar-card .action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-contact-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-contact-primary:hover {
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-contact-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem;
    font-size: 0.9375rem;
    font-weight: 600;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-contact-secondary:hover {
    background: rgba(99, 102, 241, 0.2);
}

/* Seller Card */
.seller-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.seller-card .seller-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.seller-card .seller-header h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.seller-card .seller-body {
    padding: 1.5rem;
}

.seller-card .seller-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.seller-card .seller-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.seller-card .seller-details h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.seller-card .seller-details span {
    font-size: 0.8125rem;
    color: #64748b;
}

.btn-message {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-message:hover {
    background: #6366f1;
    color: #fff;
}

/* Related Franchises Section */
.related-franchises-section {
    margin-top: 4rem;
}

.related-franchises-section .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.related-franchise-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.related-franchise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.related-franchise-card .related-image {
    height: 140px;
    overflow: hidden;
}

.related-franchise-card .related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-franchise-card .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2rem;
}

.related-franchise-card .related-body {
    padding: 1rem;
}

.related-franchise-card .related-body h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.25rem;
}

.related-franchise-card .related-body p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0 0 0.75rem;
}

.related-franchise-card .related-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.related-franchise-card .related-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #6366f1;
}

.btn-view-related {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-view-related:hover {
    background: #6366f1;
    color: #fff;
}

/* Contact Modal Premium */
.modal-premium .modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.modal-premium .modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
}

.modal-premium .modal-body {
    padding: 1.5rem;
}

.modal-premium .modal-intro {
    font-size: 0.9375rem;
    color: #475569;
    margin-bottom: 1.5rem;
}

.modal-premium .contact-info-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 14px;
    margin-bottom: 1rem;
}

.modal-premium .contact-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.modal-premium .contact-details h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.modal-premium .contact-details p {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
}

.modal-premium .contact-tip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    font-size: 0.8125rem;
    color: #d97706;
}

.modal-premium .modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    gap: 0.75rem;
}

.btn-modal-secondary {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    background: #f1f5f9;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.btn-modal-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive for new pages */
@media (max-width: 991.98px) {
    .franchise-gallery-card .gallery-image {
        height: 350px;
    }

    .custom-fields-grid {
        grid-template-columns: 1fr;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .franchise-summary-card {
        flex-direction: column;
        text-align: center;
    }

    .franchise-summary-card .summary-price {
        text-align: center;
    }

    .franchise-gallery-card .gallery-image {
        height: 250px;
    }

    .franchise-sidebar-card {
        position: static;
    }
}

/* ============================================
   EDIT FRANCHISE PAGE STYLES
   ============================================ */

.form-section {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid #f1f5f9;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.form-section-header i {
    color: #6366f1;
    font-size: 1rem;
}

.form-section-header h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.form-section-body {
    padding: 1.5rem;
}

/* Current Images Grid */
.current-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.current-image-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.current-image-item img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    background: #f8fafc;
}

.btn-remove-image {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
}

.current-image-item:hover .btn-remove-image {
    opacity: 1;
}

.btn-remove-image:hover {
    background: #dc2626;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

/* Preview Franchise Card */
.preview-franchise-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.preview-franchise-card .preview-image {
    width: 100%;
    height: 140px;
    object-fit: contain;
    background: #f8fafc;
}

.preview-franchise-card .preview-placeholder {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2rem;
}

.preview-franchise-card .preview-info {
    padding: 1rem;
}

.preview-franchise-card .preview-info h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.375rem;
}

.preview-franchise-card .preview-info p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0 0 0.5rem;
}

.preview-franchise-card .preview-price {
    font-size: 1rem;
    font-weight: 700;
    color: #6366f1;
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    font-size: 0.8125rem;
    color: #64748b;
}

.info-item .value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

/* Subscription Status Card */
.subscription-status-card {
    text-align: center;
    padding: 1rem;
}

.subscription-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #0a0a1a;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.expiry-date {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
}

/* No Subscription Card */
.no-subscription-card {
    text-align: center;
    padding: 1rem;
}

.no-subscription-card i {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.no-subscription-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 1rem;
}

.btn-dashboard-primary.sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* Responsive Edit Franchise */
@media (max-width: 767.98px) {
    .current-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .form-actions .btn-dashboard-outline,
    .form-actions .btn-dashboard-primary {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   ADMIN FORM ADDITIONAL STYLES
   ============================================ */

/* Feature Row */
.feature-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.feature-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.btn-remove-feature {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-feature:hover {
    background: #ef4444;
    color: #fff;
}

/* Info Alert */
.info-alert {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
}

.info-alert.info {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.info-alert.info i {
    color: #6366f1;
    font-size: 1.25rem;
}

.info-alert.warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.info-alert.warning i {
    color: #f59e0b;
    font-size: 1.25rem;
}

.info-alert ul {
    padding-left: 1.25rem;
    font-size: 0.875rem;
    color: #475569;
}

/* Stats Mini Card */
.stats-mini-card .stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
}

.stats-mini-card .stat-item i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.stats-mini-card .stat-info {
    display: flex;
    flex-direction: column;
}

.stats-mini-card .stat-info .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.stats-mini-card .stat-info .label {
    font-size: 0.8125rem;
    color: #64748b;
}

/* Mini List */
.mini-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mini-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #475569;
}

.mini-list-item i {
    color: #94a3b8;
}

/* Checkbox Premium */
.checkbox-premium {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-premium:hover {
    background: #f1f5f9;
}

.checkbox-premium input {
    display: none;
}

.checkbox-premium .checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-premium input:checked+.checkmark {
    background: #6366f1;
    border-color: #6366f1;
}

.checkbox-premium input:checked+.checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 0.75rem;
}

.checkbox-premium .label-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}

/* ============================================
   ADMIN LIST STYLES
   ============================================ */

.admin-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.admin-list-item:hover {
    background: #f1f5f9;
}

.admin-list-item .item-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.admin-list-item .item-image {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex-shrink: 0;
}

.admin-list-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8fafc;
}

.admin-list-item .item-info {
    flex: 1;
    min-width: 0;
}

.admin-list-item .item-info h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-list-item .item-info span {
    font-size: 0.75rem;
    color: #64748b;
}

.admin-list-item .item-meta {
    flex-shrink: 0;
}