/* ============================================================
   TICKETHUB — TELA DE LOGIN / ORÇAMENTO (UI MODERNA)
============================================================ */

/* Fundo geral da página */
body.tickethub-page {
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

/* Wrapper centralizado */
body.tickethub-page .tickethub-login-wrapper {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

/* Card principal */
body.tickethub-page .tickethub-login-card {
    width: 100%;
    max-width: 420px;

    background: #ffffff;
    border-radius: 18px;
    padding: 36px 32px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08),
        0 2px 6px rgba(0,0,0,0.04);

    animation: tickethubFadeUp 0.4s ease;
}

/* Animação leve */
@keyframes tickethubFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Título */
body.tickethub-page .tickethub-login-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
}

/* Texto auxiliar */
body.tickethub-page .tickethub-login-subtitle,
body.tickethub-page .tickethub-login-card p {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

/* Labels */
body.tickethub-page .tickethub-login-form label {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
    display: block;
}

/* Inputs */
body.tickethub-page .tickethub-login-form input {
    width: 100%;
    height: 46px;
    padding: 0 14px;

    background: #f9fafb;
    color: #111827;

    border-radius: 10px;
    border: 1px solid #d1d5db;

    font-size: 14px;
    font-weight: 500;

    margin-bottom: 18px;

    transition: all 0.2s ease;
}

body.tickethub-page .tickethub-login-form input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

/* Botão principal */
body.tickethub-page .tickethub-login-form button {
    width: 100%;
    height: 48px;

    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    color: #ffffff;

    font-size: 15px;
    font-weight: 800;

    border: none;
    border-radius: 12px;

    cursor: pointer;
    transition: all 0.2s ease;
}

body.tickethub-page .tickethub-login-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14,165,233,0.35);
}

/* Texto "não possui acesso" */
body.tickethub-page .tickethub-login-card strong {
    display: block;
    margin-top: 18px;
    font-size: 14px;
    text-align: center;
}

/* CTA Solicitar orçamento */
body.tickethub-page .tickethub-btn-orcamento {
    display: block;
    width: 100%;
    margin-top: 16px;

    padding: 14px 16px;

    background: #f3f4f6;
    color: #111827;

    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;

    border-radius: 12px;
    border: 1px solid #e5e7eb;

    transition: all 0.2s ease;
}

body.tickethub-page .tickethub-btn-orcamento:hover {
    background: #e5e7eb;
}

/* Contatos */
body.tickethub-page .tickethub-login-card small,
body.tickethub-page .tickethub-login-card .contato {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #374151;
}

/* Mobile */
@media (max-width: 480px) {
    body.tickethub-page .tickethub-login-card {
        padding: 28px 20px;
    }
}

body.tickethub-page .tickethub-login-wrapper {
    min-height: calc(100vh - 64px);
    align-items: center;
}





.tickethub-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.tickethub-popup {
    background: #BABABA;
    padding: 28px 24px;
    border-radius: 14px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.tickethub-popup h3 {
    margin-bottom: 12px;
    color: #0f172a;
}

.tickethub-popup p {
    font-size: 14px;
    color: #334155;
    margin-bottom: 20px;
}

.tickethub-popup button {
    background: #00bcd4;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 480px) {
    body.tickethub-popup{
        padding: 28px 20px;
    }
}

/* ===============================
   TABELA
=============================== */
.th-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.th-table th {
    background: #f1f5f9;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.th-table td {
    padding: 12px;
    border-top: 1px solid #e5e7eb;
}

/* ===============================
   STATUS
=============================== */
.th-status {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.th-status-rascunho {
    background: #fde68a;
    color: #92400e;
}

.th-status-publicado {
    background: #bbf7d0;
    color: #065f46;
}

/* ===============================
   BOTÕES
=============================== */
.th-btn {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 6px;
}

.th-btn-edit {
    background: #e0f2fe;
    color: #0369a1;
}

.th-btn-publish {
    background: #dcfce7;
    color: #166534;
}

.th-btn-delete {
    background: #fee2e2;
    color: #991b1b;
}

.th-btn:hover {
    opacity: 0.85;
}

/* ===============================
   HEADER
=============================== */
.th-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

