:root {
    --sidebar-width: 240px;
    --primary-color: #1eb100;
    --secondary-color: #ed230d;
    --dark-color: #0D0D0D;
    --light-color: #f1f5f9;
    --primary-color-shadow: rgba(30, 177, 0, 0.2);
    --gradient-1: linear-gradient(135deg, #1eb100 0%, #1eb100 100%);
    --gradient-2: linear-gradient(135deg, #0D0D0D 0%, #334155 100%);
    --card-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 10px 5px rgba(0, 0, 0, 0.15);
}

/* Utility Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

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

.text-primary {
    color: var(--primary-color) !important;
}


.form-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.section-title {
    font-size: 1.1rem;
}

.dropzone {
    border: 2px dashed #dee2e6;
    border-radius: 5px;
    background: #f8f9fa;
    min-height: 120px;
}

.dz-preview {
    margin: 10px;
}

.dz-image img {
    max-height: 100px;
    max-width: 100%;
}

.colorpicker-input-addon i {
    width: 20px;
    height: 20px;
    display: block;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    margin: 0;
}

/* Sidebar */
/* .sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    z-index: 1000;
    border-right: 1px solid #e2e8f0;
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.sidebar-brand {
    min-height: 80px;
    display: block;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.brand-logo {
    width: 100%;
    max-height: 90px;

    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 12px;
}

.brand-logo img {
    max-width: 100%;
    max-height: 90px;
    border-radius: 8px;
}

.brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark-color);
    padding: 0px 10px;
    text-align: center;
}

.sidebar-nav {
    padding: 1.5rem 0;
    list-style: none;
    margin: 0;
}

.sidebar-item {
    margin-bottom: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 0 8px 8px 0;
    margin: 0 0.5rem;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--primary-color);
    background-color: #f1f5ff;
    font-weight: 500;
}

.sidebar-link i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.sidebar-divider {
    border-top: 1px solid #e2e8f0;
    margin: 1rem 1.5rem;
} */

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 0 1rem;
    transition: margin-left 0.3s ease;
}

.main-content.full {
    margin-left: 0;
}

/* Cards */
.dashboard-stat-card {
    background: rgb(255, 255, 255, 0.8);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px 2px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none !important;
    min-height: 163px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.alert-primary {
    background-color: var(--primary-color) !important;
    border: transparent !important;
    color: white !important;
}

.card,
.btn,
.alert {
    border-radius: 10px !important;
}

.card .card-header {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

.dashboard-stat-card .card-body {
    padding: 1.75rem 1.5rem;
}

.dashboard-stat-card:not(.affiliate-card) .card-body {
    padding: 2.5rem 1.5rem;
}

.dashboard-stat-card.affiliate-card {
    background-image: url('../images/affiliate-bg2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.dashboard-stat-card .text-stat {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 1.0rem;
    margin-bottom: 5px;
    /* opacity: 0.9; */
}

.dashboard-stat-card .figure-stat {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.dashboard-stat-card .fw-bold {
    font-size: 1.75rem;

}

.dashboard-stat-card i {
    color: var(--primary-color);
    opacity: 0.5;
    font-size: 2.5rem;
    transition: opacity 0.2s ease;

}

.dashboard-stat-card:hover i {
    opacity: 0.95;
}

/* Status Badges */
.badge-status {
    padding: 0.35rem 0.65rem;
    font-weight: 500;
    border-radius: 6px;
}

.badge-status-processing {
    background-color: #e0f2fe;
    color: #0369a1;
}

.badge-status-shipped {
    background-color: #dcfce7;
    color: #166534;
}

.badge-status-delivered {
    background-color: #f0fdf4;
    color: #15803d;
}

.badge-status-cancelled {
    background-color: #fee2e2;
    color: #b91c1c;
}

/* Order Items */
.order-item {
    border-left: 3px solid transparent;
    transition: all 0.2s;
    padding: 1rem;
    border-radius: 8px;
}

.order-item:hover {
    background-color: var(--light-color);
}

.order-item-processing {
    border-left-color: #0369a1;
}

.order-item-shipped {
    border-left-color: #166534;
}

.order-item-delivered {
    border-left-color: #15803d;
}

/* Invoice Table */
.invoice-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #64748b;
    padding: 0.75rem 1rem;
}

.invoice-table td {
    padding: 1rem;
    vertical-align: middle;
    border-top: 1px solid #e2e8f0;
}

/* Profile */


.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Toggle Button (for mobile) */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 5px;
    left: 5px;
    background-color: var(--primary-color);
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 6px;
    z-index: 1100;
    width: 44px;
}

/* Overlay when sidebar is open on mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 999;
}



.login-container {
    height: 100vh;
}

.login-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)),
        url('../../assets/images/login-banner.png') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    color: white;
}

.login-image h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.login-image p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 80%;
}

.login-form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
}

.login-form {
    width: 100%;
    max-width: 400px;
}

.logo {
    margin-bottom: 2rem;
    text-align: center;
}

.logo img {
    height: 50px;
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 95, 0, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
}

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

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

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider-text {
    padding: 0 1rem;
    color: #64748b;
    font-size: 0.875rem;
}

.social-login .btn {
    padding: 0.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.social-login .btn i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.login-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

#promotionalCarousel {
    margin-top: 5px;
    margin-bottom: 1rem;
    border-radius: 10px;
    width: 100%;
    height: 300px;
}


#promotionalCarousel .carousel-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-110%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: block;
    }

    .sidebar-overlay.active {
        display: block;
    }


    .login-image {
        display: none;
    }

    .login-form-container {
        padding: 1.5rem;
    }

    .main-content {
        padding: 0 0.5rem;
    }
}




.skiptranslate,
.google_translate_element {
    display: none !important;
}

.customer-panel-footer {
    background-color: #f8f9fa;
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
    margin-top: 30px;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    margin: 0 10px;
    color: #6c757d;
    text-decoration: none;
}

.footer-links a:hover {
    color: #0d6efd;
}

.badge {
    line-height: 1.5;
}


.rounded,
.border-radius-10 {
    border-radius: 10px !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}



@media screen and (max-width: 1440px) {
    .text-stat {
        font-size: 14px !important;
        line-height: 1.5;
    }
}







body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
}

/* Header Styles */
.dashboard-header {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 95, 0, 0.1);
}

.dashboard-title {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 2.5rem;
    margin: 0;
}

.header-actions .btn {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transform: translateY(0);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-primary {
    background: var(--gradient-1);
    transform: translateY(0);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-color-shadow);
}

/* Stats Cards */
.dashboard-stat-card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    background: white;
}

.dashboard-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-stat-card:hover::before {
    opacity: 1;
}

.dashboard-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.dashboard-stat-card.bg-primary {
    background: var(--gradient-1) !important;
    color: white;
}

.dashboard-stat-card.bg-primary:hover {
    background: linear-gradient(135deg, #ff8533 0%, #ff5f00 100%) !important;
}



.text-stat {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.dashboard-stat-card.bg-primary .text-stat {
    color: rgba(255, 255, 255, 0.9);
}

.figure-stat {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.dashboard-stat-card.bg-primary .figure-stat {
    color: white;
}

.dashboard-stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.dashboard-stat-card.bg-primary i {
    color: white;
    opacity: 0.8;
}

/* Carousel Styles */
#promotionalCarousel {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

.carousel-item img {
    border-radius: 0;
    object-fit: cover;
    height: 300px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 95, 0, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

#promotionalCarousel:hover .carousel-control-prev,
#promotionalCarousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid white;
    opacity: 0.6;
}

.carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.2);
}

/* Orders Card */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    background: white;
}

.card-header {
    border-bottom: 1px solid rgba(255, 95, 0, 0.1);
    padding: 1.5rem 2rem;
}

.card-header h6 {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}



.order-item {
    border: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
}

.order-item:hover {
    background: linear-gradient(135deg, rgba(255, 95, 0, 0.02) 0%, rgba(255, 95, 0, 0.05) 100%);
    transform: translateX(5px);
}

.order-item:last-child {
    border-bottom: none;
}

.badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Product Slider */
#product-slider {
    background: white !important;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 95, 0, 0.1);
}

