@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

body.yazi-support-page *,
body.yazi-support-page *::before,
body.yazi-support-page *::after {
    box-sizing: border-box;
}

body.yazi-support-page {
    min-height: 100vh;
    margin: 0;
    background: #F6FBFF;
    color: #17213A;
    font-family: 'Nunito', sans-serif;
}

.yazi-support-page .yazi-auth-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: calc(1440px - 8em);
    margin: 0 auto;
    padding: 3em 4em 0;
}

.yazi-support-page .yazi-auth-header .logo img {
    height: 20px;
}

.yazi-support-page .yazi-auth-header .yazi-brand-mark {
    display: inline-flex;
    align-items: baseline;
    color: #2477D8;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
}

.yazi-support-page .yazi-auth-header .yazi-brand-mark span {
    color: #FFE74D;
}

.yazi-support-page .yazi-auth-header .yazi-brand-mark small {
    color: #62718B;
    font-size: 0.76em;
    font-weight: 800;
}

.support-page {
    width: min(620px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 72px;
}

.support-card {
    background: #fff;
    border: 2px solid #D9E7F4;
    border-radius: 8px;
    padding: clamp(24px, 5vw, 48px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.support-kicker {
    margin: 0 0 8px;
    color: #2477D8;
    font-size: 0.8rem;
    font-weight: 800;
}

.support-card h1 {
    margin: 0;
    color: #17213A;
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.05;
}

.support-intro {
    margin: 12px 0 28px;
    color: #62718B;
    font-size: 1rem;
    font-weight: 700;
}

.support-form,
.support-field {
    display: flex;
    flex-direction: column;
}

.support-form {
    gap: 16px;
}

.support-field {
    gap: 6px;
}

.support-field label {
    color: #17213A;
    font-size: 0.85rem;
    font-weight: 800;
}

.support-field input,
.support-field textarea {
    width: 100%;
    border: 2px solid #D9E7F4;
    border-radius: 8px;
    background: #FFFFFF;
    color: #17213A;
    font: inherit;
    font-size: 1rem;
    padding: 0.85rem 1rem;
    outline: none;
}

.support-field input:focus,
.support-field textarea:focus {
    border-color: #2477D8;
    box-shadow: 0 0 0 3px rgba(36, 119, 216, 0.12);
}

.support-field textarea {
    resize: vertical;
}

.support-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: #2477D8;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    box-shadow: 0 4px 0 #1557A3;
}

.support-message-status {
    display: none;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}

.support-message-status.is-success,
.support-message-status.is-error {
    display: block;
}

.support-message-status.is-success {
    background: #EAF4FF;
    color: #1557A3;
}

.support-message-status.is-error {
    background: #FFE0E0;
    color: #A82020;
}

.yazi-public-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px 28px;
    color: #62718B;
    font-size: 0.85rem;
    font-weight: 700;
}

.yazi-public-footer a {
    color: #62718B;
    text-decoration: none;
}

.yazi-public-footer a:hover {
    color: #2477D8;
}

@media (max-width: 768px) {
    .yazi-support-page .yazi-auth-header {
        padding: 1.875em 1em 0;
    }

    .support-page {
        width: calc(100% - 2em);
        padding: 32px 0 56px;
    }
}

@media (max-width: 560px) {
    .yazi-support-page .yazi-auth-header {
        padding: 1.25em 1em 0;
    }

    .support-card {
        padding: 1.25rem;
    }

    .support-page {
        width: calc(100% - 2em);
    }
}
