.doubts-page {
    --doubts-ink: #123e39;
    --doubts-muted: #66817d;
    --doubts-teal: #087d6b;
    --doubts-dark: #075e53;
    --doubts-mint: #edf8f5;
    --doubts-line: #dce9e6;
    --doubts-shadow: 0 18px 55px rgba(21, 75, 68, 0.1);
    width: min(1180px, 100%);
    margin: -12px auto 0;
    color: var(--doubts-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.doubts-page * {
    box-sizing: border-box;
}

.doubts-page a {
    color: inherit;
    text-decoration: none;
}

.doubts-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    min-height: 330px;
    overflow: hidden;
    padding: 52px 58px;
    border-radius: 30px;
    background: linear-gradient(125deg, #0d5e55 0%, #087e6c 58%, #10a083 100%);
    color: #fff;
    box-shadow: var(--doubts-shadow);
}

.doubts-hero::after {
    position: absolute;
    top: -165px;
    right: -100px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    content: "";
}

.doubts-eyebrow,
.doubts-section-heading > span,
.doubts-history-head > div > span {
    color: #b8f1e5;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.doubts-hero h1 {
    max-width: 650px;
    margin: 12px 0;
    color: #fff;
    font: 700 clamp(42px, 6vw, 68px) / 1 Georgia, serif;
    letter-spacing: -0.035em;
}

.doubts-hero p {
    max-width: 600px;
    margin: 0;
    color: #d8f3ed;
    font-size: 17px;
}

.doubts-hero-visual {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    justify-self: end;
    width: 230px;
    height: 210px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
}

.doubts-hero-visual span {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #fff;
    color: var(--doubts-teal);
    font: 700 50px Georgia, serif;
    box-shadow: 0 14px 30px rgba(4, 63, 56, 0.18);
}

.doubts-hero-visual i {
    position: absolute;
    width: 150px;
    height: 92px;
    border-bottom: 2px dashed rgba(255, 211, 109, 0.9);
    border-radius: 50%;
    transform: rotate(-9deg);
}

.doubts-hero-visual b {
    position: absolute;
    right: 27px;
    bottom: 42px;
    color: #ffd36d;
    font-size: 28px;
}

.doubts-signin-card,
.doubts-form-card,
.doubts-guide,
.doubts-history {
    border: 1px solid var(--doubts-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(21, 74, 66, 0.07);
}

.doubts-signin-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    margin-top: 28px;
    padding: 30px;
}

.doubts-card-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--doubts-mint);
    color: var(--doubts-teal);
    font: 700 28px Georgia, serif;
}

.doubts-signin-card h2,
.doubts-section-heading h2,
.doubts-history-head h2,
.doubts-guide h2 {
    margin: 0;
    font: 700 30px Georgia, serif;
    letter-spacing: -0.02em;
}

.doubts-signin-card p,
.doubts-section-heading p,
.doubts-history-head p {
    margin: 5px 0 0;
    color: var(--doubts-muted);
}

.doubts-signin-actions,
.doubts-form-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.doubts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 17px;
    border: 0;
    border-radius: 11px;
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.doubts-btn:hover {
    transform: translateY(-2px);
}

.doubts-btn-primary {
    background: var(--doubts-teal);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(8, 125, 107, 0.18);
}

.doubts-btn-secondary {
    border: 1px solid var(--doubts-line);
    background: #fff;
    color: var(--doubts-dark) !important;
}

.doubts-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 24px;
    margin-top: 34px;
}

.doubts-form-card {
    padding: 38px;
}

.doubts-section-heading > span,
.doubts-history-head > div > span {
    color: var(--doubts-teal);
}

.doubts-section-heading p {
    margin-bottom: 24px;
}

.doubts-alert {
    margin: 0 0 20px;
    padding: 13px 15px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 750;
}

.doubts-alert.is-error {
    border: 1px solid #f1c8c4;
    background: #fff2f0;
    color: #8d3128;
}

.doubts-alert.is-success {
    border: 1px solid #bfe4da;
    background: #eefaf6;
    color: #116756;
}

.doubts-form,
.doubts-field {
    display: grid;
    gap: 9px;
}

.doubts-form {
    gap: 20px;
}

.doubts-context-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.doubts-field label {
    color: var(--doubts-ink);
    font-size: 13px;
    font-weight: 850;
}

.doubts-field label small {
    margin-left: 4px;
    color: #8ca19d;
    font-weight: 650;
}