.product-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-title {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

.original-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.rating {
    font-size: 0.9rem;
}

.btn-add-to-card-link {
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-add-to-card-link:hover {
    transform: scale(1.1);
    color: white;
}

/* Quick Links */
.btn-outline-secondary {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    color: var(--secondary-color);
    font-weight: 600;
}

.btn-outline-secondary:hover {
    background: var(--gradient-1);
    border-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-title {
        font-size: 2rem;
    }

    .dashboard-header {
        padding: 1.5rem;
        text-align: center;
    }

    .header-actions {
        margin-top: 1rem;
    }

    .header-actions .btn {
        margin-bottom: 0.5rem;
        width: 100%;
    }
}

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

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

.dashboard-stat-card,
.card,
#product-slider {
    animation: fadeInUp 0.6s ease-out;
}

.dashboard-stat-card:nth-child(2) {
    animation-delay: 0.1s;
}

.dashboard-stat-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Custom scrollbar for product slider */
.vertical-slider {
    max-height: 600px;
    overflow-y: auto;
}

.vertical-slider::-webkit-scrollbar {
    width: 6px;
}

.vertical-slider::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.vertical-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.vertical-slider::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}








.sidebar {
    width: var(--sidebar-width);
    height: calc(100vh - 17px);
    position: fixed;
    left: 5px;
    top: 9px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid whitesmoke;
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    /* box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2); */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    overflow: hidden;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
    border-radius: 24px;
}

