button[data-setting] {
    font-size: 15px!important; 
  }

.active-setting {
    outline: 2px solid #000;
    background-color: #eee;
}


#accesibilitate-button,
#accesibilitate-panel {
    display: block;
}

.font-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.font-control button {
    background: #3f51b5;
    color: #000;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

#font-value {
    font-weight: bold;
    min-width: 50px;
    text-align: center;
}

.accessibility-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #1e1e1e;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.accessibility-panel-header h2 {
    font-size: 15px;
    margin: 0;
    color: white!important;
}

.close-panel {
    background: transparent !important;
    border: none;
    color: white;
    font-size: 32px !important;
    font-weight: 300 !important;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: auto;
    height: auto;
    margin-left: 10px;
}


.hidden {
    display: none !important;
}


#accesibilitate-close {
    font-size: 32px!important;
    font-weight: 300!important;
}


/* Buton accesibilitate */
#accesibilitate-button {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    z-index: 999!important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    border: 1px solid #fff;
}

#accesibilitate-button:hover {
    background: #333;
}

#accesibilitate-button svg {
    display: block;
    margin: auto;
    width: 28px;
    height: 28px;
}

#accesibilitate-panel {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 360px!important;
    max-height: 85vh;
    background: #fff!important;
    color: #000;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999!important;
    padding: 24px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    overflow-y: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}


/* Animație ascundere */
#accesibilitate-panel.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

/* Titlu panou */
.accessibility-panel-header h2 {
    line-height: 1;
    display: flex;
    align-items: center;
    font-size: 20px;
}

/* Butoane */
#accesibilitate-panel button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin: 6px 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease, border 0.2s ease;
    font-size: 20px;
}



#accesibilitate-panel button:hover {
    background: #eee;
    border: 2px solid #212121;
}

/* Shortcut vizual */
#accesibilitate-panel .shortcut {
    font-weight: bold;
    font-family: monospace;
    background: #ddd;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    font-size: 12px;
    white-space: nowrap;
}

/* Secțiuni */
#accesibilitate-panel .section-title {
    margin-top: 20px;
    font-weight: bold;
    font-size: 13px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #333;
}

/* Suport pentru efecte vizuale */
html.contrast-high {
    filter: contrast(1.8);
}

html.grayscale {
    filter: grayscale(1);
}

html.invert-colors {
    filter: invert(1) hue-rotate(180deg);
}

/* Font resize (va fi modificat din JS) */
html.font-resize {
    font-size: var(--font-scale, 100%) !important;
}

/* Cursor */
html.cursor-large-open {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 16 16'%3E%3Cpath fill='black' transform='rotate(-60 8 8)' d='M14.082 2.182a.5.5 0 0 1 .103.557L8.528 15.467a.5.5 0 0 1-.917-.007L5.57 10.694.803 8.652a.5.5 0 0 1-.006-.916l12.728-5.657a.5.5 0 0 1 .556.103zM2.25 8.184l3.897 1.67a.5.5 0 0 1 .262.263l1.67 3.897L12.743 3.52z'/%3E%3C/svg%3E"), auto;
  }
  
  html.cursor-large-closed {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 16 16'%3E%3Cpath fill='black' transform='rotate(-60 8 8)' d='M14.082 2.182a.5.5 0 0 1 .103.557L8.528 15.467a.5.5 0 0 1-.917-.007L5.57 10.694.803 8.652a.5.5 0 0 1-.006-.916l12.728-5.657a.5.5 0 0 1 .556.103z'/%3E%3C/svg%3E"), auto;
  }
  
  






