/**
 * Windows 95 Enhanced CSS
 * Inspiré des meilleurs projets opensource (windows98.js, windows95-ui-kit, win95-web)
 * Version améliorée pour Gogokodo Game
 */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=MS+Sans+Serif:wght@400;700&display=swap');

@font-face {
    font-family: 'Windows 95';
    src: url('data:font/woff2;base64,') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* === CSS VARIABLES === */
:root {
    /* Windows 95 System Colors */
    --ActiveBorder: rgb(192, 192, 192);
    --ActiveTitle: rgb(0, 0, 128);
    --AppWorkspace: rgb(128, 128, 128);
    --Background: rgb(0, 128, 128);
    --ButtonAlternateFace: rgb(180, 180, 180);
    --ButtonDkShadow: rgb(0, 0, 0);
    --ButtonFace: rgb(192, 192, 192);
    --ButtonHilight: rgb(255, 255, 255);
    --ButtonLight: rgb(223, 223, 223);
    --ButtonShadow: rgb(128, 128, 128);
    --ButtonText: rgb(0, 0, 0);
    --GrayText: rgb(128, 128, 128);
    --Hilight: rgb(0, 0, 128);
    --HilightText: rgb(255, 255, 255);
    --InactiveBorder: rgb(192, 192, 192);
    --InactiveTitle: rgb(128, 128, 128);
    --InactiveTitleText: rgb(192, 192, 192);
    --InfoText: rgb(0, 0, 0);
    --InfoWindow: rgb(255, 255, 225);
    --Menu: rgb(192, 192, 192);
    --MenuText: rgb(0, 0, 0);
    --Scrollbar: rgb(192, 192, 192);
    --TitleText: rgb(255, 255, 255);
    --Window: rgb(255, 255, 255);
    --WindowFrame: rgb(0, 0, 0);
    --WindowText: rgb(0, 0, 0);
    
    /* Enhanced Border Images */
    --button-normal-border: 
        linear-gradient(135deg, var(--ButtonHilight) 0%, var(--ButtonLight) 50%, var(--ButtonFace) 100%) border-box,
        linear-gradient(135deg, var(--ButtonShadow), var(--ButtonDkShadow)) border-box;
    
    --button-pressed-border:
        linear-gradient(315deg, var(--ButtonHilight) 0%, var(--ButtonLight) 50%, var(--ButtonFace) 100%) border-box,
        linear-gradient(315deg, var(--ButtonShadow), var(--ButtonDkShadow)) border-box;
    
    /* Cursors */
    --cursor-default: url('../img/icone/souris.png'), auto;
    --cursor-pointer: url('../img/icone/souris.png'), pointer;
    --cursor-text: url('../img/icone/souris.png'), text;
    --cursor-move: url('../img/icone/souris.png'), move;
}

/* === RESET ET BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: var(--cursor-default) !important;
}

html {
    font-size: 11px;
    height: 100%;
}

body {
    font-family: 'MS Sans Serif', 'Fixedsys', monospace;
    font-size: 11px;
    line-height: 1.2;
    color: var(--WindowText);
    background: var(--Background);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 128, 128, 0.9) 40%, rgba(0, 102, 102, 0.8) 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 128, 128, 0.9) 40%, rgba(0, 68, 68, 0.8) 50%);
    height: 100vh;
    overflow: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeSpeed;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* === DESKTOP === */
.desktop {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.desktop-icons {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
}

/* === ICÔNES DESKTOP === */
.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 70px;
    cursor: var(--cursor-pointer);
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    padding: 6px;
    border: 1px solid transparent;
    border-radius: 1px;
    transition: all 0.1s ease;
    user-select: none;
}

.desktop-icon:hover {
    background: rgba(0, 0, 128, 0.3);
    border: 1px dotted white;
    border-radius: 2px;
}

.desktop-icon:active {
    background: rgba(0, 0, 128, 0.5);
}

.desktop-icon.selected {
    background: rgba(0, 0, 128, 0.4);
    border: 1px dotted white;
}

.desktop-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.5));
}

.desktop-icon span {
    font-size: 9px;
    margin-top: 4px;
    text-align: center;
    line-height: 1.1;
    max-width: 60px;
    word-wrap: break-word;
}

/* === TASKBAR === */
.taskbar {
    height: 30px;
    background: var(--ButtonFace);
    border-top: 2px solid var(--ButtonHilight);
    border-right: 1px solid var(--ButtonShadow);
    border-left: 1px solid var(--ButtonHilight);
    display: flex;
    align-items: center;
    padding: 1px;
    position: relative;
    z-index: 1000;
}

.taskbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ButtonLight);
}

/* === START BUTTON === */
.start-button {
    height: 26px;
    background: var(--ButtonFace);
    border: 2px outset var(--ButtonFace);
    display: flex;
    align-items: center;
    padding: 2px 6px;
    cursor: var(--cursor-pointer);
    font-weight: bold;
    font-size: 11px;
    color: var(--ButtonText);
    margin: 1px;
    position: relative;
    transition: all 0.1s ease;
}

.start-button:hover {
    background: var(--ButtonLight);
}

.start-button:active,
.start-button.active {
    border: 2px inset var(--ButtonFace);
    background: var(--ButtonShadow);
}

.start-button::before {
    content: "🪟";
    margin-right: 4px;
    font-size: 14px;
    line-height: 1;
}

/* === TASKBAR APPS === */
.taskbar-apps {
    flex: 1;
    display: flex;
    gap: 1px;
    margin-left: 4px;
    overflow: hidden;
}

.taskbar-app {
    height: 26px;
    background: var(--ButtonFace);
    border: 2px outset var(--ButtonFace);
    padding: 2px 8px;
    display: flex;
    align-items: center;
    cursor: var(--cursor-pointer);
    font-size: 11px;
    min-width: 120px;
    max-width: 160px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--ButtonText);
    transition: all 0.1s ease;
}

.taskbar-app:hover {
    background: var(--ButtonLight);
}

.taskbar-app.active {
    border: 2px inset var(--ButtonFace);
    background: var(--ButtonShadow);
}

.taskbar-app img {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    image-rendering: pixelated;
}

/* === TASKBAR TIME === */
.taskbar-time {
    margin-left: auto;
    padding: 4px 8px;
    border: 1px inset var(--ButtonFace);
    background: var(--ButtonFace);
    font-size: 11px;
    color: var(--ButtonText);
    min-width: 60px;
    text-align: center;
}

/* === WINDOWS === */
.window {
    position: absolute;
    background: var(--ButtonFace);
    border: 2px outset var(--ButtonFace);
    min-width: 250px;
    min-height: 150px;
    display: none;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.window.active {
    display: block;
    z-index: 1000;
}

.window.maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 30px) !important;
    border: none;
    z-index: 999;
}

/* === WINDOW HEADER === */
.window-header {
    height: 20px;
    background: linear-gradient(90deg, var(--ActiveTitle) 0%, rgb(16, 132, 208) 100%);
    color: var(--TitleText);
    display: flex;
    align-items: center;
    padding: 0 4px;
    cursor: var(--cursor-move);
    font-size: 11px;
    font-weight: bold;
    border-bottom: 1px solid var(--ButtonShadow);
    position: relative;
}

.window-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ButtonHilight);
}

.window:not(.active) .window-header {
    background: linear-gradient(90deg, var(--InactiveTitle) 0%, rgb(181, 181, 181) 100%);
    color: var(--InactiveTitleText);
}

.window-title {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

/* === WINDOW CONTROLS === */
.window-controls {
    display: flex;
    gap: 1px;
}

.window-control {
    width: 16px;
    height: 14px;
    background: var(--ButtonFace);
    border: 1px outset var(--ButtonFace);
    cursor: var(--cursor-pointer);
    font-size: 9px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ButtonText);
    transition: all 0.1s ease;
}

.window-control:hover {
    background: var(--ButtonLight);
}

.window-control:active {
    border: 1px inset var(--ButtonFace);
    background: var(--ButtonShadow);
}

.window-control:last-child {
    background: linear-gradient(135deg, #ff6b6b 0%, #d63031 100%);
    color: white;
}

.window-control:last-child:hover {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
}

/* === WINDOW CONTENT === */
.window-content {
    height: calc(100% - 20px);
    overflow: auto;
    background: var(--Window);
    color: var(--WindowText);
}

/* === BUTTONS === */
button {
    background: var(--ButtonFace);
    border: 2px outset var(--ButtonFace);
    color: var(--ButtonText);
    padding: 4px 12px;
    font-family: inherit;
    font-size: 11px;
    cursor: var(--cursor-pointer);
    transition: all 0.1s ease;
}

button:hover {
    background: var(--ButtonLight);
}

button:active,
button.pressed {
    border: 2px inset var(--ButtonFace);
    background: var(--ButtonShadow);
}

button:disabled {
    color: var(--GrayText);
    cursor: default;
}

button.default {
    border: 3px solid var(--ButtonDkShadow);
    font-weight: bold;
}

/* === INPUT FIELDS === */
input[type="text"],
input[type="password"],
textarea,
select {
    border: 2px inset var(--ButtonFace);
    background: var(--Window);
    color: var(--WindowText);
    padding: 2px 4px;
    font-family: inherit;
    font-size: 11px;
    cursor: var(--cursor-text);
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: 1px dotted var(--Hilight);
    outline-offset: -2px;
}

/* === SCROLLBARS === */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background: var(--Scrollbar);
    border: 1px inset var(--ButtonFace);
}

