/* css/11_help_overlay.css - Styles for the new help modal */

/* The main backdrop, provides the 70% dimming effect */
.help-overlay-backdrop {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1500; /* Higher than other modals */
    left: 0;
    top: 0;
    right: 0;  /* <-- ADD THIS */
    bottom: 0; /* <-- ADD THIS */
    background-color: rgba(0, 0, 0, 0.7); /* 70% dimming */
    animation: fadeIn 0.3s;
    
    /* Flexbox to center the content */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* This is the white content box */
.help-overlay-content {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    width: 85%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto; /* Make content scrollable */
    padding: 25px;
    text-align: center; /* Center the graphic and text */
}

/* Style for the close button (re-using profile modal style) */
.help-overlay-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    color: var(--text-color-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.help-overlay-close-btn:hover {
    color: var(--text-color);
}

.help-overlay-graphic {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
	object-fit:contain;
}

/* Styling for the help text */
.help-overlay-text {
    text-align: left;
    color: var(--text-color-secondary);
    line-height: 1.6;
}

.help-overlay-text h3 {
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 10px;
}

.help-overlay-text p {
    margin-bottom: 10px;
}