:root {
    --primary-color: #D9A600;
    --accent-red: #e63946;
    --accent-green: #2a9d8f;
    --accent-yellow: #e9c46a;
    --bg-light: #f4f7f6;
    --sidebar-width: 260px;
    --bs-warning-rgb: 255,90,0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: #333;
}

.w-full{width: 100%;}

.bg-brand-gold{background-color: var(--primary-color);}
.text-brand-gold{color: var(--primary-color);}

/* Layout Structure */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.text-right{text-align: right !important;}

/* Sidebar */
#sidebar {
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    background: var(--primary-color);
    color: #fff;
    transition: all 0.3s;
    min-height: 100vh;
    position: sticky;
    top: 0;
    z-index: 1000;
}

#sidebar.active {
    margin-left: calc(-1 * var(--sidebar-width));
}

.sidebar-header {
    padding: 30px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 12px 25px;
    font-size: 0.95rem;
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.2s;
    border-left: 4px solid transparent;
}

#sidebar ul li a:hover, #sidebar ul li a.active {
    color: #fff;
    background: rgba(255,255,255,0.05);
    border-left-color: var(--accent-red);
}

#sidebar ul li a i {
    margin-right: 15px;
    font-size: 1.1rem;
    width: 25px;
    text-align: center;
}

/* Main Content */
#content {
    width: 100%;
    padding: 30px;
    transition: all 0.3s;
}

/* Top Navbar */
.main-nav {
    background: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}

/* Stats Cards */
.stat-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    height: 100%;
}

.icon-shape {
    border-radius: 12px;
    display: inline-flex;
    padding: 10px;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* Custom Table */
.data-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 15px;
}

.table tbody td {
    padding: 18px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f1f1;
}

.progress {
    height: 8px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    #sidebar {
        margin-left: calc(-1 * var(--sidebar-width));
        position: fixed;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #content {
        padding: 15px;
    }
}

/* =========================================
   LOGIN & RECOVERY VIEWS
   ========================================= */
.login-wrapper {
    display: flex;
    height: 100vh;
}

.branding-pane {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, #000 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    color: white;
    position: relative;
    overflow: hidden;
}

.branding-pane::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.branding-pane::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.logo-large {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.slogan {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 400px;
    text-align: center;
    font-weight: 300;
}

.login-pane {
    flex: 1;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.login-card {
    width: 100%;
    max-width: 420px;
}

.login-card h2 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.login-card p {
    color: #777;
    margin-bottom: 35px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.form-control {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e1e5ea;
    font-size: 0.95rem;
    transition: 0.2s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 27, 62, 0.05);
}

.input-group-text {
    background: transparent;
    border-left: none;
    cursor: pointer;
    color: #999;
}

.btn-login {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    width: 100%;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-login:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 27, 62, 0.2);
    color: white;
}

.social-login {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-social {
    flex: 1;
    border: 1px solid #e1e5ea;
    padding: 10px;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.2s;
}

.btn-social:hover {
    background: #f8f9fa;
    border-color: #ddd;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #ccc;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

.divider span {
    padding: 0 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.forgot-pass {
    color: var(--accent-red);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    .branding-pane {
        display: none;
    }
    .login-pane {
        padding: 30px;
    }
}

/* =========================================
   REVIEWS VIEW
   ========================================= */
.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: 0.3s;
    border-left: 5px solid transparent;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.review-card.positive { border-left-color: var(--accent-green); }
.review-card.neutral { border-left-color: var(--accent-yellow); }
.review-card.negative { border-left-color: var(--accent-red); }

.rating-stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.sentiment-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.filter-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

/* =========================================
   PLAN & SUBSCRIPTION VIEW
   ========================================= */
.plan-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #000 100%);
    border-radius: 24px;
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(13, 27, 62, 0.15);
}

.plan-hero i.bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 12rem;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.quota-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    height: 100%;
    border: none;
}

.pricing-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    position: relative;
    border: 2px solid transparent;
    height: 100%;
}

.pricing-card.active {
    border-color: var(--accent-red);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.1);
}

.pricing-card .current-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.pricing-card ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #555;
    list-style: none;
}

.pricing-card ul li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--accent-green);
}

.history-card {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: none;
}

/* =========================================
   PROFILE VIEW
   ========================================= */
.profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #000 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.profile-header::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.company-logo-container {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
    flex-shrink: 0;
}

.company-logo-container img {
    max-width: 80%;
    border-radius: 10px;
}

.btn-edit-logo {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--accent-red);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    cursor: pointer;
    font-size: 0.8rem;
}

.profile-section-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    margin-bottom: 25px;
    border: none;
}

.social-link-input {
    position: relative;
}