::-webkit-scrollbar-thumb {
    background: var(--ButtonFace);
    border: 2px outset var(--ButtonFace);
    min-height: 16px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ButtonLight);
}

::-webkit-scrollbar-thumb:active {
    border: 2px inset var(--ButtonFace);
    background: var(--ButtonShadow);
}

::-webkit-scrollbar-button {
    background: var(--ButtonFace);
    border: 2px outset var(--ButtonFace);
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-button:hover {
    background: var(--ButtonLight);
}

::-webkit-scrollbar-button:active {
    border: 2px inset var(--ButtonFace);
    background: var(--ButtonShadow);
}

/* === START MENU === */
.start-menu {
    position: absolute;
    left: 2px;
    bottom: 32px;
    width: 200px;
    max-height: 350px;
    background: var(--Menu);
    border: 2px outset var(--ButtonFace);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 2000;
}

.start-menu.active {
    display: block;
}

.start-menu-header {
    background: linear-gradient(90deg, var(--ActiveTitle) 0%, rgb(16, 132, 208) 100%);
    color: var(--TitleText);
    padding: 8px;
    font-weight: bold;
    border-bottom: 1px solid var(--ButtonShadow);
}

.start-menu-content {
    padding: 4px;
}

.start-menu-item {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    cursor: var(--cursor-pointer);
    color: var(--MenuText);
    transition: all 0.1s ease;
    border-radius: 0;
}

.start-menu-item:hover {
    background: var(--Hilight);
    color: var(--HilightText);
}

.start-menu-item img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    image-rendering: pixelated;
}

.start-menu-separator {
    height: 1px;
    background: var(--ButtonShadow);
    margin: 4px 8px;
    border-top: 1px solid var(--ButtonHilight);
}

/* === MSN SPECIFIC === */
.msn-window {
    width: 250px;
    height: 400px;
}

.msn-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--Window);
}

.msn-header {
    background: var(--ButtonFace);
    padding: 8px;
    border-bottom: 1px solid var(--ButtonShadow);
    font-weight: bold;
    color: var(--ButtonText);
}

.msn-contacts {
    flex: 1;
    padding: 4px;
    overflow-y: auto;
}

.msn-contact {
    display: flex;
    align-items: center;
    padding: 3px 6px;
    cursor: var(--cursor-pointer);
    color: var(--WindowText);
    transition: all 0.1s ease;
}

.msn-contact:hover {
    background: var(--Hilight);
    color: var(--HilightText);
}

.contact-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    border: 1px solid var(--ButtonShadow);
}