.sidebar.hidden {
    transform: perspective(1000px) rotateY(-45deg) translateX(-100%);
    opacity: 0;
}

.sidebar:hover {
    transform: perspective(100px) rotateY(0deg) translateY(-1px);
    box-shadow:
        0 35px 20px -12px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.sidebar-brand {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 95, 0, 0.1);
    background: linear-gradient(135deg,
            rgba(255, 95, 0, 0.05) 0%,
            rgba(255, 95, 0, 0.02) 100%);
    position: relative;
    margin: 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.sidebar-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 20px 20px 0 0;
}

.brand-logo {
    width: 100px;
    height: auto;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, var(--primary-color), #ff8533);
    box-shadow:
        0 15px 35px rgba(255, 95, 0, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2); */
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.brand-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.brand-logo:hover::before {
    left: 100%;
}

.brand-logo img {
    width: 100%;
    height: auto;
    filter: brightness(1.1);
}

/* .brand-logo:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow:
            0 20px 40px rgba(255, 95, 0, 0.5),
            0 8px 20px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    } */

.brand-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-color);
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-nav {
    padding: 1rem 0;
    list-style: none;
    margin: 0;
    position: relative;
    max-height: 70vh;
    overflow-y: auto;
}

.sidebar-item {
    margin-bottom: 6px;
    position: relative;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.3rem;
    color: #64748b;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 10px;
    margin: 0 1rem;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    backdrop-filter: blur(5px);
}

.sidebar-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 95, 0, 0.1),
            transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.sidebar-link::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.sidebar-link:hover::before {
    left: 100%;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--primary-color);
    background: linear-gradient(135deg,
            rgba(255, 95, 0, 0.1) 0%,
            rgba(255, 95, 0, 0.05) 100%);
    border: 1px solid rgba(255, 95, 0, 0.2);
    font-weight: 600;
    transform: translateX(8px) translateY(-2px);

}

.sidebar-link:hover::after,
.sidebar-link.active::after {
    width: 4px;
    height: 30px;
}

.sidebar-link i {
    margin-right: 12px;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.sidebar-link:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 95, 0, 0.3);
}