.social-link-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.social-link-input .form-control {
    padding-left: 45px;
}

@media (max-width: 768px) {
    .profile-header {
        padding: 25px;
        text-align: center;
        flex-direction: column;
    }
    .company-logo-container {
        margin: 0 auto 15px;
    }
}

/* =========================================
   PAYMENT METHODS VIEW
   ========================================= */
.payment-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: 0.3s;
    border: 1px solid #eee;
    height: 100%;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.bank-logo {
    height: 40px;
    margin-bottom: 20px;
    object-fit: contain;
}

.account-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.copy-btn {
    cursor: pointer;
    color: var(--accent-red);
    font-size: 0.8rem;
    font-weight: 600;
}

.qr-placeholder {
    width: 140px;
    height: 140px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.qr-placeholder i {
    font-size: 6rem;
    color: var(--primary-color);
}

.steps-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #000 100%);
    border-radius: 20px;
    color: white;
    padding: 30px;
    margin-bottom: 30px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--accent-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.status-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-decoration: none;
    z-index: 100;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* =========================================
   QR PACKS VIEW
   ========================================= */
/* QR Card */
.qr-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.qr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.qr-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qr-mockup {
    width: 120px;
    height: 120px;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-card-body {
    padding: 20px;
}

.btn-download {
    transition: 0.2s;
    font-weight: 600;
}

.status-pill {
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* =========================================
   FORMS & PACK GENERATION
   ========================================= */
.form-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: none;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--accent-red);
}

.section-title i.bg-primary {
    background: var(--primary-color) !important;
    color: white !important;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.8rem;
}

.pack-type-option {
    border: 2px solid #f1f1f1;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pack-type-option:hover {
    border-color: var(--primary-color);
    background: rgba(13, 27, 62, 0.02);
}

input[type="radio"]:checked + .pack-type-option {
    border-color: var(--primary-color);
    background: rgba(13, 27, 62, 0.05);
}

.pack-type-option i {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

/* =========================================
   REPORTS VIEW
   ========================================= */
.report-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    height: 100%;
    border: none;
}

.kpi-value {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.progress-slim {
    height: 8px;
    border-radius: 10px;
}

.analysis-box {
    padding: 20px;
    border-radius: 12px;
    height: 100%;
}

.box-success {
    background-color: rgba(42, 157, 143, 0.08);
    border-left: 4px solid var(--accent-green);
}

.box-danger {
    background-color: rgba(230, 57, 70, 0.08);
    border-left: 4px solid var(--accent-red);
}

/* =========================================
   PRINT VIEW
   ========================================= */
.no-print-header {
    max-width: 900px;
    margin: 0 auto 40px;
    background: white;
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qr-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.qr-label-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    page-break-inside: avoid;
}

.branch-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-branding {
    border-top: 1px solid #eee;
    padding-top: 15px;
    opacity: 0.8;
}

/* Print Specific Styles */
@media print {
    body {
        background-color: white !important;
        padding: 0 !important;
    }

    .no-print-header {
        display: none !important;
    }

    .qr-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .qr-label-card {
        border: 1px solid #ccc;
        box-shadow: none;
        margin-bottom: 20px;
    }

    .btn {
        display: none !important;
    }
}

/* =========================================
   PASSWORD RECOVERY VIEW
   ========================================= */
.recovery-card {
    background: white;
    width: 100%;
    max-width: 450px;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(13, 27, 62, 0.08);
    text-align: center;
    transition: 0.3s;
}

.logo-small {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 30px;
    display: block;
    text-decoration: none;
    color: var(--primary-color);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(230, 57, 70, 0.05);
    color: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 30px;
}

.btn-recover {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    width: 100%;
    transition: 0.3s;
}

.btn-recover:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 27, 62, 0.2);
    color: white;
}

.btn-back {
    display: inline-block;
    margin-top: 30px;
    color: #777;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.2s;
}

.btn-back:hover {
    color: var(--primary-color);
}

.success-state {
    display: none;
}

/* =========================================
   OTHER DASHBOARD COMPONENTS
   ========================================= */
/* Action Buttons */
.btn-action {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: 0.2s;
}

.btn-white {
    background: white;
    color: var(--accent-red);
}

.x-small {
    font-size: 0.75rem;
}



.dash-sec-ultimas{
    overflow-y: auto;
    overflow-x: none;
    max-height: 200px;
}

.form-check-input:hover,.form-check-label:hover{
    cursor: pointer;
}

.btn-brand-gold{
    background-color: var(--primary-color);
    color: white;
    transition: 0.3s;
}

.btn-brand-gold:hover{
    background-color: #000;
    color: white;
}