/* ==========================================================================
   Navigation Menu Button Styles
   ========================================================================== */

/* Basis-Styles für alle Varianten */
.wcag-contrast-button {
    margin-left: 1em;
}

.wcag-contrast-button a {
    padding: 0.5em;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcag-contrast-button a:hover {
    color: #eee;
}

/* Styles für den aktiven Zustand */
.wcag-contrast-button a.active {
    background-color: transparent;
}

.wcag-contrast-button a.active i {
    background-color: #333;
    border-radius: 50%;
    width: 22px!important;
    height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.menu-icons .wcag-contrast-toggle {
    font-size: 1.2em!important;
    width: 1.2em;
}

/* ==========================================================================
   Variante 1: Navigation Menu (Standard)
   ========================================================================== */
.wcag-contrast-button.menu-position {
    margin-left: 1em;
}

/* ==========================================================================
   Variante 2: Absolute Position Links
   ========================================================================== */
.wcag-contrast-button.left-position {
    position: fixed;
    left: 20px;
    top: 40%;
    z-index: 999;
    margin: 0;
}

.wcag-contrast-button.left-position a {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.3);
}

.wcag-contrast-button.left-position a:hover {
    background-color: #fff;
    color: #000;
}

.wcag-contrast-button.left-position a.active {
    background-color: #fff;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3);
}

.wcag-contrast-button.left-position a.active i {
    color: #000;
}

/* ==========================================================================
   Variante 3: Absolute Position Rechts
   ========================================================================== */
.wcag-contrast-button.right-position {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.wcag-contrast-button.right-position a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 40px;
    height: 40px;
    background-color: #000;
    color: #fff;
    border-radius: 4px 0 0 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding-left: 10px;
}

.wcag-contrast-button.right-position a:hover {
    width: 180px;
    background-color: #333;
}

.wcag-contrast-button.right-position a i {
    margin-right: 10px;
    transition: margin-right 0.3s ease;
}

.wcag-contrast-button.right-position a:hover i {
    margin-right: 10px;
}

.wcag-contrast-button.right-position a::after {
    content: "Kontrastmodus AUS";
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, left 0.3s ease;
}

.wcag-contrast-button.right-position a:hover::after {
    opacity: 1;
    left: 50px;
}

.wcag-contrast-button.right-position[data-state="active"] a::after {
    content: "Kontrastmodus EIN";
}

.wcag-contrast-button.right-position a.active {
    background-color: #000;
}

.wcag-contrast-button.right-position a.active i {
    color: #fff;
}

/* ==========================================================================
   Debug Panel Styles
   ========================================================================== */
#wcag-debug-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 999999;
    width: 300px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.wcag-debug-header {
    background: #f5f5f5;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wcag-debug-header h3 {
    margin: 0;
    font-size: 14px;
}

.wcag-debug-toggle {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.wcag-debug-content {
    padding: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.wcag-debug-section {
    margin-bottom: 15px;
}

.wcag-debug-section h4 {
    margin: 0 0 10px 0;
    font-size: 13px;
}

.wcag-debug-section pre {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 3px;
    font-size: 12px;
    margin: 0;
    white-space: pre-wrap;
}

.wcag-debug-reset {
    background: #dc3232;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.wcag-debug-reset:hover {
    background: #c92626;
}

/* Dynamische Styles werden hier eingefügt */
.wcag-contrast-active {
    /* Diese Klasse wird dynamisch hinzugefügt, wenn der Kontrast-Modus aktiv ist */
} 