/* ==============================================================
   MODERN HELP PANEL THEME (KM Sativa green/gold)
   Targets the EXISTING #help_part markup from signin_help.php.
   Nothing in the PHP needs to change — just add this CSS file
   (link it after your main style.css so these rules win).
   ============================================================== */

:root {
    --dark-green: #225902;
    --dark-green-2: #143b02;
    --mid-green: #4f8a1f;
    --golden-yellow: #8fc94a;
    --golden-light: #b7e176;
    --border-gold: #6fae2c;
    --text-gray: #555555;
    --green-gradient: linear-gradient(135deg, #2d6b05 0%, #225902 45%, #143b02 100%);
    --gold-gradient: linear-gradient(135deg, #6fae2c 0%, #3f7a12 55%, #225902 100%);
}

/* ---- Panel container ---- */
#help_part {
    /* keep display:none as-is — your JS toggles this on hover/click */
    width: 320px;
    max-width: 88vw;
    background: linear-gradient(180deg, #ffffff 0%, #fdfaf2 100%) !important;
    border: 1px solid #e3f0c9;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px rgba(11, 74, 58, 0.2);
    padding: 14px 14px 16px !important;
    font-family: 'Poppins', sans-serif;
    position: absolute;
    z-index: 999;
    animation: helpPanelIn 0.22s ease;
    overflow: hidden;
    position:fixed;
	width: 300px;
	height:auto;
	top : 95px;
	bottom:100px;
	right:20px;	
}

/* thin gold accent strip on top */
#help_part::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold-gradient);
}

@keyframes helpPanelIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Header row (Help label + close icon) ---- */
#help_part > ul {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eef7e0;
    padding-bottom: 10px !important;
    margin-bottom: 6px !important;
    list-style: none;
}
#help_part .label_head_txt {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--dark-green) !important;
    letter-spacing: 0.3px;
}
#help_part > ul li[onclick] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f3f7ea;
    transition: 0.25s;
}
#help_part > ul li[onclick] .close {
    color: #8a8a8a !important;
    font-size: 16px !important;
    transition: 0.25s;
}
#help_part > ul li[onclick]:hover {
    background: #fdeaea;
    transform: rotate(90deg);
}
#help_part > ul li[onclick]:hover .close {
    color: #b34747 !important;
}

/* ---- Table body ---- */
#help_part #small_table {
    width: 100% !important;
    border-collapse: collapse;
    max-height: 450px;
    overflow-y: auto;
    display: block;
}
#help_part #small_table tr {
    display: block;
    border-radius: 8px;
    transition: background 0.2s;
}
#help_part #small_table tr:hover {
    background: rgba(111, 174, 44, 0.07);
}
#help_part #small_table tr td {
    border: none !important;
}

/* forward/right arrow icons -> gold */
#help_part #small_table .icon {
    color: var(--border-gold) !important;
    font-size: 15px !important;
}

/* regular explanation text rows */
#help_part #small_table tr td[style*="font-size:12.3px"] {
    color: var(--text-gray) !important;
    line-height: 1.55 !important;
    font-size: 0.82rem !important;
}

/* section header rows: SignUP / SignUP with Google / SignIN / SignIN with Google
   -> turned into a small golden pill/chip instead of plain bold darkgreen text */
#help_part #small_table tr td[colspan="2"] {
    display: inline-block;
    background: var(--gold-gradient) !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.68rem !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 12px !important;
    border-radius: 20px;
    margin: 10px 0 6px !important;
    box-shadow: 0 4px 10px rgba(212, 169, 74, 0.35);
}

/* sub-bullet rows (arrow_right) slightly indented + softer color */
#help_part #small_table tr td[style*="padding-left:10px"] .icon[style*="font-size:20px"] {
    color: var(--golden-yellow) !important;
}

/* scrollbar for the table if content overflows */
#help_part #small_table::-webkit-scrollbar { width: 5px; }
#help_part #small_table::-webkit-scrollbar-thumb {
    background: rgba(212, 169, 74, 0.45);
    border-radius: 10px;
}

/* ---- Optional: hover-to-reveal wiring ----
   If your help ICON is wrapped like:
     <span class="help-icon-wrap"> <i class="help-icon">help</i> {{help_part panel here}} </span>
   this pure-CSS rule will show/hide it on hover automatically,
   working alongside your existing hide_help() click handler.
   Safe to include even if unused — it only fires if that wrapper class exists. */
.help-icon-wrap { position: relative; }
.help-icon-wrap:hover #help_part { display: block !important; }