/* Basic modal styling */
.helpmodal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.helpmodal-content {
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.5s ease-out; /* Smooth entrance animation */
}

/* Initial state for each step */
.helpstep {
    display: none; /* Initially hide all steps */
    opacity: 0; /* Hide steps by default */
    transition: opacity 0.5s ease-out; /* Fade-in effect for each step */
}

/* Only show the current step */
.helpstep.show {
    display: block; /* Make the step visible */
    opacity: 1; /* Make the step fully visible */
}

/* Step icon styling */
.helpstep img {
    width: 50px; /* Icon size */
    height: 50px;
    vertical-align: middle;
}

/* Heading and paragraph styling for each step */
.helpstep h3 {
    font-size: 1.5em;
    margin: 10px 0;
}

.helpstep p {
    font-size: 1.2em;
}

.helpmodal-navigation {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.helpmodal-content h2 {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

.helpmodal-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #555;
}

/* Animations for steps */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.helpstep.show {
    display: block;
    opacity: 1;
    animation: zoomIn 0.6s ease-out; /* You can change slideIn to zoomIn for a different effect */
}

/* Button styles */
#help-icon-animated {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 30px;
    background-color: #f39c12;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
}

#close-modal-animated {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
}

/* Progress container */
.progress-container {
    width: 100%;
    height: 10px;
    background-color: #f1f1f1;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    position: relative;
}

/* The moving progress bar */
.progress-bar {
    height: 100%;
    width: 25%; /* Starts at 25% */
    background-color: #32ADD8;
    border-radius: 5px;
    transition: width 1s ease-out; /* Adjust transition speed */
}

/* Animations for steps */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.step-navigation {
    margin-bottom: 10px;
}

#back-button, #next-button {
    background-color: #DB9507;
    color: white;
    border: none;
    padding: 8px 12px;
    margin: 5px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

#back-button {
    display: inline-block;
}

#next-button {
    display: inline-block;
}

@media (max-width: 768px) {
    .helpmodal-content {
        max-width: 300px;
        margin-top: 150px;
        margin-bottom: 150px;
        font-size: 13px;
    }
}

.example-box {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.example-box p {
    margin: 5px 0;
}