/* =========================================================
   CENTRAL ORION — SUPORTE CLIENTE PREMIUM
   Arquivo: assets/css/suporte-cliente.css
========================================================= */

.co-suporte-page,
.co-suporte-page * {
    box-sizing: border-box;
}

.co-suporte-page {
    width: 100%;
    min-height: 100vh;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.co-suporte-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 22px;
}

.co-suporte-coluna-principal {
    min-width: 0;
}

/* =========================================================
   HERO
========================================================= */

.co-suporte-hero {
    position: relative;
    min-height: 170px;
    margin-bottom: 22px;
    padding: 28px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 0, 0.35);
    border-radius: 18px;
    background:
        radial-gradient(circle at 85% 50%, rgba(255, 0, 0, 0.35), transparent 24%),
        radial-gradient(circle at 100% 80%, rgba(255, 0, 0, 0.22), transparent 30%),
        linear-gradient(135deg, #090909 0%, #030303 100%);
    box-shadow: 0 0 35px rgba(255, 0, 0, 0.12);
}

.co-suporte-hero::after {
    content: "";
    position: absolute;
    right: -95px;
    bottom: -145px;
    width: 430px;
    height: 260px;
    border-radius: 50%;
    border-top: 2px solid rgba(255, 0, 0, 0.8);
    box-shadow: 0 -18px 45px rgba(255, 0, 0, 0.28);
    transform: rotate(-12deg);
    opacity: 0.9;
}

.co-suporte-hero-conteudo {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.co-suporte-tag {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 0, 0, 0.12);
    border: 1px solid rgba(255, 0, 0, 0.28);
    color: #ff3030;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.co-suporte-hero h1 {
    margin: 0 0 12px;
    font-size: 36px;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 0 22px rgba(255, 255, 255, 0.08);
}

.co-suporte-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.6;
}

.co-suporte-hero-icone {
    position: relative;
    z-index: 3;
    width: 118px;
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.45);
    box-shadow:
        0 0 25px rgba(255, 0, 0, 0.35),
        inset 0 0 25px rgba(255, 0, 0, 0.16);
}

.co-suporte-hero-icone span {
    font-size: 54px;
    filter: drop-shadow(0 0 14px rgba(255, 0, 0, 0.75));
}

/* =========================================================
   CHAT
========================================================= */

.co-suporte-chat-card {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 0, 0, 0.38);
    background:
        radial-gradient(circle at top left, rgba(255, 0, 0, 0.10), transparent 28%),
        linear-gradient(180deg, #050505 0%, #010101 100%);
    box-shadow:
        0 0 34px rgba(255, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.co-suporte-chat-header {
    min-height: 76px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.co-suporte-chat-titulo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.co-suporte-chat-avatar,
.co-suporte-msg-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    background:
        radial-gradient(circle, rgba(255, 0, 0, 0.9), rgba(50, 0, 0, 0.85));
    border: 1px solid rgba(255, 0, 0, 0.9);
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.45);
}

.co-suporte-chat-titulo h2 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 21px;
}

.co-suporte-chat-titulo p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.co-suporte-chat-titulo p span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28e84f;
    box-shadow: 0 0 12px rgba(40, 232, 79, 0.75);
}

.co-suporte-chat-acoes {
    display: flex;
    align-items: center;
    gap: 8px;
}

.co-suporte-chat-acoes button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    background: transparent;
    font-size: 20px;
    transition: 0.2s ease;
}

.co-suporte-chat-acoes button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.co-suporte-chat-mensagens {
    height: 530px;
    padding: 22px;
    overflow-y: auto;
}

.co-suporte-chat-mensagens::-webkit-scrollbar {
    width: 5px;
}

.co-suporte-chat-mensagens::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
}

.co-suporte-msg {
    width: 100%;
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
}

.co-suporte-msg-equipe {
    align-items: flex-start;
    justify-content: flex-start;
}

.co-suporte-msg-cliente {
    justify-content: flex-end;
}

.co-suporte-msg-conteudo {
    max-width: 560px;
}

.co-suporte-msg-meta {
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.co-suporte-msg-meta strong {
    color: #ff2020;
}

.co-suporte-msg-meta span {
    color: rgba(255, 255, 255, 0.55);
}

.co-suporte-msg p {
    margin: 0;
    padding: 13px 15px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.55;
}

.co-suporte-msg-equipe p {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.co-suporte-msg-cliente p {
    color: #ffffff;
    background: linear-gradient(135deg, #7d0b0b 0%, #b31313 100%);
    border: 1px solid rgba(255, 0, 0, 0.45);
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.12);
}

.co-suporte-msg-cliente p::after {
    content: " ✓✓";
    color: #ffb0b0;
    font-weight: 700;
}

.co-suporte-chat-form {
    min-height: 84px;
    padding: 16px;
    display: grid;
    grid-template-columns: 42px 1fr 58px;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.co-suporte-chat-form input {
    width: 100%;
    height: 56px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    outline: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.045);
    font-size: 15px;
}

.co-suporte-chat-form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.co-suporte-anexo,
.co-suporte-enviar {
    height: 56px;
    border: 0;
    cursor: pointer;
    color: #ffffff;
}

.co-suporte-anexo {
    background: transparent;
    font-size: 24px;
}

.co-suporte-enviar {
    border-radius: 13px;
    background: linear-gradient(135deg, #ff1616 0%, #850606 100%);
    font-size: 24px;
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.35);
}

/* =========================================================
   LATERAL
========================================================= */

.co-suporte-lateral {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.co-suporte-box,
.co-suporte-whatsapp {
    border: 1px solid rgba(255, 0, 0, 0.38);
    border-radius: 18px;
    background:
        radial-gradient(circle at top left, rgba(255, 0, 0, 0.08), transparent 34%),
        linear-gradient(180deg, #060606 0%, #020202 100%);
    box-shadow: 0 0 28px rgba(255, 0, 0, 0.10);
}

.co-suporte-box {
    padding: 18px;
}

.co-suporte-box h3,
.co-suporte-whatsapp h3 {
    margin: 0;
    color: #ffffff;
    font-size: 19px;
}

.co-suporte-status-lista {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.co-suporte-status-item {
    min-height: 48px;
    padding: 12px;
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.co-suporte-status-item span {
    color: #ff2b2b;
    font-size: 19px;
}

.co-suporte-status-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.co-suporte-status-item strong {
    color: #ff2020;
    font-size: 13px;
    white-space: nowrap;
}

.co-suporte-status-item strong.verde {
    color: #23e94f;
}

.co-suporte-acoes-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.co-suporte-acao {
    min-height: 88px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border-radius: 13px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: 0.22s ease;
}

.co-suporte-acao:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 0, 0, 0.45);
    background: rgba(255, 0, 0, 0.08);
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.14);
}

.co-suporte-acao span {
    width: 42px;
    min-width: 42px;
    color: #ff2626;
    font-size: 33px;
    filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.55));
}

.co-suporte-acao strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 14px;
}

