.shepherd-theme-dark {
    background-color: #2d3748;
    color: #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3),
                0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    max-width: 400px;
    width: 95%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.shepherd-theme-dark .shepherd-header {
    background-color: #4a5568 !important;
    color: #ffffff !important;
    font-weight: bold;
    padding: 16px 20px !important;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shepherd-theme-dark .shepherd-text {
    color: #e2e8f0;
    padding: 16px 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.shepherd-theme-dark .shepherd-footer {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.shepherd-theme-dark .shepherd-button {
    background-color: #4a5568;
    color: #e2e8f0;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.shepherd-theme-dark .shepherd-button:hover {
    background-color: #4c4c4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shepherd-theme-dark .shepherd-button:active {
    transform: translateY(0);
}

.shepherd-theme-dark .shepherd-button-primary {
    background-color: #4299e1 !important;
}

.shepherd-theme-dark .shepherd-button-primary:hover {
    background-color: #3182ce !important;
}

.shepherd-theme-dark .shepherd-button-secondary {
    background-color: #718096 !important;
}

.shepherd-theme-dark .shepherd-button-secondary:hover {
    background-color: #4a5568 !important;
}

.shepherd-theme-dark .shepherd-cancel-icon {
    color: #cacaca !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.shepherd-theme-dark .shepherd-cancel-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

.shepherd-theme-dark .shepherd-arrow {
    background-color: #2d3748 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.shepherd-theme-dark .shepherd-arrow::before {
    border-color: #2d3748 !important;
    background-color: #2d3748 !important;
}

.shepherd-theme-dark [data-popper-placement^="top"] [data-popper-arrow]::before {
    border-bottom-color: #2d3748 !important;
}

.shepherd-theme-dark .shepherd-content {
    background-color: #2d3748;
    color: #e2e8f0;
    border-radius: 12px;
}

.shepherd-theme-dark .shepherd-step {
    background-color: #4a5568;
    color: #e2e8f0;
    border-radius: 12px !important;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.shepherd-theme-dark .shepherd-title {
    color: #ffffff !important;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Custom styling for tour content */
.tour-content p {
    margin-bottom: 12px;
}

.tour-content ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.tour-content ul li {
    margin-bottom: 6px;
}

.tour-content .text-yellow-300 {
    color: #fcd34d;
    font-weight: 500;
}

.tour-content .mt-2 {
    margin-top: 8px;
}

/* Overlay styling */
.shepherd-modal-overlay-container.shepherd-modal-is-visible {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Animation for the tooltip */
.shepherd-element[data-popper-reference-hidden] {
    opacity: 0;
    pointer-events: none;
}

.shepherd-element, .shepherd-element * {
    box-sizing: border-box;
}

/* Highlight effect for target elements */
.shepherd-highlight {
    position: relative;
    z-index: 10;
}

.shepherd-highlight::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 8px;
    background: rgba(66, 153, 225, 0.15);
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.5);
    pointer-events: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(66, 153, 225, 0.5);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(66, 153, 225, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(66, 153, 225, 0);
    }
}
