/**
 * Custom Styles für beonbrand.ai Guided Tour
 */

/* Tooltip Styling */
.introjs-tooltip.beonbrand-tour-tooltip {
    max-width: 450px !important;
    min-width: 450px !important;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.introjs-tooltip-header {
    padding: 15px 20px 5px 20px;
}

.introjs-tooltip-title {
    font-size: 18px;
    font-weight: 700;
    color: #001533;
}

.introjs-tooltiptext {
    padding: 10px 20px 20px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

/* Progress Bar */
.introjs-progress {
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 2px;
    margin: 10px 20px;
}

.introjs-progressbar {
    background: linear-gradient(280deg, rgb(191, 27, 237) 26.3%, rgb(157, 53, 242) 86.4%);
    border-radius: 2px;
}

/* Buttons */
.introjs-button {
    border: none !important;
    outline: none !important;
    box-shadow: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-shadow: none;
}

.introjs-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.introjs-nextbutton {
    background: linear-gradient(280deg, rgb(191, 27, 237) 26.3%, rgb(157, 53, 242) 86.4%);
    color: white !important;
}

.introjs-nextbutton:hover {
    background: linear-gradient(280deg, rgb(191, 27, 237) 26.3%, rgb(157, 53, 242) 86.4%);
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(191, 27, 237, 0.4) !important;
}

.introjs-prevbutton {
    background-color: #f1f5f9;
    color: #475569;
}

.introjs-prevbutton:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.introjs-skipbutton {
    color: #94a3b8;
    font-weight: 500;
}

.introjs-skipbutton:hover {
    color: #64748b;
}

.introjs-donebutton {
    background: linear-gradient(280deg, rgb(191, 27, 237) 26.3%, rgb(157, 53, 242) 86.4%);
    color: white !important;
}

.introjs-donebutton:hover {
    background: linear-gradient(280deg, rgb(191, 27, 237) 26.3%, rgb(157, 53, 242) 86.4%);
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(191, 27, 237, 0.4) !important;
}

/* Highlight Box */
.introjs-helperLayer.beonbrand-tour-highlight {
    border-radius: 8px;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
}

/* Overlay */
.introjs-overlay {
    background-color: rgba(0, 21, 51, 0.7);
}

/* Bullets/Steps Indicator */
.introjs-bullets ul li a {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
}

.introjs-bullets ul li a.active {
    background: linear-gradient(280deg, rgb(191, 27, 237) 26.3%, rgb(157, 53, 242) 86.4%);
    width: 24px;
    border-radius: 4px;
}

/* Tour Start Button */
.tour-start-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(280deg, rgb(191, 27, 237) 26.3%, rgb(157, 53, 242) 86.4%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tour-start-btn:hover {
    background: linear-gradient(280deg, rgb(171, 20, 217) 26.3%, rgb(137, 43, 222) 86.4%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(191, 27, 237, 0.3);
}

.tour-start-btn i {
    font-size: 14px;
}

/* Dark Mode Adjustments */
.dark-theme .introjs-tooltip.beonbrand-tour-tooltip {
    background-color: #1e293b;
    border: 1px solid #334155;
}

.dark-theme .introjs-tooltip-title {
    color: #f1f5f9;
}

.dark-theme .introjs-tooltiptext {
    color: #cbd5e1;
}

.dark-theme .introjs-prevbutton {
    background-color: #334155;
    color: #e2e8f0;
}

.dark-theme .introjs-prevbutton:hover {
    background-color: #475569;
}

.dark-theme .introjs-progress {
    background-color: #334155;
}

/* Responsive */
@media (max-width: 768px) {
    .introjs-tooltip.beonbrand-tour-tooltip {
        max-width: 300px;
    }

    .introjs-tooltip-title {
        font-size: 16px;
    }

    .introjs-tooltiptext {
        font-size: 13px;
    }
}
