@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Main Theme Colors - Light Mode */
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.95);
    --border-glass: rgba(226, 232, 240, 1);
    --primary: #1E88E5;
    --primary-gradient: linear-gradient(135deg, #1E88E5 0%, #42A5F5 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --text-main: #000000;
    --text-muted: #4b5563;
    --sidebar-width: 260px;
    --header-height: 70px;

    /* Trademark Form Specific Vars */
    --lz-primary: #3b5bdb;
    --lz-primary-hover: #364fc7;
    --lz-bg: #f8f9fc;
    --lz-text-dark: #111827;
    --lz-text-gray: #4b5563;
    --lz-border: #e2e8f0;
}

body {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    background-color: #ffffff !important;
    color: var(--text-main);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Glassmorphism Utilities - Light Mode */
.glass {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.glass-hover:hover {
    background: rgba(248, 250, 252, 0.95);
    transition: 0.3s ease;
}

/* Layout */
.wrapper {
    display: flex;
    min-height: 100vh;
}

.content-page {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    padding-top: var(--header-height);
    min-height: 100vh;
    transition: all 0.3s ease;
}

.container-fluid {
    padding-top: 20px;
}

/* Sidebar */
.left-side-menu {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #1E88E5 !important;
    border-right: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    box-shadow: 1px 0 10px rgba(0, 0, 0, 0.02);
}

.logo-box {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #ffffff !important;
}

.logo-box img {
    height: 55px;
}

.side-nav {
    padding: 20px 0;
    flex: 1;
    overflow-y: auto;
    list-style: none;
    margin: 0;
}

.side-nav-title {
    padding: 12px 24px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

.side-nav-item {
    padding: 2px 12px;
}

.side-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
}

.side-nav-link i {
    font-size: 1.25rem;
    margin-right: 12px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s;
}

.side-nav-link:hover,
.side-nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.side-nav-link:hover i,
.side-nav-link.active i {
    color: #fff;
}

/* Header */
.navbar-custom {
    height: var(--header-height);
    position: fixed;
    top: 0;
    right: 0;
    left: var(--sidebar-width);
    z-index: 999;
    padding: 0 24px;
    display: flex;
    align-items: center;
    align-items: center;
    justify-content: flex-end;
    background: #ffffff !important;
    border-bottom: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.topbar-menu {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(241, 245, 249, 0.5);
    border: 1px solid transparent;
    transition: all 0.2s;
}

.nav-user:hover {
    background: #fff;
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.nav-user img {
    height: 38px;
    width: 38px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.account-user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.account-position {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Auth Pages */
.authentication-bg {
    background: #f1f5f9;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 20%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-fluid {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: #fff;
}

.auth-fluid-form-box {
    max-width: 480px;
    width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    z-index: 2;
    position: relative;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.05);
    color: #000000;
}

.auth-fluid-form-box h4,
.auth-fluid-form-box label,
.auth-fluid-form-box p,
.auth-fluid-form-box .form-check-label {
    color: #000000 !important;
}

.auth-fluid-form-box .form-control {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #000000;
}

.auth-fluid-right {
    flex: 1;
    background: #1E88E5 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-fluid-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/bg-auth.jpg') center/cover no-repeat;
    opacity: 0.4;
}

.auth-user-testimonial {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    z-index: 2;
    position: relative;
    color: #ffffff !important;
}

.auth-user-testimonial h2,
.auth-user-testimonial p,
.auth-user-testimonial .lead {
    color: #ffffff !important;
}

/* Bootstrap Overrides & Utilities */
.card {
    background: var(--bg-card);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.form-control {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--text-main);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.form-control:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    color: var(--text-main);
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
}

.btn-primary:active,
.btn-primary:focus {
    background: var(--primary-gradient) !important;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
    transform: translateY(1px);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(79, 70, 229, 0.25);
}

.text-muted {
    color: #64748b !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: var(--primary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content {
    animation: fadeIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- TRADEMARK FORM STYLES --- */
.lz-pattern-bg {
    background-color: #f8faff;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 24px 24px;
}

.lz-hero {
    position: relative;
    padding: 20px 0 20px;
    overflow: hidden;
}

.lz-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 91, 219, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.lz-hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.lz-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(59, 91, 219, 0.1);
    color: var(--lz-primary);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 91, 219, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.lz-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    background: linear-gradient(90deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lz-hero-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-weight: 400;
    max-width: 90%;
}

.lz-price-tag {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    background: #fff;
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.btn-lz-cta {
    position: relative;
    background-color: var(--lz-primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px -5px rgba(59, 91, 219, 0.4);
    overflow: hidden;
    z-index: 10;
}

.btn-lz-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -10px rgba(59, 91, 219, 0.5);
    background-color: var(--lz-primary-hover);
}

.btn-lz-cta:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-container-wrapper {
    display: none;
    padding-top: 40px;
    background-color: #f8fafc;
    min-height: 100vh;
}

.lz-step-card {
    max-width: 800px;
    margin: 0 auto;
}

.form-progress-bar {
    height: 4px;
    background: #e2e8f0;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2rem;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--lz-primary);
    width: 0%;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(59, 91, 219, 0.5);
}

.lz-form-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.lz-form-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.lz-form-sub {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

.lz-selection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.lz-sel-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lz-sel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.lz-sel-card.selected {
    border-color: var(--lz-primary);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(59, 91, 219, 0.1);
}

.card-check-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    background: #f8fafc;
}

.lz-sel-card.selected .card-check-circle {
    background: var(--lz-primary);
    border-color: var(--lz-primary);
}

.card-check-circle::after {
    content: '\2713';
    font-size: 14px;
    color: #fff;
    font-weight: 700;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
}

.lz-sel-card.selected .card-check-circle::after {
    opacity: 1;
    transform: scale(1);
}

.lz-sel-card-content {
    flex: 1;
}

.lz-sel-card-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
    display: block;
}

.lz-sel-card-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.4;
}

.lz-input-group {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 16px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.lz-input-group:focus-within {
    border-color: var(--lz-primary);
    box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.1);
    transform: translateY(-1px);
}

.lz-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.1rem;
    padding: 8px 0;
    color: #1e293b;
    font-weight: 500;
    background: transparent;
}

.lz-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.lz-radio-block {
    background: #fff;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 1.15rem 1.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.05);
}

.lz-radio-block:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 10px -3px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

.lz-radio-block.checked {
    border-color: var(--lz-primary);
    background-color: #f0f7ff;
}

.lz-radio-block.checked .card-check-circle {
    background-color: var(--lz-primary);
    border-color: var(--lz-primary);
}

.lz-radio-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: #334155;
}

.fade-in-up {
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.lz-upsell-wrapper {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.lz-upsell-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, #f8faff 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
    pointer-events: none;
}

.lz-feature-item {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.lz-feature-icon-box {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    color: var(--lz-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.lz-feature-title {
    font-size: 1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.2rem;
}

.lz-feature-desc {
    font-size: 0.9rem;
    color: #64748b;
}

.lz-price-display {
    background: #eff6ff;
    padding: 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #dbeafe;
}

/* Stripe Element Styling */
.StripeElement {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    margin-bottom: 16px;
}

.StripeElement--focus {
    border-color: var(--lz-primary);
    box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.1);
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE / MOBILE STYLES --- */

/* Toggle Button (Hidden on Desktop) */
.button-menu-mobile {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-right: auto;
}

/* Mobile Breakpoint */
@media (max-width: 991.98px) {

    /* 1. Sidebar - Off-canvas by default */
    .left-side-menu {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }

    /* 2. Show Sidebar when active */
    .left-side-menu.show-mobile {
        transform: translateX(0);
    }

    /* 3. Reset Layout - remove left margin */
    .content-page {
        margin-left: 0;
        width: 100%;
    }

    /* 4. Navbar - Full width, adjust padding/flex */
    .navbar-custom {
        left: 0;
        padding: 0 20px;
        justify-content: space-between;
        /* Hamburger left, Profile right */
    }

    /* 5. Show Hamburger */
    .button-menu-mobile {
        display: block;
    }

    /* Hero Adjustments */
    .lz-hero-title {
        font-size: 2.5rem;
    }

    .lz-hero {
        padding: 40px 0;
    }
}