/* 
 * Shepherd Tutorial Premium Styling
 * Glassmorphism & Modern UI 
 */

.shepherd-element {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    font-family: 'Roboto', sans-serif;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.shepherd-enabled.shepherd-element {
    opacity: 1;
}

/* Header & Title */
.shepherd-header {
    background: transparent;
    padding: 1.5rem 1.5rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shepherd-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Close Icon */
.shepherd-cancel-icon {
    color: #a0aec0;
    font-size: 1.5rem;
    transition: color 0.2s;
    text-decoration: none;
}

.shepherd-cancel-icon:hover {
    color: #4a5568;
}

/* Content */
.shepherd-text {
    padding: 0.5rem 1.5rem 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
}

.shepherd-text b {
    color: #2d3748;
    font-weight: 600;
}

/* Footer & Buttons */
.shepherd-footer {
    padding: 0.5rem 1.5rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.shepherd-button {
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.shepherd-button-secondary {
    background: #edf2f7;
    color: #4a5568;
}

.shepherd-button-secondary:hover {
    background: #e2e8f0;
}

.shepherd-button-primary {
    background: #3182ce;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(49, 130, 206, 0.2);
}

.shepherd-button-primary:hover {
    background: #2b6cb0;
    transform: translateY(-1px);
}

/* Arrow */
.shepherd-arrow::before {
    background: rgba(255, 255, 255, 0.95);
}

/* Progress indicator (optional injection) */
.shepherd-progress {
    font-size: 0.75rem !important;
    color: #a0aec0 !important;
    margin-right: auto !important;
    align-self: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    pointer-events: none !important;
    box-shadow: none !important;
    font-weight: 400 !important;
}

/* Highlight dynamic elements */
.tutorial-highlight {
    outline: 3px solid #3182ce !important;
    outline-offset: 4px;
    transition: outline 0.3s ease;
}

/* Modal Overlay */
.shepherd-modal-overlay-container {
    opacity: 0.4;
    transition: opacity 0.5s;
}

.shepherd-modal-overlay-container.shepherd-modal-is-visible {
    opacity: 0.6;
}

/* --- INLINE TUTORIAL BUTTON --- */
.tutorial-pulse-mini {
    animation: tutorial-pulse-mini-anim 2s infinite;
    border: none;
}

@keyframes tutorial-pulse-mini-anim {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 103, 201, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 103, 201, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 103, 201, 0);
    }
}

.tutorial-btn-container {
    display: flex;
    justify-content: flex-start;
    padding-left: 5px;
}
