/* =========================================================
   AUTH / OWNERSHIP
========================================================= */

.add-server-auth{
    max-width:620px;
}

.add-server-auth h2,
.ownership-card h2{
    position:relative;

    margin:0 0 9px;

    color:#f5f7ff;
}

.add-server-auth p,
.ownership-card p{
    position:relative;

    color:
        rgba(
            186,
            198,
            220,
            .67
        );

    line-height:1.62;
}

.ownership-card{
    max-width:720px;
}

.proof-token{
    position:relative;

    margin:21px 0;

    display:flex;
    align-items:center;
    gap:9px;
}

.proof-token code{
    flex:1;
    min-width:0;

    padding:14px;

    overflow:auto;

    border:
        1px solid
        rgba(124,104,255,.27);

    border-radius:12px;

    background:
        rgba(6,9,17,.53);

    color:#bdafff;

    font-size:13px;
    font-weight:900;

    letter-spacing:.04em;
}

.proof-token button{
    min-height:46px;

    padding:0 15px;

    border:
        1px solid
        rgba(120,103,255,.33);

    border-radius:12px;

    background:
        rgba(101,75,255,.09);

    color:#c1b5ff;

    cursor:pointer;
}

.ownership-success{
    position:relative;

    width:52px;
    height:52px;

    display:grid;
    place-items:center;

    margin-bottom:15px;

    border:
        1px solid
        rgba(80,223,180,.18);

    border-radius:15px;

    background:
        rgba(43,192,148,.07);
}

.ownership-success img{
    width:31px;
    height:31px;
}

.submission-status{
    position:relative;

    width:max-content;

    margin-top:15px;

    padding:7px 10px;

    border:
        1px solid
        rgba(102,216,178,.19);

    border-radius:999px;

    background:
        rgba(39,190,146,.065);

    color:#7ae0bc;

    font-size:8px;
    font-weight:900;
}

.add-server-back{
    position:relative;

    display:inline-block;

    margin-top:23px;

    color:#9c8aff;

    font-size:10px;
    font-weight:800;

    text-decoration:none;
}


/* =========================================================
   LIGHT THEME
========================================================= */

html[data-theme="light"]
.add-server-page{
    --as-cyan:#31bde7;
    --as-violet:#7963ff;
}

html[data-theme="light"]
.add-server-hero h1,
html[data-theme="light"]
.add-server-section-head h2,
html[data-theme="light"]
.edition-card strong,
html[data-theme="light"]
.add-server-field>span,
html[data-theme="light"]
.add-server-field-title span,
html[data-theme="light"]
.add-server-preview strong,
html[data-theme="light"]
.add-server-auth h2,
html[data-theme="light"]
.ownership-card h2{
    color:#172037;
}

html[data-theme="light"]
.add-server-hero p,
html[data-theme="light"]
.add-server-section-head p{
    color:#65728a;
}

html[data-theme="light"]
.add-server-glass{
    border-color:
        rgba(89,105,138,.14);

    background:
        linear-gradient(
            140deg,
            rgba(255,255,255,.72),
            rgba(245,248,253,.63)
        );

    box-shadow:
        inset 0 1px 0
            rgba(255,255,255,.84),

        0 19px 48px
            rgba(42,54,79,.10);
}

html[data-theme="light"]
.add-server-step-icon small{
    background:
        rgba(255,255,255,.90);
}

html[data-theme="light"]
.edition-card{
    border-color:
        rgba(81,96,128,.13);

    background:
        rgba(255,255,255,.36);
}

html[data-theme="light"]
.edition-icon{
    background:
        rgba(255,255,255,.42);
}

html[data-theme="light"]
.add-server-field input,
html[data-theme="light"]
.add-server-field textarea,
html[data-theme="light"]
.add-server-field select{
    border-color:
        rgba(74,91,125,.14);

    background:
        rgba(255,255,255,.66);

    color:#182238;
}

html[data-theme="light"]
.add-server-preview{
    background:
        rgba(255,255,255,.43);
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:760px){

    .add-server-page{
        width:
            min(
                calc(100% - 20px),
                1160px
            );

        padding-top:20px;
    }

    .add-server-hero h1{
        font-size:
            clamp(
                35px,
                12vw,
                48px
            );

        white-space:normal;
    }

    .add-server-hero p{
        font-size:11px;
        white-space:normal;
    }

    .add-server-glass{
        padding:16px;
        border-radius:17px;
    }

    .edition-grid,
    .add-server-two,
    .add-server-links,
    .upload-grid{
        grid-template-columns:1fr;
    }

    .add-server-preview{
        grid-template-columns:
            48px
            minmax(0,1fr);
    }

    .add-server-preview>span{
        grid-column:2;
    }

    .proof-token{
        align-items:stretch;
        flex-direction:column;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media(prefers-reduced-motion:reduce){

    .edition-card,
    .add-server-check,
    .add-server-primary{
        transition:none;
    }
}


/* =========================================================
   ADD SERVER ENTRY — LIGHT READABILITY
========================================================= */

html[data-theme="light"]
.add-server-entry-card .edition-card strong{
    color:#172238;
}

html[data-theme="light"]
.add-server-entry-card .edition-card small{
    color:#65728a;
}

html[data-theme="light"]
.add-server-entry-card .add-server-field-title span{
    color:#243049;
}

html[data-theme="light"]
.add-server-entry-card .add-server-field input{
    color:#202b40;
}

html[data-theme="light"]
.add-server-entry-card .add-server-field input::placeholder{
    color:#78869d;
    opacity:1;
}
