/* Styles for the Tutorial Modal */
.tutorial-modal {
    position: fixed;
    z-index: 1003; /* Ensure it's above other modals if necessary */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85); /* Match datamining: Darker overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
    backdrop-filter: blur(6px); /* Match datamining: Stronger blur */
}

.tutorial-modal.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease;
}

.tutorial-modal-content {
    background: linear-gradient(145deg, rgba(10, 25, 40, 0.97), rgba(20, 35, 55, 0.97)); /* Match datamining: Darker, techy gradient */
    margin: auto;
    padding: 25px; /* Unified padding */
    border: 1px solid rgba(0, 255, 220, 0.6); /* Match datamining: Cyan/Turquoise border */
    border-radius: 15px;
    width: 90%;
    max-width: 550px; /* Slightly adjusted width */
    box-shadow: 0 10px 50px rgba(0, 255, 220, 0.7), 0 0 20px rgba(0,0,0,0.4); /* Match datamining: Stronger glow */
    color: #E0F0FF; /* Match datamining: Light icy blue text */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Gap between sections */
    overflow: hidden;
    text-align: center; /* Center align text */
}

#tutorial-modal-visual {
    padding: 10px;
    background-color: rgba(0,0,0,0.2);
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 220, 0.3);
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

#tutorial-modal-icon {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

#tutorial-modal-text-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#tutorial-modal-title {
    color: #00FFDC;
    margin: 0;
    font-size: 1.8em;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(0, 255, 220, 0.8);
}

#tutorial-modal-text {
    line-height: 1.6;
    color: #A0C0E0;
    margin-bottom: 10px; /* Space above actions */
}

.tutorial-modal-actions {
    display: flex;
    justify-content: center; /* Center buttons */
    gap: 20px; /* Space between buttons */
    margin-top: 15px;
}

/* Primary Button: Next/Finish */
.tutorial-button {
    background-color: rgba(0, 255, 220, 0.2); /* Accent color, semi-transparent */
    border: 1px solid #00FFDC;
    color: #00FFDC;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.5), inset 0 0 8px rgba(0, 255, 255, 0.3);
}

.tutorial-button:hover {
    background-color: #00FFDC;
    color: #000020; /* Dark blue */
    transform: scale(1.05);
}

/* Secondary Button: Skip */
.tutorial-button.skip {
    background-color: transparent;
    border: 1px solid rgba(160, 192, 224, 0.5); /* Lighter, less prominent border */
    color: #A0C0E0; /* Subdued text color */
    box-shadow: none; /* No glow */
}

.tutorial-button.skip:hover {
    background-color: rgba(160, 192, 224, 0.15);
    border-color: #A0C0E0;
    color: #E0F0FF; /* Slightly brighten on hover */
    transform: scale(1.05); /* Keep consistent hover effect */
}

@media (max-width: 640px) {
    .tutorial-modal-content {
        max-width: 95%;
    }
    .tutorial-modal-header h3 {
        font-size: 1.4em;
    }
} 