.sidebar-link span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.sidebar-link:hover span {
    transform: translateX(3px);
}

.sidebar-divider {
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 95, 0, 0.3),
            transparent);
    margin: 2rem 2rem;
    position: relative;
}

.sidebar-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -2px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(255, 95, 0, 0.5);
}

/* Collapsible menu styles */
.sidebar-link.collapsed {
    position: relative;
}

.sidebar-link .ms-auto {
    transition: transform 0.3s ease;
}

.sidebar-link[aria-expanded="true"] .ms-auto {
    transform: rotate(180deg);
}

.collapse {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin: 0 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 95, 0, 0.1);
}

.collapse .sidebar-link {
    margin: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.02);
}

/* Badge styles */
.badge {
    background: linear-gradient(135deg, var(--primary-color), #ff8533) !important;
    border-radius: 12px !important;
    font-size: 0.8rem !important;
    padding: 0.3rem 0.6rem !important;
    box-shadow: 0 2px 8px rgba(255, 95, 0, 0.3);
    color: white !important;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 95, 0, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(255, 95, 0, 0.5);
    }
}

/* Logout button special styling */
.sidebar-nav .sidebar-link.logout {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.sidebar-link.chat-whatsapp {
    background: linear-gradient(135deg, rgba(18, 140, 126, 0.1), rgba(18, 140, 126, 0.05));
    border: 1px solid rgba(18, 140, 126, 0.2);
    color: #128c7e;
}

.sidebar-nav .sidebar-link.logout:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.1));
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.3);
}

.sidebar-nav.logout .sidebar-link::after {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

.sidebar-item {
    animation: slideInLeft 0.6s ease-out;
}

.sidebar-item:nth-child(1) {
    animation-delay: 0.1s;
}

.sidebar-item:nth-child(2) {
    animation-delay: 0.2s;
}

.sidebar-item:nth-child(3) {
    animation-delay: 0.3s;
}

.sidebar-item:nth-child(4) {
    animation-delay: 0.4s;
}

.sidebar-item:nth-child(5) {
    animation-delay: 0.5s;
}

/* Responsive design */
@media (max-width: 768px) {
    .sidebar {
        width: calc(100vw - 40px);
        left: 20px;
        right: 20px;
        height: calc(100vh - 40px);
    }

    .sidebar.hidden {
        transform: perspective(1000px) rotateX(-45deg) translateY(-100%);
    }
}

/* Scrollbar styling */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff8533, var(--primary-color));
}






.profile-container {
    /* max-width: 900px; */
    margin: 0rem auto;
    padding: 0rem;
}

.profile-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff5f0099 100%);
    padding: 2rem;
    text-align: center;
    color: white;
    position: relative;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.profile-header h2 {
    margin: 0;
    font-weight: 300;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.avatar-container {
    position: relative;
    margin-bottom: 1rem;
}

.avatar-preview {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.avatar-preview i {
    font-size: 10rem;
    color: white;
}

.avatar-preview:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.avatar-upload-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-upload-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.form-section {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    z-index: 10;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

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

.social-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.social-input {
    padding-left: 3rem !important;
}


.toast {
    position: fixed;
    top: 4rem;
    right: 2rem;
    z-index: 1050;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.invalid-feedback {
    display: block;
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-control.is-invalid {
    border-color: #e53e3e;
}

@media (max-width: 768px) {
    .profile-container {
        margin: 1rem;
        padding: 1rem;
    }

    .profile-header {
        padding: 1.5rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .social-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 468px) {
    .profile-container {
        margin: 0.5rem;
        padding: 0rem;
    }

    .profile-header {
        padding: 0.5rem;
    }

    .form-section {
        padding: 0.5rem;
    }

    .social-links {
        grid-template-columns: 1fr;
    }



    .avatar-preview {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid rgba(255, 255, 255, 1);
        background: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: rgba(0, 0, 0, 0.7);
        transition: all 0.3s ease;
    }
}



.iti--allow-dropdown {
    width: 100% !important;
}