/* Unified account area – Tennisclub Schlanders, 3.5.50. Strictly scoped. */
.atc-approved-design .atc-portal-shell .atc-account-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 22px}
.atc-approved-design .atc-portal-shell .atc-account-tiles>a{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;padding:22px 19px;background:#f3f9fc;border:1px solid #dbe8f1;border-radius:14px;color:#173b59;text-decoration:none;transition:transform .15s,border-color .15s,box-shadow .15s}
.atc-approved-design .atc-portal-shell .atc-account-tiles>a:hover,.atc-approved-design .atc-portal-shell .atc-account-tiles>a:focus-visible{border-color:#65a5d0;transform:translateY(-2px);box-shadow:0 7px 18px #163b5812}
.atc-approved-design .atc-portal-shell .atc-account-tiles>a>.dashicons{display:grid;place-items:center;width:39px;height:39px;font-size:21px;line-height:1;background:#e1f0fa;color:#1266a2;border-radius:10px}
.atc-approved-design .atc-portal-shell .atc-account-tiles>a strong{font-size:17px;color:#173b59;line-height:1.25}
.atc-approved-design .atc-portal-shell .atc-account-tiles>a small{font-size:12px;line-height:1.45;color:#597a92}
.atc-approved-design .atc-portal-shell .atc-account-tiles>a .atc-account-link-label{font-weight:800;color:#136eb3;font-size:13px;margin-top:auto}
.atc-approved-design .atc-portal-shell .atc-account-panel{padding:25px;background:#fff;border:1px solid #dce8f0;border-radius:14px;box-shadow:0 4px 16px #163b580b;color:#173b59}
.atc-approved-design .atc-portal-shell .atc-account-panel>h2{font-size:22px;margin:0 0 18px;color:#173b59}
.atc-approved-design .atc-portal-shell .atc-account-panel>p{margin:18px 0 0;color:#597b95;font-size:13px}
.atc-approved-design .atc-portal-shell .atc-account-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.atc-approved-design .atc-portal-shell .atc-account-info-grid>div{background:#f5f9fc;border:1px solid #e3edf4;border-radius:10px;padding:14px;min-width:0}
.atc-approved-design .atc-portal-shell .atc-account-info-grid span{display:block;color:#678299;font-size:11px;margin-bottom:6px}
.atc-approved-design .atc-portal-shell .atc-account-info-grid strong{display:block;color:#173b59;overflow-wrap:anywhere;font-size:13px}
.atc-approved-design .atc-portal-shell .atc-account-password-form{display:grid;gap:10px;max-width:560px}
.atc-approved-design .atc-portal-shell .atc-account-password-form label{font-size:13px;font-weight:800;color:#244c66;margin:6px 0 0}
.atc-approved-design .atc-portal-shell .atc-account-password-form input{display:block;width:100%;min-width:0;padding:13px;border:2px solid #cbdde9;border-radius:9px;color:#173b59;background:#fff;box-sizing:border-box;font-size:15px;outline-offset:2px}
.atc-approved-design .atc-portal-shell .atc-account-password-form input:focus{outline:3px solid #c9e6f8;border-color:#1769b3}
.atc-approved-design .atc-portal-shell .atc-account-password-form input.is-valid{border-color:#2e995d;background:#f0fff6}
.atc-approved-design .atc-portal-shell .atc-account-password-form input.is-invalid{border-color:#cb4848;background:#fff3f3}
.atc-approved-design .atc-portal-shell .atc-account-password-form small{font-size:12px;color:#6b8292;line-height:1.4}
.atc-approved-design .atc-portal-shell .atc-account-password-form .atc-password-match{min-height:18px;margin:0;font-size:12px;color:#2a8555}
.atc-approved-design .atc-portal-shell .atc-account-password-form button{justify-self:start;background:#1769b3;color:#fff;padding:13px 21px;font-size:14px;border:0;border-radius:9px;cursor:pointer;font-weight:800}
.atc-approved-design .atc-portal-shell .atc-account-password-form button:disabled{opacity:.45;cursor:not-allowed}
.atc-approved-design .atc-portal-shell .atc-account-feedback{margin:0 0 20px;padding:12px 16px;border-radius:9px;font-weight:750;font-size:13px}
.atc-approved-design .atc-portal-shell .atc-account-feedback.success{background:#edf9f1;color:#237a4d;border:1px solid #a5d5b7}
.atc-approved-design .atc-portal-shell .atc-account-feedback.error{background:#fff3f3;color:#a92b2b;border:1px solid #edb6b6}
.atc-approved-design .atc-portal-shell .atc-account-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.atc-approved-design .atc-portal-shell .atc-account-actions a{display:inline-flex;background:#e9f3fa;color:#12659f;border:1px solid #d2e4f1;border-radius:9px;text-decoration:none;font-size:13px;font-weight:750;padding:12px 15px}
@media(max-width:880px){.atc-approved-design .atc-portal-shell .atc-account-tiles{grid-template-columns:1fr 1fr}.atc-approved-design .atc-portal-shell .atc-account-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.atc-approved-design .atc-portal-shell .atc-account-tiles,.atc-approved-design .atc-portal-shell .atc-account-info-grid{grid-template-columns:1fr}.atc-approved-design .atc-portal-shell .atc-account-panel{padding:18px}.atc-approved-design .atc-portal-shell .atc-account-tiles>a{padding:17px}}

/* Version 3.5.61: Account deletion is a deliberate separate operation. */
.atc-account-danger-zone{border-color:#edc8c8!important;background:#fffdfd!important;max-width:900px}
.atc-account-danger-zone .atc-delete-account-form{max-width:570px;margin:20px 0 0}
.atc-account-danger-zone .atc-delete-ack{display:flex;align-items:flex-start;gap:9px;margin:15px 0;font-weight:500}
.atc-account-danger-zone .atc-delete-ack input{width:18px;height:18px;min-width:18px;margin:2px 0}
.atc-account-danger-zone .atc-delete-account-submit{background:#9e3138!important;color:white!important;border:0!important;border-radius:9px!important;padding:12px 17px!important}
.atc-account-tiles .atc-account-delete-link{border-color:#ecd4d4!important;background:#fffafa!important}
.atc-account-tiles .atc-account-delete-link strong{color:#8a3037!important}

.atc-approved-design .atc-portal-shell .atc-account-panel > .atc-account-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    min-height: 44px;
    margin-top: 18px;
    padding: 8px 16px;
    border: 1px solid #c5dcea;
    border-radius: 9px;
    background: #f4f9fc;
    color: #173b59;
    font-weight: 700;
    text-decoration: none;
}
.atc-approved-design .atc-portal-shell .atc-account-panel > .atc-account-logout:hover,
.atc-approved-design .atc-portal-shell .atc-account-panel > .atc-account-logout:focus-visible {
    background: #e5f2f9;
}
.atc-account-logout svg { width: 18px; height: 18px; }
