/* ============================================
   RedServicio.net - Onboarding Tour Styles
   Shepherd.js v11+ Custom Theme
   ============================================ */

/* Tour tooltip */
.shepherd-element {
    background: #6750a4 !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 32px rgba(103, 80, 164, 0.4) !important;
    max-width: 420px;
    z-index: 10500 !important;
}

.shepherd-arrow::before {
    background: #6750a4 !important;
}

/* Header */
.shepherd-header {
    background: transparent !important;
    padding: 20px 20px 0 20px !important;
}

.shepherd-title {
    color: white !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
}

/* Content */
.shepherd-text {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    padding: 16px 20px !important;
    font-family: 'Inter', sans-serif !important;
}

.shepherd-text ul,
.shepherd-text ol {
    margin: 12px 0;
    padding-left: 24px;
}

.shepherd-text li {
    margin: 6px 0;
}

.shepherd-text a {
    color: #ffd54f !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

.shepherd-text a:hover {
    color: #ffe082 !important;
}

/* Footer & Buttons */
.shepherd-footer {
    padding: 12px 20px 20px !important;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: none !important;
}

.shepherd-button {
    background: white !important;
    color: #6750a4 !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: 'Inter', sans-serif !important;
}

.shepherd-button:hover {
    background: #f0f0f0 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.shepherd-button.btn-secondary {
    background: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
}

.shepherd-button.btn-secondary:hover {
    border-color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
}

.shepherd-button.btn-lg {
    padding: 16px 32px !important;
    font-size: 16px !important;
}

/* Cancel (X) icon */
.shepherd-cancel-icon {
    color: white !important;
    opacity: 0.7;
    transition: opacity 0.2s;
    font-size: 28px !important;
}

.shepherd-cancel-icon:hover {
    opacity: 1;
}

/* Modal overlay */
.shepherd-modal-overlay-container {
    fill: rgba(0, 0, 0, 0.6) !important;
}

/* Custom content classes */
.onboarding-welcome,
.onboarding-complete {
    text-align: center;
}

.onboarding-welcome p,
.onboarding-complete p {
    margin-bottom: 8px;
}

.tour-benefit {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 8px;
}

.tour-tip {
    margin-top: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 14px;
    border-left: 4px solid #ffd54f;
}

.tour-support-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 8px;
    margin: 12px 0;
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
}

.demo-button {
    background: #2196f3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    pointer-events: none;
    opacity: 0.9;
    display: inline-block;
}

.tour-help {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

/* Step progress indicator */
.tour-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.tour-progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.tour-progress-dot.active {
    background: white;
    transform: scale(1.3);
}

.tour-progress-dot.done {
    background: #ffd54f;
}

/* Responsive */
@media (max-width: 768px) {
    .shepherd-element {
        max-width: 90vw !important;
        margin: 0 5vw !important;
    }

    .shepherd-title {
        font-size: 18px !important;
    }

    .shepherd-text {
        font-size: 14px !important;
    }

    .shepherd-footer {
        flex-direction: column;
    }

    .shepherd-button {
        width: 100% !important;
        text-align: center;
    }
}

/* Entrance animation */
.shepherd-element {
    animation: tourSlideIn 0.3s ease-out;
}

@keyframes tourSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Highlight pulse for attached elements */
.shepherd-target.shepherd-enabled {
    position: relative;
    z-index: 10001;
}
