
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #080808;
    --surface: #111111;
    --surface-light: #171717;
    --text: #f5f5f5;
    --muted: #929292;
    --line: #262626;
    --accent: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(8, 8, 8, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
}

.header {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.logo span,
.mini-brand span,
.preview-nav b span {
    color: #a3a3a3;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a,
.secondary-link {
    color: #b0b0b0;
    font-size: 13px;
    transition: color 0.2s ease;
}

nav a:hover,
.secondary-link:hover {
    color: #fff;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 20px;
    border: 1px solid #fff;
    border-radius: 10px;
    background: #fff;
    color: #080808;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    background: #dedede;
}

.header-button {
    padding: 11px 16px;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(ellipse at 75% 45%, rgba(255,255,255,0.055), transparent 35%),
        linear-gradient(135deg, #080808 30%, #101010 100%);
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    right: -150px;
    top: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.025);
    filter: blur(80px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;
    padding-top: 80px;
    padding-bottom: 100px;
}

.label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a0a0a0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e5e5e5;
    box-shadow: 0 0 12px rgba(255,255,255,0.45);
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.hero h1 {
    max-width: 650px;
    margin: 25px 0;
    font-size: clamp(42px, 5.2vw, 68px);
    font-weight: 600;
}

.hero h1 span,
.section-heading h2 span,
.contact h2 span {
    color: #858585;
}

.description {
    max-width: 460px;
    color: #a5a5a5;
    font-size: 16px;
}

.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 32px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 65px;
    color: #777;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.hero-trust i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #666;
}

.hero-visual {
    max-width: 470px;
    justify-self: end;
    width: 100%;
    padding: 25px;
    border: 1px solid #292929;
    border-radius: 18px;
    background: rgba(255,255,255,0.025);
    transform: rotate(1.5deg);
    box-shadow: 0 35px 100px rgba(0,0,0,0.35);
}

.visual-top,
.visual-caption {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.visual-window {
    overflow: hidden;
    margin: 22px 0;
    border: 1px solid #333;
    border-radius: 10px;
    background: #f1f1f1;
    color: #111;
}

.window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 13px;
    border-bottom: 1px solid #ddd;
    color: #777;
    font-size: 9px;
}

.window-dots {
    display: flex;
    gap: 4px;
}

.window-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #bbb;
}

.window-content {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: 25px;
    background: linear-gradient(135deg, #f6f6f6, #dedede);
}

.mini-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.mini-line {
    width: 35px;
    height: 2px;
    margin-top: 25px;
    background: #111;
}

.mini-heading {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.mini-heading span {
    color: #888;
}

.mini-text {
    width: 145px;
    height: 5px;
    margin-top: 17px;
    border-radius: 4px;
    background: #c2c2c2;
}

.mini-text.short {
    width: 95px;
    margin-top: 7px;
}

.mini-button {
    display: inline-block;
    margin-top: 22px;
    padding: 8px 12px;
    background: #111;
    color: #fff;
    font-size: 8px;
    letter-spacing: 1px;
}

.mini-orb {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -30px;
    bottom: -50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #bbb, #777);
    box-shadow: inset -20px -20px 40px rgba(0,0,0,0.12);
}

.hero-bottom {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.hero-bottom a {
    transition: color 0.2s ease;
}

.hero-bottom a:hover {
    color: #fff;
}

.section {
    padding: 115px 0;
}

.services-section {
    background: #0b0b0b;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 50px;
}

.section-heading h2,
.contact h2 {
    margin-top: 20px;
    font-size: clamp(36px, 4.5vw, 55px);
    font-weight: 500;
}

.section-intro {
    max-width: 340px;
    color: var(--muted);
    font-size: 14px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.card {
    display: flex;
    flex-direction: column;
    min-height: 275px;
    padding: 28px;
    border: 1px solid #262626;
    border-radius: 14px;
    background: linear-gradient(145deg, #131313, #0e0e0e);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #555;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #777;
    font-size: 11px;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid #333;
    border-radius: 10px;
    color: #eee;
    font-size: 17px;
}

.card h3 {
    margin-top: 30px;
    font-size: 24px;
    letter-spacing: -0.7px;
}

.card p {
    max-width: 360px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 25px;
}

.card strong {
    font-size: 12px;
}

.card a {
    color: #aaa;
    font-size: 11px;
}

.card a:hover {
    color: #fff;
}

.portfolio-section {
    background: #080808;
}

.portfolio {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.portfolio-item {
    overflow: hidden;
    border: 1px solid #292929;
    border-radius: 15px;
    background: #111;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: #555;
}

.portfolio-preview {
    min-height: 360px;
    padding: 25px;
}

.portfolio-dark .portfolio-preview {
    background: #171717;
    color: #f5f5f5;
}

.portfolio-light .portfolio-preview {
    background: #e9e6e0;
    color: #222;
}

.preview-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    letter-spacing: 1px;
}

.preview-nav b {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    letter-spacing: -1px;
}

.preview-body {
    position: relative;
    min-height: 275px;
    padding-top: 50px;
}

.preview-body > p {
    font-size: 8px;
    letter-spacing: 2px;
}

.preview-body h3 {
    position: relative;
    z-index: 1;
    margin-top: 15px;
    font-size: clamp(36px, 4vw, 52px);
    letter-spacing: -2px;
}

.preview-body h3 em {
    font-weight: 400;
}

.preview-link {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 8px;
    letter-spacing: 1px;
}

.preview-circle {
    position: absolute;
    right: 10px;
    top: 65px;
    display: grid;
    place-items: center;
    width: 155px;
    height: 155px;
    border: 1px solid #555;
    border-radius: 50%;
    color: #777;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 70px;
}

.portfolio-light .preview-circle {
    display: none;
}

.preview-product {
    position: absolute;
    right: 15px;
    top: 30px;
    width: 145px;
    height: 190px;
    border-radius: 80px 80px 15px 15px;
    background: #d0ccc4;
    transform: rotate(-8deg);
}

.preview-product div {
    position: absolute;
    inset: 18px;
    border: 1px solid #aaa69e;
    border-radius: inherit;
}

.portfolio-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 25px;
    border-top: 1px solid #292929;
}

.portfolio-info h3 {
    font-size: 16px;
    letter-spacing: -0.3px;
}

.portfolio-info p,
.portfolio-info > span {
    margin-top: 5px;
    color: #888;
    font-size: 10px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    border-top: 1px solid var(--line);
}

.steps > div {
    padding-top: 25px;
}

.steps span {
    color: #777;
    font-size: 11px;
}

.steps h3 {
    margin-top: 25px;
    font-size: 21px;
    letter-spacing: -0.5px;
}

.steps p {
    max-width: 270px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.contact {
    background:
        radial-gradient(ellipse at 50% 100%, rgba(255,255,255,0.06), transparent 55%),
        #101010;
    border-top: 1px solid #222;
}

.contact-content {
    max-width: 700px;
    text-align: center;
}

.contact-content .label {
    justify-content: center;
}

.contact-description {
    margin-top: 20px;
    color: var(--muted);
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 35px;
    text-align: left;
}

input,
select,
textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #333;
    border-radius: 9px;
    outline: none;
    background: #0b0b0b;
    color: #f5f5f5;
    font: inherit;
    font-size: 13px;
    transition: border-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #888;
}

select {
    color: #aaa;
}

textarea {
    grid-column: 1 / -1;
    min-height: 130px;
    resize: vertical;
}

form button {
    grid-column: 1 / -1;
    justify-self: center;
    cursor: pointer;
    margin-top: 8px;
}

.support {
    padding: 55px 0;
    border-top: 1px solid #252525;
    background: #0b0b0b;
}

.support-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.support h2 {
    margin-top: 10px;
    font-size: 28px;
    letter-spacing: -0.8px;
}

.support-inner > div > p:last-child {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.secondary-button {
    border-color: #333;
    background: transparent;
    color: #fff;
}

.secondary-button:hover {
    background: #fff;
    color: #080808;
}

footer {
    border-top: 1px solid #222;
    background: #080808;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 95px;
}

.footer p,
.back-top {
    color: #777;
    font-size: 10px;
}

.back-top {
    letter-spacing: 1px;
}

.back-top:hover {
    color: #fff;
}

@media (max-width: 850px) {
    .header {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-top: 65px;
    }

    .hero-visual {
        justify-self: center;
        max-width: 500px;
    }

    .hero {
        min-height: auto;
        padding-bottom: 75px;
    }

    .hero-trust {
        margin-top: 40px;
    }

    .section {
        padding: 85px 0;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .container {
        width: 90%;
    }

    .header {
        gap: 15px;
    }

    .logo {
        font-size: 22px;
    }

    .header-button {
        padding: 10px 12px;
        font-size: 11px;
    }

    nav {
        gap: 16px;
    }

    nav a {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .description {
        font-size: 14px;
    }

    .hero-visual {
        padding: 15px;
    }

    .window-content {
        min-height: 260px;
    }

    .mini-heading {
        font-size: 30px;
    }

    .mini-orb {
        width: 140px;
        height: 140px;
    }

    .hero-bottom {
        gap: 20px;
        font-size: 8px;
    }

    .hero-bottom a {
        text-align: right;
    }

    .cards,
    .portfolio,
    .steps {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: 250px;
    }

    .portfolio-preview {
        min-height: 330px;
        padding: 20px;
    }

    .preview-body h3 {
        font-size: 42px;
    }

    .preview-circle {
        width: 120px;
        height: 120px;
        right: 0;
        font-size: 55px;
    }

    .preview-product {
        width: 110px;
        height: 155px;
        right: 0;
    }

    .steps {
        gap: 25px;
    }

    .steps > div {
        padding-top: 20px;
        border-top: 1px solid var(--line);
    }

    form {
        grid-template-columns: 1fr;
    }

    textarea,
    form button {
        grid-column: auto;
    }

    .support-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer {
        flex-wrap: wrap;
        padding: 25px 0;
    }

    .footer p {
        order: 3;
        width: 100%;
    }
}

/* =================================
   CHAT DE ATENDIMENTO STUDIO
================================= */

.support-chat-widget[hidden],
#chat-start[hidden],
#chat-conversation[hidden] {
    display: none !important;
}

.support-chat-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width: min(390px, calc(100vw - 32px));
    height: min(580px, calc(100vh - 40px));
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--text);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
    animation: studioChatOpen .2s ease;
}

@keyframes studioChatOpen {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.support-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.support-chat-header div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.support-chat-header strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
}

.support-chat-header span {
    color: var(--muted);
    font-size: 12px;
}

#support-chat-close {
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 28px;
    cursor: pointer;
}

.support-chat-content {
    flex: 1;
    min-height: 0;
    padding: 20px;
    overflow-y: auto;
}

#chat-start h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    margin-bottom: 8px;
}

#chat-start > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 22px;
}

#chat-start-form,
#chat-reply-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
}

#chat-start-form input,
#chat-start-form textarea,
#chat-reply-input {
    width: 100%;
    padding: 13px 14px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 9px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    outline: none;
}

