/* Grundlegende Einstellungen */
body {
    background-color: #008080; /* Das klassische Windows-Teal (Blaugrün) */
    font-family: "Courier New", Courier, monospace; /* Schreibmaschinen-Schrift für Retro-Feeling */
    display: flex;
    justify-content: center; /* Zentriert das Fenster horizontal */
    align-items: center;     /* Zentriert das Fenster vertikal */
    min-height: 100vh;       /* Nutzt die volle Höhe des Handy-Bildschirms */
    margin: 0;
    padding: 10px;           /* Kleiner Abstand zum Rand auf dem Handy */
    box-sizing: border-box;
}

/* Das Fenster-Gehäuse */
.window {
    background-color: #c0c0c0; /* Typisches hellgrau */
    width: 100%;
    max-width: 450px; /* Begrenzt die Breite auf großen Bildschirmen */
    border-top: 2px solid #ffffff;    /* Weiß oben für Lichtkante */
    border-left: 2px solid #ffffff;  /* Weiß links für Lichtkante */
    border-right: 2px solid #808080; /* Dunkelgrau rechts für Schatten */
    border-bottom: 2px solid #808080;/* Dunkelgrau unten für Schatten */
    padding: 2px; /* Kleiner Rand um die Titelleiste */
}

/* Die blaue Titelleiste */
.title-bar {
    background: linear-gradient(90deg, #000080, #1084d0); /* Verlauf von Dunkel- zu Hellblau */
    color: white;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

/* Die kleinen Buttons in der Titelleiste (_ und X) */
.mini-btn {
    font-size: 10px;
    font-weight: bold;
    background-color: #c0c0c0;
    border: 1px solid;
    border-color: #fff #555 #555 #fff; /* Kurze Schreibweise für 3D-Effekt */
    width: 18px;
    height: 16px;
    cursor: pointer;
}

/* Inhaltsbereich */
.content {
    padding: 25px 15px;
    text-align: center;
}

/* Die Info-Box (eingesenktes Design) */
.info-box {
    margin: 20px 0;
    padding: 10px;
    border: 2px solid;
    /* Umgekehrtes Design zum Fenster: Schatten oben/links, Licht unten/rechts */
    border-color: #808080 #ffffff #ffffff #808080; 
    background-color: #dfdfdf;
}

/* Der große Retro-Button */
.retro-button {
    display: inline-block;
    margin: 10px auto;
    padding: 12px;
    background-color: #c0c0c0;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    width: 80% !important; /* Breiter Button, aber mit max-width im Fenster begrenzt */
    box-sizing: border-box;
    -webkit-appearance: none;  /* Entfernt Apple-Standard-Styling */
    border-radius: 0;           /* Verhindert abgerundete Ecken auf iOS */
    text-align: center;
}

/* Grüner Button (OK) */
.btn-ok {
    background-color: #00a000;
    color: white;

    border-color: #80ff80 #004000 #004000 #80ff80;
}

/* Roter Button (Cancel) */
.btn-cancel {
    background-color: #a00000;
    color: white;
    width: 65% !important; /* Etwas schmaler als OK-Button */
    padding: 12px 20px;
    font-size: 12px;
    margin-top: 5px;
    border-color: #ff8080 #400000 #400000 #ff8080;
}

/* Effekt beim Draufklicken (Button senkt sich ab) */
.retro-button:active {
    border-color: #808080 #ffffff #ffffff #808080;
    padding: 13px 11px 11px 13px; /* Verschiebt den Text leicht nach unten/rechts */
}

.footer-text {
    font-size: 10px;
    margin-top: 20px;
    color: #444;
}