/* Theme: Brite */
/* Basis-Styling für iframe-Kompatibilität */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background: transparent; /* Für iframe-Transparenz */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', Arial, sans-serif;
    overflow: auto;
    padding: 2px;
}
/* Glassmorphism-Container */
.container {
    background: rgba(255, 245, 230, 0.1); /* Leichtes Orange-Transparenz */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 165, 0, 0.2); /* Subtiles Orange */
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.1); /* Sanftes Orange-Schatten */
    border-radius: 12px;
    padding: 0;
    width: 100%;
    max-width: 600px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #ffffff;
}
/* Frame-Styling */
.frame {
    padding: 16px;
    background: rgba(255, 245, 230, 0.7); /* Hellerer Orange-Hintergrund */
    border: 1px solid rgba(255, 165, 0, 0.2); /* Subtiles Orange */
    border-radius: 8px;
}
.frame > div:first-child {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ff8c00; /* Standard-Brite-Orange */
}
.frame h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}
/* Grid für Formulare */
.form-grid {
    display: grid;
    grid-template-columns: 3fr 3fr 2.2fr;
    gap: 12px;
    align-items: center;
}
.form-grid label {
    flex: 1;
    text-align: left;
    color: #000;
    font-size: 14px;
}
.form-grid input {
    flex: 2;
    text-align: left;
    background: rgba(255, 223, 186, 0.8); /* Helles Orange mit Transparenz */
    border: 1px solid rgba(255, 165, 0, 0.5); /* Subtiles Orange */
    border-radius: 8px;
    padding: 8px;
    color: #333333; /* Dunklere Farbe für Lesbarkeit */
    font-size: 14px;
    width: 100%;
    outline: none;
}
.form-grid input:focus {
    border-color: #ff8c00; /* Standard-Brite-Orange */
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.5); /* Sanftes Orange */
}
.form-grid span {
    color: #333333;
}
/* Buttons */
button {
    background: #ff8c00; /* Standard-Brite-Orange */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    max-width: 200px;
    position: relative; /* Hinzugefügt für Tooltip-Positionierung */
}
button:hover {
    background: #ff751a; /* Dunkleres Orange */
}
.btn-secondary {
    flex: 1;
    text-align: center;
    background: #ffdab9; /* Helles Orange */
    padding: 8px 8px;
    color: #333333; /* Dunklere Farbe für Lesbarkeit */
}
.btn-secondary:hover {
    background: #ffaa80; /* Mittel-Orange */
    padding: 8px 8px;
}
/* Zentrierte Buttons */
.center {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}
/* Tooltip-Styling */
.tooltip {
    display: none;
    position: absolute;
    top: -30px; /* Direkt über dem Button */
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    background: #ffdab9; /* Helles Orange */
    color: #ffffff; /* Weißer Text */
    padding: 6px 12px;
    border: 1px solid #ff8c00; /* Standard-Brite-Orange */
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
}
button:hover .tooltip {
    display: block;
}
button:active .tooltip {
    display: block; /* Tooltip nur bei Klick anzeigen */
}
.btn-secondary .tooltip {
    background: #ffaa80; /* Mittel-Orange */
    color: #ffffff; /* Weißer Text für Sichtbarkeit */
    position: absolute;
    top: -30px; /* Oberhalb des Buttons */
    right: 0; /* Rechte Kante des Tooltips an der rechten Buttonkante */
    left: auto; /* Entfernt zentrierte Positionierung */
    margin: 0; /* Entfernt zentrierte Ausrichtung */
    width: fit-content;
    padding: 6px 12px;
    border: 1px solid #ff8c00; /* Standard-Brite-Orange */
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
}