/* ============================================================

   LADZONE BAN APPEALS

   ============================================================ */



:root {

    --background: #111318;

    --surface: #191c22;

    --surface-raised: #20242c;

    --surface-input: #15181e;



    --border: #303641;

    --border-focus: #ffb650;



    --text: #f5f6f8;

    --text-muted: #aeb5c0;



    --accent: #ffb650;

    --accent-hover: #ffc66f;

    --accent-text: #171717;



    --success: #3ba55d;

    --success-soft: rgba(59, 165, 93, 0.10);



    --danger: #ed4245;

    --danger-soft: rgba(237, 66, 69, 0.10);



    --pending: #faa61a;



    --radius-large: 20px;

    --radius-medium: 12px;

    --radius-small: 8px;



    --content-width: 760px;

}





/* ============================================================

   BASE

   ============================================================ */



* {

    box-sizing: border-box;

}



html {

    min-height: 100%;

    background: var(--background);

}



body {

    min-height: 100vh;

    margin: 0;



    background:

        radial-gradient(circle at top,

            rgba(255, 182, 80, 0.08),

            transparent 34rem),

        var(--background);



    color: var(--text);



    font-family:

        Inter,

        -apple-system,

        BlinkMacSystemFont,

        "Segoe UI",

        sans-serif;



    line-height: 1.6;

}



button,

textarea,

input {

    font: inherit;

}



a {

    color: var(--accent);

}



a:hover {

    color: var(--accent-hover);

}





/* ============================================================

   PAGE SHELL

   ============================================================ */



.site-shell {

    min-height: 100vh;



    display: flex;

    flex-direction: column;

}





/* ============================================================

   HEADER / BRANDING

   ============================================================ */



.site-header {

    width: 100%;

    padding: 24px;

}



.brand {

    width: min(100%, var(--content-width));



    margin: 0 auto;



    display: flex;

    align-items: center;



    color: var(--text);

    text-decoration: none;

}



.brand-logo {

    display: block;



    width: 64px;

    height: 64px;



    object-fit: cover;



    border-radius: 14px;



    box-shadow:

        0 8px 24px rgba(0, 0, 0, 0.28);

}





/* ============================================================

   MAIN CONTENT

   ============================================================ */



.site-main {

    width: min(calc(100% - 32px),

            var(--content-width));



    margin: auto;



    padding: 36px 0 72px;

}



.appeal-card {

    padding: clamp(28px, 6vw, 52px);



    background: rgba(25, 28, 34, 0.94);



    border: 1px solid var(--border);

    border-radius: var(--radius-large);



    box-shadow:

        0 24px 70px rgba(0, 0, 0, 0.3);

}





/* ============================================================

   TYPOGRAPHY

   ============================================================ */



.eyebrow {

    margin: 0 0 10px;



    color: var(--accent);



    font-size: 0.78rem;

    font-weight: 800;



    letter-spacing: 0.12em;

    text-transform: uppercase;

}



h1 {

    margin: 0 0 18px;



    font-size: clamp(2rem, 7vw, 3.3rem);

    line-height: 1.05;



    letter-spacing: -0.035em;

}



.lead {

    margin: 0;



    color: var(--text-muted);



    font-size: 1.08rem;

}





/* ============================================================

   INFORMATION PANELS

   ============================================================ */



.notice,

.status-panel,

.decision-panel,

.submission-notice {

    margin-top: 32px;

    padding: 20px;



    background: var(--surface-raised);



    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

}



.notice-title,

.decision-title,

.submission-notice-title {

    margin: 0 0 6px;



    font-size: 1rem;

}



.notice p,

.status-panel p,

.decision-panel p,

.submission-notice p {

    margin: 0;



    color: var(--text-muted);

}



.submission-notice p+p {

    margin-top: 12px;

}





/* ============================================================
   BAN DETAILS
   ============================================================ */

.ban-details {
    margin-top: 32px;
    padding: 20px;

    background: var(--surface-raised);

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
}