#chat-start-form input:focus,
#chat-start-form textarea:focus,
#chat-reply-input:focus {
    border-color: #777;
}

#chat-start-form textarea,
#chat-reply-input {
    min-height: 100px;
    resize: vertical;
}

#chat-start-form .button,
#chat-reply-form .button {
    width: 100%;
    justify-content: center;
    cursor: pointer;
    margin-top: 0;
}

.chat-status {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 14px;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 180px;
    max-height: 270px;
    overflow-y: auto;
    padding: 4px 2px 14px;
}

.chat-message {
    max-width: 85%;
    padding: 11px 13px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.chat-message.customer {
    align-self: flex-end;
    background: var(--text);
    color: var(--bg);
}

.chat-message.admin {
    align-self: flex-start;
    background: var(--surface-light);
    border: 1px solid var(--line);
    color: var(--text);
}

.chat-message small {
    display: block;
    margin-top: 5px;
    opacity: .6;
    font-size: 10px;
}

#chat-reply-form {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

@media (max-width: 600px) {
    .support-chat-widget {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        height: min(580px, calc(100dvh - 24px));
    }
}


/* =================================
   PAINEL ADMINISTRATIVO STUDIO
================================= */

.admin-page [hidden] {
    display: none !important;
}

.admin-main {
    min-height: 75vh;
    padding-top: 80px;
    padding-bottom: 90px;
}

.admin-label {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 2px;
}

.admin-login {
    width: min(100%, 430px);
    margin: 40px auto;
}

.admin-login h1,
.admin-heading h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 6vw, 54px);
    line-height: 1.1;
    margin: 15px 0;
}

