/**
 * Shepherd.js Tour Theme
 * Custom styling for interactive tours
 */

/* Theme Container */
.shepherd-theme-calculution {
    background: var(--bg-elevated);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    border: 1px solid var(--border-color);
}

/* Header */
.shepherd-theme-calculution .shepherd-header {
    padding: 1rem 1.5rem 0.5rem;
}

.shepherd-theme-calculution .shepherd-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Content */
.shepherd-theme-calculution .shepherd-text {
    padding: 0.5rem 1.5rem 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer (Buttons) */
.shepherd-theme-calculution .shepherd-footer {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Buttons */
.shepherd-theme-calculution .shepherd-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.shepherd-theme-calculution .shepherd-button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.shepherd-theme-calculution .shepherd-button-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.shepherd-theme-calculution .shepherd-button-secondary:hover {
    background: var(--bg-tertiary);
}

/* Cancel Icon */
.shepherd-theme-calculution .shepherd-cancel-icon {
    color: var(--text-secondary);
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.shepherd-theme-calculution .shepherd-cancel-icon:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Arrow */
.shepherd-theme-calculution.shepherd-element-attached-bottom .shepherd-arrow {
    border-bottom-color: var(--bg-elevated);
}

.shepherd-theme-calculution.shepherd-element-attached-top .shepherd-arrow {
    border-top-color: var(--bg-elevated);
}

.shepherd-theme-calculution.shepherd-element-attached-left .shepherd-arrow {
    border-left-color: var(--bg-elevated);
}

.shepherd-theme-calculution.shepherd-element-attached-right .shepherd-arrow {
    border-right-color: var(--bg-elevated);
}

/* Overlay */
.shepherd-modal-overlay-container {
    background: rgba(0, 0, 0, 0.5);
}

/* Highlighted Element */
.shepherd-enabled.shepherd-element-attached-top,
.shepherd-enabled.shepherd-element-attached-bottom,
.shepherd-enabled.shepherd-element-attached-left,
.shepherd-enabled.shepherd-element-attached-right {
    z-index: 9999;
}

/* Animation */
.shepherd-element {
    animation: shepherdFadeIn 0.3s ease-in-out;
}

@keyframes shepherdFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .shepherd-theme-calculution {
        max-width: 90vw;
    }

    .shepherd-theme-calculution .shepherd-title {
        font-size: 1rem;
    }

    .shepherd-theme-calculution .shepherd-text {
        font-size: 0.875rem;
    }

    .shepherd-theme-calculution .shepherd-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}
