/* Geschenkly Konto-Baustein – Login-Dialog (window.gkoAccount) */

.gkoa-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(36, 28, 15, 0.55);
}

.gkoa-dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 28px 24px 22px;
    border-radius: 16px;
    background: #fff;
    color: #4a4338;
    font-size: 16px;
    line-height: 1.55;
    box-shadow: 0 8px 30px rgba(36, 28, 15, 0.2);
}

/* Das Theme stylt <button>, <label> und Felder global (Float, Versalien,
   fette Labels, eckige Felder) – im Dialog gezielt zurücksetzen. */
.gkoa-dialog *,
.gkoa-dialog *::before,
.gkoa-dialog *::after {
    box-sizing: border-box;
}

.gkoa-dialog button {
    float: none;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    letter-spacing: normal;
    text-transform: none;
    box-shadow: none;
}

.gkoa-dialog h3 {
    padding-right: 28px; /* Platz für das Schließen-Kreuz */
    font-family: inherit;
    letter-spacing: normal;
    text-transform: none;
}

.gkoa-dialog h3 {
    margin: 0 0 6px;
    color: #241c0f;
    font-size: 21px;
    font-weight: 800;
}

.gkoa-muted {
    margin: 0 0 14px;
    color: #8c857a;
}

.gkoa-small {
    margin: 12px 0 0;
    font-size: 13px;
}

.gkoa-dialog input.gkoa-input {
    width: 100%;
    height: auto;
    min-height: 48px;
    margin: 0 0 12px;
    box-shadow: none;
    padding: 12px 14px;
    border: 1px solid #ece6da;
    border-radius: 12px;
    background: #fff;
    color: #241c0f;
    font-size: 16px;
}

.gkoa-dialog input.gkoa-input:focus {
    border-color: #e9a400;
    outline: 2px solid #f0d8a6;
    outline-offset: 0;
}

.gkoa-dialog input.gkoa-input--code {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 8px;
}

.gkoa-dialog .gkoa-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0 0 14px;
    color: #4a4338;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    cursor: pointer;
}

.gkoa-consent input {
    flex: none;
    margin-top: 3px;
}

.gkoa-consent a {
    color: #c2820a;
}

.gkoa-dialog .gkoa-btn {
    display: block;
    width: 100%;
    padding: 13px 20px;
    border: 0;
    border-radius: 999px;
    background: #e9a400;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.gkoa-btn:hover {
    background: #c2820a;
}

.gkoa-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.gkoa-dialog .gkoa-linklike {
    display: block;
    margin: 12px auto 0;
    padding: 0;
    border: 0;
    background: none;
    color: #8c857a;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

.gkoa-dialog .gkoa-close {
    position: absolute;
    top: 8px;
    right: 12px;
    padding: 4px 8px;
    border: 0;
    background: none;
    color: #8c857a;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.gkoa-error {
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fdecea;
    color: #a3281c;
    font-size: 14px;
}