.admin-login h1 span,
.admin-heading h1 span {
    color: var(--muted);
}

.admin-description {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

#login-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

#login-form input,
.admin-reply-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 9px;
    font-family: 'DM Sans', sans-serif;
    outline: none;
}

#login-form input:focus,
.admin-reply-form textarea:focus {
    border-color: #777;
}

#login-form .button {
    justify-content: center;
    cursor: pointer;
}

.admin-error {
    color: #ff7777;
    font-size: 13px;
    line-height: 1.5;
}

.admin-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.admin-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    min-height: 550px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
}

.admin-sidebar {
    border-right: 1px solid var(--line);
    padding: 22px;
    min-width: 0;
}

.admin-sidebar h2,
.active-chat-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
}

.admin-sidebar h2 span {
    color: var(--muted);
    font-size: 13px;
    margin-left: 5px;
}

.conversation-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 20px;
}

.conversation-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    padding: 15px;
    text-align: left;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 9px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.conversation-item:hover,
.conversation-item.selected {
    background: var(--surface-light);
    border-color: #666;
}

.conversation-item strong {
    font-size: 14px;
}

.conversation-item span,
.conversation-item small {
    color: var(--muted);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.conversation-item .status-open {
    color: #8ed5a2;
}

.conversation-item .status-closed {
    color: #ff9999;
}

.admin-muted {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.admin-chat {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.empty-chat {
    flex: 1;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.empty-chat span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.empty-chat p {
    color: var(--muted);
    font-size: 13px;
}

.active-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.active-chat-header p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
    overflow-wrap: anywhere;
}

.active-chat-header .button {
    font-size: 11px;
    padding: 10px 12px;
    cursor: pointer;
}

.admin-messages {
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-height: 300px;
    max-height: 450px;
    overflow-y: auto;
    padding: 22px 5px;
}

.admin-message {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 11px;
    overflow-wrap: anywhere;
}

.admin-message p {
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.admin-message small {
    display: block;
    margin-top: 7px;
    font-size: 10px;
    opacity: .65;
}

.admin-message.customer {
    align-self: flex-start;
    background: var(--surface-light);
    border: 1px solid var(--line);
}

.admin-message.admin {
    align-self: flex-end;
    color: var(--bg);
    background: var(--text);
}

.admin-reply-form {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.admin-reply-form textarea {
    min-height: 55px;
    max-height: 130px;
    resize: vertical;
}

.admin-reply-form .button {
    flex-shrink: 0;
    cursor: pointer;
}

.admin-page button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

@media(max-width: 750px) {
    .admin-main {
        padding-top: 45px;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .conversation-list {
        max-height: 250px;
        overflow-y: auto;
    }

    .admin-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .active-chat-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-chat {
        padding: 15px;
    }

    .admin-reply-form {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-reply-form .button {
        justify-content: center;
    }
}


/* CORREÇÃO DE VISIBILIDADE DO STUDIO */

[hidden] {
    display: none !important;
}
