/* AuthNext v1.3.0 — Bronze Shell Login/Register UI
   Reines UI-Update für Login, Registrierung und Passwortänderung.
   Keine Auth-, Session-, UserCore-, RewardNext- oder DB-Logik. */

.authnext-page-shell{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:0;
    padding:22px;
    margin:0 auto;
    border:1px solid rgba(214,152,69,.28);
    border-radius:24px;
    background:
        radial-gradient(ellipse at 16% 18%, rgba(255,153,0,.065), transparent 58%),
        radial-gradient(ellipse at 86% 72%, rgba(185,94,28,.045), transparent 65%),
        linear-gradient(135deg, rgba(35,22,12,.24), rgba(9,8,6,.97) 52%, rgba(32,19,9,.16)),
        linear-gradient(180deg, rgba(10,8,6,.98), rgba(5,5,4,.995));
    box-shadow:0 22px 55px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,231,184,.045);
    overflow:hidden;
}

.authnext-page-shell::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius:inherit;
    background:
        linear-gradient(135deg, rgba(255,190,89,.030), transparent 38%, rgba(255,153,0,.018) 72%, transparent),
        linear-gradient(180deg, rgba(255,190,89,.020), transparent 55%);
    opacity:.9;
}

.authnext-page-shell > *{
    position:relative;
    z-index:1;
}

.authnext-hero-tabs{
    display:flex;
    align-items:flex-end;
    gap:8px;
    padding:0 14px;
    margin:0 0 -1px 0;
    flex-wrap:wrap;
}

.authnext-hero-tab{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:44px;
    padding:11px 18px 12px;
    border:1px solid rgba(214,152,69,.30);
    border-bottom-color:rgba(214,152,69,.22);
    border-radius:15px 15px 0 0;
    background:linear-gradient(180deg, rgba(31,21,13,.88), rgba(12,10,8,.94));
    color:#d5bd9e;
    text-decoration:none;
    font-weight:900;
    letter-spacing:.01em;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
    transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.authnext-hero-tab:hover{
    color:#ffe0b0;
    border-color:rgba(230,164,82,.48);
    background:linear-gradient(180deg, rgba(50,31,15,.95), rgba(16,12,9,.98));
}

.authnext-hero-tab.is-active{
    color:#ffcc86;
    border-color:rgba(230,164,82,.56);
    border-bottom-color:transparent;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255,153,0,.16), transparent 62%),
        linear-gradient(180deg, rgba(64,38,16,.96), rgba(21,13,8,.99));
    transform:translateY(1px);
}

.authnext-hero-card{
    margin:0 0 18px 0;
    padding:26px 28px;
    border:1px solid rgba(214,152,69,.42) !important;
    border-radius:22px !important;
    background:
        radial-gradient(ellipse at 14% 10%, rgba(255,153,0,.115), transparent 42%),
        linear-gradient(135deg, rgba(78,44,16,.92) 0%, rgba(20,13,8,.985) 70%, rgba(8,7,5,.995) 100%) !important;
    box-shadow:0 16px 36px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,231,184,.065) !important;
}

.authnext-hero-content{
    max-width:820px;
}

.authnext-kicker,
.authnext-section-kicker{
    display:inline-flex;
    color:#c9975b;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:8px;
}

.authnext-hero-card h2{
    margin:0;
    color:#ffbe73;
    font-size:clamp(28px, 4vw, 42px);
    line-height:1.08;
    font-weight:900;
    letter-spacing:.025em;
    text-shadow:0 0 18px rgba(255,153,48,.16);
}

.authnext-hero-card p,
.authnext-section-head p,
.authnext-info-card p{
    color:#c8b39b;
    line-height:1.6;
}

.authnext-hero-card p{
    max-width:760px;
    margin:10px 0 0;
}

.authnext-content-grid{
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(240px, 340px);
    gap:16px;
    align-items:start;
}

.authnext-form-card,
.authnext-info-card{
    border:1px solid rgba(214,152,69,.22) !important;
    border-radius:18px !important;
    background:linear-gradient(180deg, rgba(18,13,9,.72), rgba(9,8,6,.90)) !important;
    box-shadow:0 14px 32px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035) !important;
}

.authnext-form-card{
    padding:22px !important;
}

.authnext-info-card{
    padding:20px !important;
}

.authnext-section-head h3,
.authnext-info-card h3{
    margin:0;
    color:#ffd49a;
    font-size:22px;
    font-weight:900;
}

.authnext-section-head p,
.authnext-info-card p{
    margin:8px 0 0;
}

.authnext-form{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:18px;
}

.authnext-field{
    display:flex;
    flex-direction:column;
    gap:7px;
    color:#d8c3a8;
    font-weight:800;
}

.authnext-field input{
    width:100%;
    min-height:44px;
    box-sizing:border-box;
    border:1px solid rgba(214,152,69,.30);
    border-radius:12px;
    padding:11px 13px;
    background:rgba(7,6,5,.78);
    color:#f4dfc0;
    outline:none;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}

.authnext-field input:focus{
    border-color:rgba(255,190,112,.58);
    box-shadow:0 0 0 3px rgba(255,153,0,.10), inset 0 1px 0 rgba(255,255,255,.045);
}

.authnext-primary-button,
.authnext-secondary-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:44px;
    border-radius:12px;
    padding:11px 18px;
    font-weight:900;
    text-decoration:none;
    cursor:pointer;
    font-family:inherit;
}

.authnext-primary-button{
    border:1px solid #f2b066;
    color:#fff;
    background:linear-gradient(180deg,#d2842d 0%,#9b5714 100%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 12px rgba(210,132,45,.22);
}

.authnext-secondary-button{
    margin-top:14px;
    border:1px solid rgba(214,152,69,.34);
    color:#ffd49a;
    background:rgba(217,154,67,.09);
}

.authnext-primary-button:hover,
.authnext-secondary-button:hover{
    transform:translateY(-1px);
}

.authnext-message{
    margin:14px 0 0;
    padding:12px 14px;
    border-radius:12px;
    font-weight:800;
}

.authnext-error{
    border:1px solid rgba(180,64,64,.42);
    background:rgba(68,20,18,.64);
    color:#ffd1c8;
}

.authnext-success{
    border:1px solid rgba(87,168,102,.42);
    background:rgba(20,58,27,.60);
    color:#d7ffd9;
}

@media (max-width: 900px){
    .authnext-content-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width: 620px){
    .authnext-page-shell{
        padding:16px;
    }

    .authnext-hero-tabs{
        padding:0 6px;
    }

    .authnext-hero-tab{
        flex:1 1 auto;
        padding-left:12px;
        padding-right:12px;
    }

    .authnext-hero-card{
        padding:22px 18px;
    }
}

/* AuthNext v1.3.1 — zentrale Accountdaten-Seite */
.authnext-account-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:16px;
    align-items:start;
}

.authnext-account-grid .authnext-form-card{
    min-height:100%;
}

.authnext-page-shell > .authnext-message{
    margin:0 0 16px 0;
}

.authnext-field input[readonly]{
    opacity:.82;
    cursor:not-allowed;
}

@media (max-width: 900px){
    .authnext-account-grid{
        grid-template-columns:1fr;
    }
}
