.sgff-button-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px !important; 
    clear: both;
    width: 100%;
}
.sgff-button-container .button {
    margin: 0 !important;
}

.sgff-open-drawer, .sgff-open-wizard{
    display: inline-block;
    margin: 8px 10px 15px 0;
    background-color:  var(--sgff-btn-bg, #111);
    color: var(--sgff-btn-text, #fff);
    border: none;
    padding: 10px 18px;
    border-radius: var(--sgff-border-radius, 4px);
    font-size: 14px;
    cursor: pointer;
    font-family: var(--sgff-font-family, inherit);
    transition: background 0.2s ease;
}
.sgff-open-drawer:hover, .sgff-open-wizard:hover{
    background-color: var(--sgff-btn-hover, #1c1c1c);
}
.sgff-drawer{
    position:fixed;
    inset: 0;
    z-index: 9999999 !important;
    pointer-events: none;
    visibility: hidden;
}
.sgff-drawer.is-open{
    pointer-events: auto;
    visibility: visible;
}
.sgff-drawer-backdrop{
    position: absolute;
    inset: 0;
    background:  var(--sgff-panel-overlay, rgba(0,0,0,0.45));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sgff-drawer.is-open .sgff-drawer-backdrop {
    opacity: 1;
}
.sgff-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: var(--sgff-drawer-width, 480px);
    max-width: 92vw;
    background: var(--sgff-panel-bg, #fff);
    color: var(--sgff-color-text, #333);
    font-family: var(--sgff-font-family, inherit);
    box-shadow: -8px 0 24px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.sgff-drawer[data-position="right"] .sgff-drawer-panel { 
    right: 0; transform: translateX(100%); 
}
.sgff-drawer.is-open[data-position="right"] .sgff-drawer-panel { 
    transform: translateX(0); 
}
.sgff-drawer[data-position="left"] .sgff-drawer-panel { 
    left: 0; transform: translateX(-100%); 
}
.sgff-drawer.is-open[data-position="left"] .sgff-drawer-panel { 
    transform: translateX(0); 
}
.sgff-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background-color: var(--sgff-header-bg, #fff);
    color: var(--sgff-header-text, #333);
    border-bottom: 1px solid #eee;
}
.sgff-drawer-title {
    color: var(--sgff-header-text, #333);
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.sgff-drawer-close {
    background: transparent !important;
    border: none !important;
    font-size: 26px !important;
    line-height: 1 !important;
    color: #666 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 0 0 auto !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    float: none !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
}
.sgff-drawer-close:hover {
    color: #000 !important;
}
.sgff-drawer-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
}
.sgff-drawer-controls{
    display: flex;
    align-items: stretch;
    gap: 15px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.sgff-unit-toggle {
    display: flex;
    height: 42px;
    gap: 6px;
    margin-bottom: 0 !important;
}
.sgff-unit-button {
    display: inline-flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    border: 1px solid var(--sgff-input-border, #ccc) !important;
    background: transparent !important;
    color: var(--sgff-color-text, #333) !important;
    padding: 0px 20px !important;
    border-radius: var(--sgff-border-radius, 4px) !important;
    cursor: pointer;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    height: 42px !important;
    box-sizing: border-box !important;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sgff-unit-button:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: #999 !important;
}

.sgff-unit-button.is-active {
    background: var(--sgff-color-primary, #111) !important;
    color: #fff !important;
    border-color: var(--sgff-color-primary, #111) !important;
    font-weight: 600 !important;
}
.sgff-unit-button.is-active:hover {
    background: var(--sgff-color-primary, #111) !important;
    border-color: var(--sgff-color-primary, #111) !important;
    color: #fff !important;
}

.sgff-unit-button:focus {
    outline: 2px solid var(--sgff-color-primary, #111) !important;
    outline-offset: 2px;
}
.sgff-chart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: var(--sgff-color-text, #333); /* Makes the table numbers visible */
}
.sgff-chart-table th,
.sgff-chart-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--sgff-input-border, #eee);
    text-align: left;
    white-space: nowrap;
}
.sgff-chart-table thead th {
    background: transparent; /* Removes the hardcoded light gray header */
    font-weight: 600;
    border-bottom: 1px solid var(--sgff-input-border, #ddd);
    font-size: 13px;
    color: var(--sgff-hint-text, #666); /* Matches your label colors */
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.sgff-chart-table tr:last-child td {
    border-bottom: none;
}
.sgff-loading,
.sgff-error {
    color: var(--sgff-hint-text, #666);
    font-size: 14px;
    padding: 20px 0;
    text-align: center;
}
body.sgff-drawer-open {
    overflow: hidden;
}

@media (max-width: 768px){
    .sgff-drawer:not(.sgff-mobile-enabled) .sgff-open-drawer{ 
        display:none; 
    }
}

.sgff-wizard {
    position: fixed;
    inset: 0;
    z-index: 9999999 !important;
    pointer-events: none;
    visibility: hidden;
}
.sgff-wizard.is-open {
    pointer-events: auto;
    visibility: visible;
}
.sgff-wizard-backdrop {
    position: absolute;
    inset: 0;
    background: var(--sgff-panel-overlay, rgba(0,0,0,0.45));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sgff-wizard.is-open .sgff-wizard-backdrop {
    opacity: 1;
}
.sgff-wizard-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: var(--sgff-wizard-width, 480px);
    max-width: 92vw;
    background: var(--sgff-panel-bg, #fff);
    color: var(--sgff-color-text, #333);
    font-family: var(--sgff-font-family, inherit);
    box-shadow: -8px 0 24px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.sgff-wizard[data-position="right"] .sgff-wizard-panel { 
    right: 0; 
    left: auto;
    transform: translateX(100%); 
}
.sgff-wizard.is-open[data-position="right"] .sgff-wizard-panel { 
    transform: translateX(0); 
}

.sgff-wizard[data-position="left"] .sgff-wizard-panel { 
    left: 0; 
    right: auto;
    transform: translateX(-100%); 
}
.sgff-wizard.is-open[data-position="left"] .sgff-wizard-panel { 
    transform: translateX(0); 
}

.sgff-wizard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background-color: var(--sgff-header-bg, #fff);
    color: var(--sgff-header-text, #333);
    border-bottom: 1px solid #eee;
}
.sgff-wizard-title {
    color: var(--sgff-header-text, #333);
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.sgff-wizard-close {
    background: transparent !important;
    border: none !important;
    font-size: 26px !important;
    line-height: 1 !important;
    color: #666 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 0 0 auto !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    float: none !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
}
.sgff-wizard-close:hover {
    color: #000 !important;
}
.sgff-drawer-header,
.sgff-wizard-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}
.sgff-drawer-title,
.sgff-wizard-title {
    flex: 1 1 auto !important;
    margin-right: 12px !important;
}
/*.sgff-wizard-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px 0;
}
*/
.sgff-wizard-progress {
    display: none !important;
}
.sgff-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    transition: background 0.2s ease, transform 0.2s ease;
}
.sgff-dot.is-active {
    background: var(--sgff-dot-active, #111);;
    transform: scale(1.2);
}
.sgff-wizard-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}
.sgff-step {
    display: none;
}
.sgff-step.is-active {
    display: block;
}
.sgff-step-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--sgff-hint-text, #666);;
    margin: 0 0 6px;
}
.sgff-step h3 {
    color: var(--sgff-step-title, #111);
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
}
.sgff-step h3 small {
    font-weight: 400;
    color: #3c3c3c;
    font-size: 14px;
}
.sgff-hint {
    color: var(--sgff-hint-text, #666);;
    font-size: 13px;
    margin: 0 0 16px;
}
.sgff-step label {
    display: block;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--sgff-color-text, #333);
}
.sgff-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 10px 12px;
    border-color: var(--sgff-input-border, #ccc);
    border-radius: var(--sgff-border-radius, 4px);
    font-family: var(--sgff-font-family, inherit);
    font-size: 15px;
    background-color: var(--sgff-panel-bg, #fff);
    color: var(--sgff-color-text, #333);
}
.sgff-input::placeholder {
    color: var(--sgff-hint-text, #666);
    opacity: 0.7;
}
.sgff-input:focus {
    outline: none;
    border-color: var(--sgff-input-focus, #111);
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}
.sgff-req {
    color: #c00;
}
.sgff-fit-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sgff-fit-option {
    display: grid;
    grid-template-columns: 20px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.sgff-fit-option:hover {
    border-color: #888;
    background: #fafafa;
}
.sgff-fit-option input {
    grid-row: 1 / 3;
    align-self: center;
}
.sgff-fit-label {
    font-weight: 600;
    font-size: 15px;
}
.sgff-fit-desc {
    font-size: 13px;
    color: var(--sgff-hint-text, #666);
}
.sgff-fit-option input:checked ~ .sgff-fit-label {
    color: #111;
}
.sgff-fit-option:has(input:checked) {
    border-color: #111;
    background: #f6f6f6;
}
.sgff-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--sgff-panel-bg, #f9f9f9);
    border: 1px solid var(--sgff-input-border, #eee);
    border-radius: var(--sgff-border-radius, 6px);
    font-size: 13px;
    line-height: 1.5;
    color: var(--sgff-color-text, #333);
}
.sgff-privacy input {
    margin-top: 2px;
    accent-color: var(--sgff-color-primary, #111);
}
.sgff-privacy-standalone {
    display: block;
    padding: 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #22c55e;
    border-radius: 6px;
    color: #166534;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 15px;
}
.sgff-wizard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0px;
    border-top: 1px solid var(--sgff-input-border, #eee);
    background: transparent;
}
.sgff-wizard-footer .button {
    min-width: 100px;
    text-align: center;
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    height: auto !important;
    border-radius: var(--sgff-border-radius, 4px) !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.sgff-wizard-result {
    text-align: center;
    padding: 24px 8px 8px;
}
.sgff-result-headline {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: var(--sgff-hint-text, #353535);
    margin: 0 0 8px;
}
.sgff-result-size {
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--sgff-result-size, #111);
}
.sgff-result-confidence {
    color: var(--sgff-result-conf, #2a8f32);
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 20px;
}
.sgff-result-error {
    color: #c00;
    padding: 20px 0;
}
.sgff-use-size {
    display: inline-block;
    margin-top: 6px;
    background-color: var(--sgff-btn-bg, #111) !important;
    color: var(--sgff-btn-text, #fff) !important;
    border: none;
    padding: 10px 18px;
    border-radius: var(--sgff-border-radius, 4px);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}
.sgff-use-size:hover {
    background-color: var(--sgff-btn-hover, #1c1c1c) !important;
}
.sgff-wizard-notice{
    background: #fdecea;
    color: #8a1f11;
    border: 1px solid #f5c2c0;
    border-left: 4px solid #d63638;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    margin: 0 0 14px;
}
.sgff-wizard-next.button-primary {
    background-color: var(--sgff-color-primary, #111111) !important;
    border: 1px solid var(--sgff-color-primary, #111111) !important;
    color: var(--sgff-btn-text, #ffffff) !important;
    padding: 10px 24px !important;
    border-radius: var(--sgff-border-radius, 4px) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    height: auto !important;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;;
}
.sgff-wizard-footer .button.sgff-wizard-next.button-primary {
    background-color: var(--sgff-color-primary, #111111) !important;
    border: 1px solid var(--sgff-color-primary, #111111) !important;
    color: var(--sgff-btn-text, #ffffff) !important;
    font-weight: 600 !important;
}
.sgff-wizard-footer .button.sgff-wizard-next.button-primary:hover {
    background-color: var(--sgff-btn-hover, #1c1c1c) !important;
    border-color: var(--sgff-btn-hover, #1c1c1c) !important;
    color: var(--sgff-btn-text, #ffffff) !important;
    font-weight: 600 !important
}
.sgff-wizard-footer .button.sgff-wizard-back {
    background-color: transparent !important;
    border: 1px solid var(--sgff-input-border, #ccc) !important;
    color: var(--sgff-color-text, #333) !important;
    font-weight: 500 !important;
}

.sgff-wizard-footer .button.sgff-wizard-back:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
    border-color: #999 !important;
}

.sgff-wizard-footer .button.sgff-wizard-back:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}
.sgff-tie-hint{
    color: var(--sgff-hint-text, #363535);
    font-size: 13px;
    text-align: center;
    margin: 0 0 18px;
    line-height: 1.5;
}
.sgff-tie-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}
.sgff-tie-option{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px;
    border: 1px solid var(--sgff-input-border, #ddd);
    border-radius: var(--sgff-border-radius, 8px);
    background-color: var(--sgff-panel-bg, #fafafa);
    transition: border-color 0.15s, background 0.15s;
}
.sgff-tie-option:hover{
    border-color: var(--sgff-color-primary, #111);
    background-color: rgba(255, 255, 255, 0.05);
}
.sgff-tie-size{
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1;
    color: var(--sgff-color-primary, #111);
}
.sgff-tie-confidence{
    font-size:13px;
    color: var(--sgff-result-conf, #2a8f32);
    font-weight: 600;
    margin: 0 0 14px;
}
.sgff-tie-option .button{
    width: 100%;
    padding: 5px;
    text-align: center;
}
.sgff-tie-fit {
    font-size: 12px;
    color: var(--sgff-hint-text, #666);
    margin: 6px 0 14px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.sgff-tie-option .button{
    width: 100%;
    padding: 5px;
    text-align: center;
}
@media(max-width: 400px){
    .sgff-tie-grid{
        grid-template-columns: 1fr;
    }
}
.sgff-result-based {
    color: var(--sgff-hint-text, #888);
    font-size: 12px;
    margin: 16px 0 0;
    text-align: center;
    text-transform: capitalize;
}
.sgff-result-actions {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 13px;
}
.sgff-result-edit-link,
.sgff-result-reset-link {
    background: none;
    border: none;
    color: var(--sgff-hint-text, #666);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 13px;
    font-family: inherit;
}

.sgff-result-edit-link:hover,
.sgff-result-reset-link:hover {
    color: var(--sgff-color-text, #111);
}
.sgff-result-sep {
    margin: 0 8px;
    color: #ccc;
}


.sgff-fit-badge{
    display: block;
    width: 70%;
    box-sizing: border-box;
    padding: 8px 14px;
    margin: 0 0 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    border-left: 4px solid;
    clear: both;
}
.sgff-badge-text{
    display: block;
    font-size: 15px;
}
.sgff-badge-count{
    display: block;
    font-size: 12px;
    font-weight: 400;
    margin-top: 2px;
    opacity: 0.75;
}
.sgff-badge-small, .sgff-badge-large{
    background-color: var(--sgff-badge-small-bg, #fff7e6);
    color: var(--sgff-badge-small-text, #8a5300);
    border-color: var(--sgff-badge-small-border, #d97706);
}
.sgff-badge-true {
     background-color: var(--sgff-badge-true-bg, #edfaef);
    color: var(--sgff-badge-true-text, #1e6b2b);
    border-color: var(--sgff-badge-true-border, #2a8f32)
}
.sgff-fit-badge .sgff-badge-moderate {
    border-left-width: 3px;
    opacity: 0.92;
}
.sgff-fit-badge.sgff-badge-moderate .sgff-badge-text {
    font-weight: 500;
}

.sgff-peer-note {
    background: transparent;
    border-radius: 6px;
    padding: 10px 14px;
    margin: 14px 0 0;
    font-size: 15px;
    color: var(--sgff-color-text, #2e2e2e);;
    text-align: center;
    line-height: 1.4;
    border-left: 3px solid var(--sgff-input-border, #ccc);
}

.sgff-peer-note strong {
    color: var(--sgff-color-text, #000000);;
    font-weight: 600;
}
.sgff-peer-note-moderate {
    background: transparent;
    border-left: 3px solid #ccc; 
}
.sgff-peer-note-moderate.sgff-badge-small, 
.sgff-peer-note-moderate.sgff-badge-large {
    background-color: var(--sgff-badge-small-bg, #fff7e6);
    color: var(--sgff-badge-small-text, #8a5300);
    border-left-color: var(--sgff-badge-small-border, #d97706);
}
.sgff-peer-note-moderate.sgff-badge-true {
    background-color: var(--sgff-badge-true-bg, #edfaef);
    color: var(--sgff-badge-true-text, #1e6b2b);
    border-left-color: var(--sgff-badge-true-border, #2a8f32);
}
.sgff-bias-note {
    margin: 8px 0 0;
    padding: 8px 12px;
    border-left: 4px solid;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
    background-color: transparent;
}
.sgff-bias-note.sgff-badge-small, 
.sgff-bias-note.sgff-badge-large {
    background-color: var(--sgff-badge-small-bg, #fff7e6);
    color: var(--sgff-badge-small-text, #8a5300);
    border-color: var(--sgff-badge-small-border, #d97706);
}
.sgff-bias-note.sgff-badge-true {
    background-color: var(--sgff-badge-true-bg, #edfaef);
    color: var(--sgff-badge-true-text, #1e6b2b);
    border-color: var(--sgff-badge-true-border, #2a8f32);
}
.sgff-profile-banner {
    position: relative;
    background: var(--sgff-panel-bg, #eeefef);
    border: 1px solid var(--sgff-input-border, #9d9d9d);
    border-left: 4px solid var(--sgff-color-primary, #000c12);
    border-radius: var(--sgff-border-radius, 6px);
    padding: 14px 40px 14px 16px;
    margin: 0 0 16px;
}
.sgff-profile-banner-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--sgff-color-text, #000000);;
    margin: 0 0 6px;
}
.sgff-profile-banner-title1 {
    font-size: 15px;
    font-weight: 600;
    color: var(--sgff-color-text, #000000);;
    margin: 0 0 6px;
}
.sgff-profile-banner-info {
    font-size: 13px;
    color: var(--sgff-color-text, #000000);;
    margin: 0 0 12px;
    line-height: 2;
}
.sgff-profile-banner-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.sgff-profile-banner-actions .button {
    font-size: 13px !important;
    padding: 6px 14px !important;
    height: auto !important;
    line-height: 1.4 !important;
    cursor: pointer;
}
.sgff-profile-dismiss {
    position: absolute !important;
    top: 8px !important;
    right: 10px !important;
    left: auto !important; 
    background: transparent !important;
    border: none !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: var(--sgff-color-text, #64748b) !important;
    cursor: pointer !important;
    padding: 0 4px !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    float: none !important;
    margin: 0 !important;
    z-index: 10 !important;
}
.sgff-profile-dismiss:hover {
    color: var(--sgff-color-text, #0f172a) !important;
    opacity: 1 !important;
}
.sgff-profile-banner-actions .sgff-delete-profile {
    font-size: 12px !important;
    padding: 5px 10px !important;
    color: var(--sgff-color-primary, #b32d2e) !important;
    border-color: var(--sgff-color-primary, #b32d2e) !important;
    background: transparent !important;
    margin-top: 10px !important;
    width: 100% !important;
    justify-content: center;
}
.sgff-profile-banner-actions .sgff-delete-profile:hover {
    background: var(--sgff-color-primary, #b32d2e) !important;
    color: #fff !important;
}
.sgff-modal {
    position: fixed;
    inset: 0;
    z-index: 10000000 !important; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.sgff-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.sgff-modal-content {
    position: relative;
    background: var(--sgff-panel-bg, #fff);
    color: var(--sgff-color-text, #111);
    padding: 24px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
}
.sgff-modal-content h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #111;
}
.sgff-modal-content p {
    font-size: 14px;
    color: #555;
    margin: 0 0 20px;
    line-height: 1.5;
}
.sgff-modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.sgff-modal-actions .button {
    padding: 8px 20px !important;
}