/*
================================================
CUSTOM LIBRARY STYLES
Централизиран файл за стилове на външни библиотеки (Shepherd, Bootstrap и др.)
================================================
*/

/* --- Персонализиран стил за Shepherd.js (Onboarding Tour) --- */

.shepherd-element {
    background: rgba(30, 25, 40, 0.95); /* Тъмно лилав, почти непрозрачен фон */
    border-radius: 15px;
    border: 1px solid rgba(180, 150, 220, 0.6); /* Лилав акцент */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.shepherd-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
}

.shepherd-text {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.5;
    padding: 1rem;
}

.shepherd-text strong {
    color: #cda5ff; /* Светъл лилав акцент */
}

.shepherd-footer {
    padding: 0 1rem 1rem;
}

.shepherd-button {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin: 0 5px;
}

/* Основен бутон (Напред, Завърши) */
.shepherd-button:not(.shepherd-button-secondary) {
    background-color: #8a63d2;
    border-color: #8a63d2;
}

.shepherd-button:not(.shepherd-button-secondary):hover {
    background-color: #a17fe0; /* По-светъл при hover */
    border-color: #a17fe0;
}

/* Вторичен бутон (Назад, Пропусни) */
.shepherd-button.shepherd-button-secondary {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
}

.shepherd-button.shepherd-button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

.shepherd-arrow,
.shepherd-arrow:before {
    background: rgba(30, 25, 40, 0.95);
}


/* --- Персонализиран стил за Bootstrap Popovers (Контекстна помощ) --- */

.popover {
    --bs-popover-bg: rgba(30, 25, 40, 0.95);
    --bs-popover-border-color: rgba(180, 150, 220, 0.6);
    --bs-popover-body-color: #e0e0e0;
    --bs-popover-body-padding-x: 1rem;
    --bs-popover-body-padding-y: 0.75rem;
    --bs-popover-border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

/* Стилизиране на стрелката, за да съответства на новия фон */
.popover .popover-arrow::after {
    border-top-color: var(--bs-popover-bg); /* За popover отдолу */
    border-bottom-color: var(--bs-popover-bg); /* За popover отгоре */
}