/* Hide Help popup by default */
.help-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* ✅ Dark overlay */
    backdrop-filter: blur(5px); /* ✅ Blurred background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show Help popup when active */
.help-container.active {
    visibility: visible;
    opacity: 1;
}

/* Help Box - Styled Popup */
.help-popup {
    background: rgba(30, 30, 30, 0.95); /* ✅ Slight transparency */
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    width: 450px;
    min-height: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Help Header */
.help-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Close Button */
.help-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.help-header button:hover {
    color: #7aee00; /* ✅ Change close button color on hover */
}

/* Help Content */
.help-content {
    text-align: left;
    font-size: 16px; /* ✅ Standardized font size */
}

/* Add space before Sections */
.help-sections div {
    margin-top: 25px;
}

/* Titles of Sections */
.help-sections p {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}

/* Horizontal Line (Separator) */
.help-sections hr {
    border: none;
    height: 1px;
    background: #444;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Lists inside Help Sections */
.help-sections ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-sections ul li {
    margin: 5px 0;
}

.help-sections ul li a {
    color: #7aee00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.help-sections ul li a:hover {
    text-decoration: underline;
    color: #01a5bf; /* ✅ Hover effect */
}

/* Controls Table */
.help-sections table {
    width: 100%;
    margin-top: 10px;
}

.help-sections table td {
    padding: 8px;
    text-align: center;
}

/* Control Icons */
.help-sections table img {
    width: 37px;
    height: 64px;
}

/* Help Buttons */
.help-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Close Button */
#closeHelp {
    background: #444;
    color: white;
    border: 1px solid #444;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

#closeHelp:hover {
    background: #7aee00;
    color: #000;
}