.doubts-field select,
.doubts-field textarea {
    width: 100%;
    border: 1px solid #cfdfdc;
    border-radius: 12px;
    background: #fbfefd;
    color: var(--doubts-ink);
    font: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.doubts-field select {
    min-height: 48px;
    padding: 0 13px;
}

.doubts-field textarea {
    min-height: 150px;
    padding: 14px;
    resize: vertical;
}

.doubts-field select:focus,
.doubts-field textarea:focus {
    border-color: #76bdb0;
    box-shadow: 0 0 0 4px rgba(8, 125, 107, 0.08);
}

.doubts-field-note {
    color: var(--doubts-muted);
    font-size: 12px;
}

.doubts-form-footer {
    justify-content: space-between;
    padding-top: 4px;
}

.doubts-priority {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--doubts-muted);
    font-size: 13px;
    font-weight: 750;
}

.doubts-priority input {
    width: 17px;
    height: 17px;
    accent-color: var(--doubts-teal);
}

.doubts-guide {
    position: sticky;
    top: 92px;
    overflow: hidden;
    padding: 30px;
    background: linear-gradient(145deg, #123e39, #0b665a);
    color: #fff;
}

.doubts-guide-number {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: #ffd36d;
    color: #123e39;
    font-weight: 900;
}

.doubts-guide h2 {
    color: #fff;
    font-size: 27px;
}

.doubts-guide ol {
    display: grid;
    gap: 18px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: doubt-tip;
}

.doubts-guide li {
    display: grid;
    grid-template-columns: 25px 1fr;
    column-gap: 8px;
    counter-increment: doubt-tip;
}

.doubts-guide li::before {
    grid-row: 1 / 3;
    color: #72dbc7;
    content: counter(doubt-tip) ".";
    font-weight: 900;
}

.doubts-guide li strong,
.doubts-guide li span {
    display: block;
}

.doubts-guide li span {
    margin-top: 2px;
    color: #bfddd7;
    font-size: 13px;
}

.doubts-history {
    margin-top: 28px;
    padding: 34px;
}

.doubts-history-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.doubts-history-head p {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
}

.doubts-empty {
    padding: 38px 20px;
    border: 1px dashed #cbded9;
    border-radius: 17px;
    background: #fbfefd;
    text-align: center;
}

.doubts-empty > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--doubts-mint);
    color: var(--doubts-teal);
    font-weight: 900;
}

.doubts-empty h3,
.doubts-empty p {
    margin: 0;
}

.doubts-empty p {
    margin-top: 5px;
    color: var(--doubts-muted);
}

.doubts-list {
    display: grid;
    gap: 14px;
}

.doubts-item {
    padding: 22px;
    border: 1px solid var(--doubts-line);
    border-radius: 17px;
    background: #fcfefd;
}

.doubts-item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.doubts-item-meta time {
    margin-left: auto;
    color: #829692;
    font-size: 12px;
}

.doubts-status,
.doubts-urgent {
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf5f3;
    color: #52716b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.doubts-status.is-replied,
.doubts-status.is-resolved {
    background: #dcf5ed;
    color: #08715f;
}

.doubts-urgent {
    background: #fff0e5;
    color: #a14d17;
}

.doubts-item-context {
    margin: 15px 0 7px;
    color: var(--doubts-teal);
    font-size: 12px;
    font-weight: 800;
}

.doubts-item h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
}

.doubts-reply {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    border-radius: 14px;
    background: var(--doubts-mint);
}

.doubts-reply-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--doubts-teal);
    color: #fff;
    font: 700 13px Georgia, serif;
}

.doubts-reply strong {
    font-size: 13px;
}

.doubts-reply p {
    margin: 4px 0 0;
    color: #3e615b;
    font-size: 14px;
}

@media (max-width: 900px) {
    .doubts-hero {
        grid-template-columns: 1fr auto;
        padding: 44px;
    }

    .doubts-hero-visual {
        width: 180px;
        height: 180px;
    }

    .doubts-layout {
        grid-template-columns: 1fr;
    }

    .doubts-guide {
        position: static;
    }
}

@media (max-width: 700px) {
    .doubts-page {
        width: calc(100% + 8px);
        margin-left: -4px;
    }

    .doubts-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 34px 25px;
        border-radius: 22px;
    }

    .doubts-hero h1 {
        font-size: 43px;
    }

    .doubts-hero-visual {
        display: none;
    }

    .doubts-signin-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .doubts-signin-actions,
    .doubts-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .doubts-btn {
        width: 100%;
    }

    .doubts-form-card,
    .doubts-history {
        padding: 25px 20px;
    }

    .doubts-context-grid {
        grid-template-columns: 1fr;
    }

    .doubts-form-footer {
        gap: 16px;
    }

    .doubts-priority {
        align-self: flex-start;
    }

    .doubts-history-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .doubts-item-meta time {
        width: 100%;
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .doubts-page * {
        transition: none !important;
    }
}