.status-online { background: #00ff00; }
.status-away { background: #ffff00; }
.status-busy { background: #ff0000; }
.status-offline { background: var(--GrayText); }

/* === TERMINAL === */
.terminal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #00ff00;
    font-family: 'Courier New', 'Fixedsys', monospace;
    font-size: 14px;
    padding: 20px;
    display: none;
    z-index: 10000;
    overflow-y: auto;
}

.terminal.active {
    display: block;
}

.terminal-line {
    margin-bottom: 5px;
    line-height: 1.2;
}

.terminal-prompt {
    color: #00ff00;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    width: 300px;
    cursor: var(--cursor-text);
}

/* === INTERNET EXPLORER === */
.ie-window {
    width: 800px;
    height: 600px;
}

.ie-toolbar {
    background: var(--ButtonFace);
    padding: 4px;
    border-bottom: 1px solid var(--ButtonShadow);
    display: flex;
    gap: 4px;
    align-items: center;
}

.ie-button {
    padding: 2px 8px;
    border: 2px outset var(--ButtonFace);
    background: var(--ButtonFace);
    cursor: var(--cursor-pointer);
    font-size: 11px;
    color: var(--ButtonText);
}

.ie-button:hover {
    background: var(--ButtonLight);
}

.ie-button:active {
    border: 2px inset var(--ButtonFace);
    background: var(--ButtonShadow);
}

.ie-address {
    flex: 1;
    padding: 2px 4px;
    border: 2px inset var(--ButtonFace);
    background: var(--Window);
    color: var(--WindowText);
    margin-left: 8px;
    font-size: 11px;
}

.ie-content {
    background: var(--Window);
    height: calc(100% - 35px);
    padding: 10px;
    text-align: center;
    font-size: 12px;
    overflow: auto;
    color: var(--WindowText);
}

/* === CHAT WINDOWS === */
.chat-window {
    width: 400px;
    height: 300px;
}

.chat-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-messages {
    flex: 1;
    padding: 8px;
    background: var(--Window);
    border: 2px inset var(--ButtonFace);
    overflow-y: auto;
    margin: 4px;
    font-size: 11px;
    color: var(--WindowText);
}

.chat-input-area {
    padding: 4px;
    border-top: 1px solid var(--ButtonShadow);
    background: var(--ButtonFace);
}

.chat-input {
    width: 100%;
    padding: 2px;
    border: 2px inset var(--ButtonFace);
    font-size: 11px;
    background: var(--Window);
    color: var(--WindowText);
}

.message {
    margin-bottom: 4px;
    line-height: 1.3;
}

.message-time {
    color: var(--GrayText);
    font-size: 9px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .desktop-icons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .taskbar-app {
        min-width: 80px;
        max-width: 100px;
    }
    
    .window {
        min-width: 200px;
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .start-menu {
        width: 180px;
    }
}

/* === ANIMATIONS AMÉLIORÉES === */
.window {
    animation: windowOpen 0.2s ease-out;
}

@keyframes windowOpen {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.desktop-icon:active {
    animation: iconPress 0.1s ease;
    transform: translate(1px, 1px);
}

@keyframes iconPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Animations boutons plus réalistes */
.window-control:active,
button:active,
.start-button:active {
    transform: translate(1px, 1px);
    transition: transform 0.05s ease;
}

/* Animation focus pour l'accessibilité */
@keyframes focusPulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

button:focus::before,
.window-control:focus::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px dotted var(--ButtonDkShadow);
    animation: focusPulse 0.8s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Animation de sélection des icônes */
.desktop-icon.selected {
    animation: iconSelected 0.3s ease-out;
}

@keyframes iconSelected {
    0% { background: transparent; }
    100% { background: rgba(0, 0, 128, 0.4); }
}

/* === MENU CONTEXTUEL AMÉLIORÉ === */
.context-menu {
    position: absolute;
    background: var(--Menu);
    border: 2px outset var(--ButtonFace);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    min-width: 120px;
    z-index: 2000;
    display: none;
    font-size: 11px;
}

.context-menu.active {
    display: block;
    animation: menuAppear 0.1s ease-out;
}

@keyframes menuAppear {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.context-menu-item {
    padding: 4px 20px 4px 24px;
    position: relative;
    cursor: var(--cursor-pointer);
    color: var(--MenuText);
    display: flex;
    align-items: center;
}

.context-menu-item:hover {
    background: var(--Hilight);
    color: var(--HilightText);
}

.context-menu-item.disabled {
    color: var(--GrayText);
    cursor: default;
    text-shadow: 1px 1px 0 var(--ButtonHilight);
}

.context-menu-item.disabled:hover {
    background: transparent;
    color: var(--GrayText);
}

.context-menu-separator {
    height: 1px;
    background: var(--ButtonShadow);
    margin: 4px 8px;
    border-top: 1px solid var(--ButtonHilight);
}

.context-menu-icon {
    position: absolute;
    left: 4px;
    width: 16px;
    height: 16px;
    image-rendering: pixelated;
}

/* === TOOLBAR STYLE WINDOWS 95 === */
.toolbar {
    background: var(--ButtonFace);
    border: 1px solid var(--ButtonFace);
    border-top-color: var(--ButtonHilight);
    border-left-color: var(--ButtonHilight);
    border-right-color: var(--ButtonShadow);
    border-bottom-color: var(--ButtonShadow);
    padding: 2px;
    display: flex;
    gap: 1px;
}

.toolbar-group {
    display: inline-flex;
    margin-right: 4px;
    border-right: 1px solid var(--ButtonShadow);
    padding-right: 4px;
}

.toolbar-group:last-child {
    border-right: none;
    margin-right: 0;
}

.toolbar-button {
    padding: 2px 4px;
    border: 1px solid transparent;
    background: transparent;
    cursor: var(--cursor-pointer);
    font-size: 11px;
    min-width: 20px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolbar-button:hover {
    border: 1px outset var(--ButtonFace);
    background: var(--ButtonFace);
}

.toolbar-button:active,
.toolbar-button.pressed {
    border: 1px inset var(--ButtonFace);
    background: var(--ButtonShadow);
}

/* === PROGRESSBAR === */
.progressbar {
    height: 20px;
    border: 2px inset var(--ButtonFace);
    background: var(--Window);
    position: relative;
    overflow: hidden;
}

.progressbar-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgb(0, 0, 128) 0%, 
        rgb(16, 132, 208) 50%, 
        rgb(0, 0, 128) 100%);
    transition: width 0.3s ease;
    position: relative;
}

.progressbar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.2) 2px,
        rgba(255,255,255,0.2) 4px
    );
    animation: progressStripes 1s linear infinite;
}

@keyframes progressStripes {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

/* === UTILITIES === */
.noselect {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hidden {
    display: none !important;
}

.disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* === CURSORS SPÉCIALISÉS === */
.desktop-icon,
.taskbar-app,
.start-button,
.start-menu-item,
.msn-contact,
.window-control,
.ie-button,
button {
    cursor: var(--cursor-pointer) !important;
}

input[type="text"],
input[type="password"],
textarea,
.terminal-input,
.chat-input {
    cursor: var(--cursor-text) !important;
}

.window-header {
    cursor: var(--cursor-move) !important;
}


.setup-icon {
    display: flex;
}

/* === SONDAGE APP STYLES === */
.sondage-window .window-content {
    padding: 15px;
    background: var(--ButtonFace);
}

.sondage-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.sondage-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: var(--Window);
    border: 2px inset var(--ButtonFace);
}

.sondage-icon img {
    width: 48px;
    height: 48px;
}

.sondage-title h2 {
    font-size: 16px;
    color: var(--WindowText);
    margin: 0 0 5px 0;
}

.sondage-title p {
    font-size: 11px;
    color: var(--GrayText);
    margin: 0;
}

.sondage-description {
    flex: 1;
    display: flex;
    gap: 15px;
}

.info-section,
.tech-section {
    flex: 1;
    padding: 10px;
    background: var(--Window);
    border: 2px inset var(--ButtonFace);
}

.info-section h3,
.tech-section h3 {
    font-size: 12px;
    color: var(--ActiveTitle);
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--ButtonShadow);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 11px;
    margin: 5px 0;
    color: var(--WindowText);
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tech-badge {
    background: var(--Hilight);
    color: var(--HilightText);
    padding: 3px 8px;
    font-size: 10px;
    border: 1px outset var(--ButtonFace);
    border-radius: 0;
}

.sondage-actions {
    background: var(--Window);
    border: 2px inset var(--ButtonFace);
    padding: 15px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.sondage-btn {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 2px outset var(--ButtonFace);
    background: var(--ButtonFace);
    color: var(--ButtonText);
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
    cursor: var(--cursor-pointer);
    transition: none;
}

.sondage-btn:hover {
    background: var(--ButtonLight);
}

.sondage-btn:active {
    border: 2px inset var(--ButtonFace);
    background: var(--ButtonShadow);
}

.sondage-btn.primary {
    background: var(--Hilight);
    color: var(--HilightText);
    font-weight: bold;
}

.sondage-btn.secondary {
    background: var(--ButtonFace);
    color: var(--ButtonText);
}

.info-box {
    background: var(--InfoWindow);
    border: 1px solid var(--WindowFrame);
    padding: 10px;
    font-size: 11px;
    color: var(--InfoText);
    margin-top: 10px;
}

.sondage-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: var(--ButtonFace);
    border: 1px inset var(--ButtonFace);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

.status-light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--ButtonDkShadow);
}

.status-light.status-active {
    background: #00ff00;
    box-shadow: 0 0 4px #00ff00;
}

.last-update {
    font-size: 10px;
    color: var(--GrayText);
}

/* === SONDAGE IFRAME STYLES === */
.sondage-iframe-content {
    padding: 0 !important;
    height: calc(100% - 25px);
    overflow: hidden;
}

.sondage-window .window-content {
    padding: 0;
    height: calc(100% - 25px);
}
    
}