.ban-details-title {
    margin: 0 0 18px;

    font-size: 1rem;
}


.ban-details-grid {
    display: grid;

    grid-template-columns:
        minmax(140px, 0.8fr)
        minmax(0, 1.6fr);

    column-gap: 24px;
    row-gap: 0;
}


.ban-detail-row {
    display: contents;
}


.ban-detail-label,
.ban-detail-value {
    padding: 10px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.055);
}


.ban-detail-label {
    color: var(--text-muted);

    font-size: 0.9rem;
    font-weight: 700;
}


.ban-detail-value {
    color: var(--text);

    overflow-wrap: anywhere;
}


.ban-detail-value-mono {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        monospace;

    font-size: 0.92rem;
}


.ban-detail-reason {
    margin-top: 20px;
    padding-top: 18px;

    border-top: 1px solid var(--border);
}


.ban-detail-reason .ban-detail-label {
    padding: 0;

    border: 0;
}


.ban-detail-reason-text {
    margin-top: 7px;

    color: var(--text);

    line-height: 1.55;
    overflow-wrap: anywhere;
}


/* ============================================================

   ALERTS

   ============================================================ */



.alert {

    margin-top: 28px;

    padding: 18px 20px;



    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

}



.alert-error {

    background: var(--danger-soft);

    border-color: rgba(237, 66, 69, 0.35);

}



.alert-success {

    background: var(--success-soft);

    border-color: rgba(59, 165, 93, 0.35);

}



.alert-title {

    margin: 0 0 6px;



    font-size: 1rem;

}



.alert p {

    margin: 0;



    color: var(--text-muted);

}



.error-list {

    margin: 8px 0 0;

    padding-left: 22px;



    color: var(--text-muted);

}



.error-list li+li {

    margin-top: 4px;

}





/* ============================================================

   FORM

   ============================================================ */



.appeal-form {

    margin-top: 34px;

}



.form-group+.form-group {

    margin-top: 30px;

}



.form-label {

    display: block;



    margin-bottom: 7px;



    color: var(--text);



    font-weight: 750;

}



.required {

    color: var(--accent);

}



.optional {

    margin-left: 7px;



    color: var(--text-muted);



    font-size: 0.78rem;

    font-weight: 500;

}



.form-hint {

    margin: 0 0 12px;



    color: var(--text-muted);



    font-size: 0.92rem;

}



.form-textarea {

    display: block;



    width: 100%;

    min-height: 150px;



    resize: vertical;



    padding: 14px 15px;



    background: var(--surface-input);

    color: var(--text);



    border: 1px solid var(--border);

    border-radius: var(--radius-medium);



    outline: none;



    transition:

        border-color 120ms ease,

        box-shadow 120ms ease,

background 120ms ease;

}



.form-textarea:hover {

    border-color: #414957;

}



.form-textarea:focus {

    background: #171a20;



    border-color: var(--border-focus);



    box-shadow:

        0 0 0 3px rgba(255, 182, 80, 0.12);

}



.form-file {

    display: block;



    width: 100%;



    padding: 13px 14px;



    background: var(--surface-input);

    color: var(--text-muted);



    border: 1px solid var(--border);

    border-radius: var(--radius-medium);



    cursor: pointer;



    transition:

        border-color 120ms ease,

        box-shadow 120ms ease,

        background 120ms ease;

}



.form-file:hover {

    border-color: #414957;

}



.form-file:focus {

    background: #171a20;



    border-color: var(--border-focus);



    outline: none;



    box-shadow:

        0 0 0 3px rgba(255, 182, 80, 0.12);

}



.form-file::file-selector-button {

    margin-right: 12px;

    padding: 8px 12px;



    background: var(--surface-raised);

    color: var(--text);



    border: 1px solid var(--border);

    border-radius: var(--radius-small);



    cursor: pointer;



    font-weight: 700;

}



.form-file::file-selector-button:hover {

    border-color: var(--accent);

}