.co-suporte-acao small {
    display: block;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    line-height: 1.35;
}

.co-suporte-whatsapp {
    padding: 18px;
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 13px;
}

.co-suporte-whatsapp span {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #25d366;
    font-size: 28px;
    border: 1px solid rgba(37, 211, 102, 0.5);
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.2);
}

.co-suporte-whatsapp h3 small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 400;
}

.co-suporte-whatsapp p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

.co-suporte-whatsapp a {
    padding: 11px 15px;
    border-radius: 10px;
    color: #ff2727;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(255, 0, 0, 0.4);
    transition: 0.2s ease;
}

.co-suporte-whatsapp a:hover {
    background: rgba(255, 0, 0, 0.10);
}

.co-suporte-box-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.co-suporte-box-topo a {
    color: #ff2626;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.co-suporte-historico {
    margin-top: 14px;
}

.co-suporte-historico-item {
    min-height: 62px;
    display: grid;
    grid-template-columns: 30px 1fr auto auto;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.co-suporte-historico-item:last-child {
    border-bottom: 0;
}

.co-suporte-historico-item > span {
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
}

.co-suporte-historico-item > span.ok {
    color: #21f455;
    border: 1px solid #21f455;
}

.co-suporte-historico-item > span.andamento {
    color: #ffd21c;
    border: 1px solid #ffd21c;
}

.co-suporte-historico-item strong {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
}

.co-suporte-historico-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
}

.co-suporte-historico-item small {
    padding: 7px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
    white-space: nowrap;
}

.co-suporte-historico-item small.status-andamento {
    color: #ffd21c;
    background: rgba(255, 210, 28, 0.12);
}

.co-suporte-historico-item em {
    color: rgba(255, 255, 255, 0.52);
    font-style: normal;
    font-size: 12px;
    white-space: nowrap;
}

.co-suporte-footer {
    margin-top: 22px;
    padding: 18px 0 4px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    text-align: center;
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1280px) {
    .co-suporte-layout {
        grid-template-columns: 1fr;
    }

    .co-suporte-lateral {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .co-suporte-whatsapp {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .co-suporte-page {
        padding-bottom: 20px;
    }

    .co-suporte-layout {
        display: block;
    }

    .co-suporte-hero {
        min-height: auto;
        padding: 22px;
        border-radius: 16px;
        align-items: flex-start;
    }

    .co-suporte-hero h1 {
        font-size: 28px;
    }

    .co-suporte-hero p {
        font-size: 13px;
    }

    .co-suporte-hero-icone {
        display: none;
    }

    .co-suporte-chat-card {
        border-radius: 16px;
    }

    .co-suporte-chat-header {
        padding: 16px;
    }

    .co-suporte-chat-titulo h2 {
        font-size: 18px;
    }

    .co-suporte-chat-mensagens {
        height: 470px;
        padding: 16px;
    }

    .co-suporte-msg {
        gap: 9px;
        margin-bottom: 18px;
    }

    .co-suporte-msg-avatar {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 16px;
    }

    .co-suporte-msg-conteudo {
        max-width: 82%;
    }

    .co-suporte-msg p {
        padding: 11px 12px;
        font-size: 13px;
    }

    .co-suporte-chat-form {
        min-height: 76px;
        padding: 12px;
        grid-template-columns: 36px 1fr 50px;
        gap: 8px;
    }

    .co-suporte-chat-form input,
    .co-suporte-anexo,
    .co-suporte-enviar {
        height: 50px;
    }

    .co-suporte-lateral {
        margin-top: 18px;
        display: flex;
        flex-direction: column;
    }

    .co-suporte-acoes-grid {
        grid-template-columns: 1fr;
    }

    .co-suporte-whatsapp {
        grid-template-columns: 44px 1fr;
    }

    .co-suporte-whatsapp a {
        grid-column: 1 / -1;
        text-align: center;
    }

    .co-suporte-historico-item {
        grid-template-columns: 28px 1fr;
        gap: 8px;
        padding: 12px 0;
    }

    .co-suporte-historico-item small,
    .co-suporte-historico-item em {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 420px) {
    .co-suporte-hero h1 {
        font-size: 25px;
    }

    .co-suporte-tag {
        font-size: 10px;
    }

    .co-suporte-msg-conteudo {
        max-width: 86%;
    }

    .co-suporte-chat-avatar {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .co-suporte-box,
    .co-suporte-whatsapp {
        padding: 15px;
    }
}