:root {
    /* Brand Color Palette */
    --primary-color: #4bc599;
    --primary-light: #3ac6a0;
    --primary-dark: #4bc599;
    
    --secondary-color: #807e7e;
    --secondary-light: #616161;
    --secondary-dark: #310404;
    
    --accent-color: #ff6584;
    --accent-light: #ff85a1;
    --accent-dark: #e64f6d;
    
    /* Neutral Colors */
    --light-bg: #f8f9fa;
    --bg-dark:#000;
    --light-gray: #e9ecef;
    --medium-gray: #ced4da;
    --dark-text: #2d3748;
    --darker-text: #1a202c;
    
    /* Status Colors */
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --danger-color: #f56565;
    --info-color: #4299e1;
    
    /* Marketplace Vendor Colors */
    --vendor-1: #9f7aea; /* Purple */
    --vendor-2: #4299e1; /* Blue */
    --vendor-3: #48bb78; /* Green */
    --vendor-4: #ed8936; /* Orange */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    padding-bottom: 60px; /* Space for sticky footer nav */
}

/* ========== Brand Color Application ========== */
/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

/* Background Colors */
.bg-primary {
    background-color: var(--primary-color) !important;
}
.bg-dark {
    background-color: var(--bg-dark) !important;
}
.bg-secondary {
    background-color: var(--secondary-color) !important;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

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

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

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


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

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.text-primar{
    color: var(--primary-color);
}

 /* Custom styles to make the modal smaller */
        .compact-modal .modal-dialog {
            max-width: 350px;
            margin: 1.75rem auto;
        }
        .compact-modal .modal-content {
            padding: 1rem;
            border: none;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .compact-modal .modal-body {
            padding: 1rem 0;
        }
        .compact-modal .btn-close {
            position: absolute;
            right: 1rem;
            top: 1rem;
        }
        
        /* Brand color customization */
        .brand-bg {
            background-color: #4bc599;
        }
        .brand-text {
            color: #4bc599;
        }
        .brand-btn {
            background-color: #4bc599;
            border-color: #4bc599;
            color: white;
        }
        .brand-btn:hover {
            background-color: #3aa882;
            border-color: #3aa882;
        }
        .brand-icon {
            fill: #4bc599;
        }
        .brand-outline-btn {
            border-color: #4bc599;
            color: #4bc599;
        }
        .brand-outline-btn:hover {
            background-color: #4bc599;
            color: white;
        }
        
        
        
        /* Telegram Support Button Styles */
#telegramSupportBtn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #229ED9;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

#telegramSupportBtn:hover {
    transform: scale(1.1);
    background-color: #1a8bc8;
}

/* Pulsing circle effect */
.telegram-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #229ED9;
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0;
}

.telegram-pulse:nth-child(2) {
    animation-delay: 0.66s;
}

.telegram-pulse:nth-child(3) {
    animation-delay: 1.33s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-color: #ff4757;
    border-radius: 50%;
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Modal Styles */
.telegram-modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.telegram-modal .modal-header {
    background-color: #229ED9;
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 15px;
    border-bottom: none;
}

.telegram-modal .modal-header .btn-close {
    filter: invert(1);
}

.telegram-modal .modal-body {
    padding: 0;
}

.telegram-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.telegram-option:hover {
    background-color: rgba(34, 158, 217, 0.1);
    transform: translateY(-2px);
}

.telegram-option-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.telegram-option-text h6 {
    margin-bottom: 3px;
    font-weight: 600;
}

.telegram-option-text small {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    #telegramSupportBtn {
        width: 50px;
        height: 50px;
        bottom: 70px;
        right: 15px;
    }
    
    .telegram-modal .modal-dialog {
        margin: 10px;
    }
    
    .telegram-option {
        padding: 12px;
    }
    
    .telegram-option-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
    }
}