.form-limit {

    margin-top: 7px;



    color: var(--text-muted);



    font-size: 0.78rem;

    text-align: right;

}





/* ============================================================

   BUTTONS

   ============================================================ */



.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;



    min-height: 48px;



    margin-top: 28px;

    padding: 12px 22px;



    border: 0;

    border-radius: var(--radius-small);



    cursor: pointer;



    font-weight: 800;



    text-decoration: none;



    transition:

background 120ms ease,

        transform 120ms ease,

        box-shadow 120ms ease;

}



.button-primary {

    background: var(--accent);

    color: var(--accent-text);



    box-shadow:

        0 8px 24px rgba(255, 182, 80, 0.12);

}



.button-primary:hover {

    background: var(--accent-hover);

}



.button-primary:active {

    transform: translateY(1px);

}



.button:focus-visible {

    outline: 3px solid rgba(255, 182, 80, 0.35);

    outline-offset: 3px;

}





/* ============================================================

   STATUS

   ============================================================ */



.status-indicator {

    display: flex;

    align-items: center;

    gap: 10px;



    margin-bottom: 8px;



    font-weight: 800;

}



.status-dot {

    width: 10px;

    height: 10px;



    flex: 0 0 auto;



    border-radius: 50%;

}



.status-dot-pending {

    background: var(--pending);



    box-shadow:

        0 0 0 4px rgba(250, 166, 26, 0.10);

}



.status-dot-success {

    background: var(--success);



    box-shadow:

        0 0 0 4px rgba(59, 165, 93, 0.10);

}



.status-dot-denied {

    background: var(--danger);



    box-shadow:

        0 0 0 4px rgba(237, 66, 69, 0.10);

}



.status-panel-success {

    background: var(--success-soft);



    border-color: rgba(59, 165, 93, 0.30);

}





/* ============================================================

   CONVERSATION

   ============================================================ */



.conversation {

    margin-top: 34px;

}



.conversation-heading {

    margin: 0 0 16px;



    font-size: 1.05rem;

}



.message {

    padding: 17px 18px;



    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

}



.message+.message {

    margin-top: 12px;

}



.message-staff {

    background: var(--surface-raised);



    border-left:

        3px solid var(--accent);

}



.message-appellant {

    background: rgba(255, 182, 80, 0.055);



    border-right:

        3px solid rgba(255, 182, 80, 0.55);

}



.message-header {

    margin-bottom: 5px;



    color: var(--text);



    font-size: 0.84rem;

    font-weight: 800;

}



.message-staff .message-header {

    color: var(--accent);

}



.message-body {

    color: var(--text-muted);



    white-space: normal;

    overflow-wrap: anywhere;

}





/* ============================================================

   SECONDARY CONTENT

   ============================================================ */



.divider {

    height: 1px;



    margin: 32px 0;



    background: var(--border);

}



.help-text {

    margin: 0;



    color: var(--text-muted);



    font-size: 0.94rem;

}





/* ============================================================

   FOOTER

   ============================================================ */



.site-footer {

    width: min(calc(100% - 32px),

            var(--content-width));



    margin: 0 auto;



    padding: 0 0 28px;



    color: var(--text-muted);



    font-size: 0.82rem;

    text-align: center;

}





/* ============================================================

   MOBILE

   ============================================================ */



@media (max-width: 520px) {

    .ban-details-grid {
        grid-template-columns: 1fr;
    }


    .ban-detail-row {
        display: block;

        padding: 10px 0;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.055);
    }


    .ban-detail-label,
    .ban-detail-value {
        padding: 0;

        border: 0;
    }


    .ban-detail-value {
        margin-top: 3px;
    }


    .site-header {

        padding: 18px 16px;

    }



    .brand-logo {

        width: 56px;

        height: 56px;



        border-radius: 12px;

    }



    .site-main {

        padding-top: 20px;

    }



    .appeal-card {

        border-radius: 16px;

    }



    .button {

        width: 100%;

    }

}