html,
body {
    margin: 0;
    padding: 0;
    background: #f3f6fb;
    color: #1f2937;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 14px;
}

a {
    color: #0d6efd;
}

.layout-shell {
    width: 1040px;
    margin: 24px auto;
    border-collapse: separate;
    border-spacing: 0;
}

.layout-header {
    width: 100%;
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.layout-header td {
    padding: 20px;
    vertical-align: middle;
}

.layout-logo {
    width: 190px;
}

.layout-logo img {
    width: 170px;
    height: auto;
    border-radius: 8px;
}

.layout-title .eyebrow {
    color: #0d6efd;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.layout-title h1 {
    margin: 4px 0;
    color: #102a43;
    font-size: 30px;
    font-weight: 700;
}

.layout-title p {
    margin: 0;
    color: #64748b;
}

.layout-contact {
    width: 220px;
    color: #64748b;
    text-align: right;
}

.layout-contact strong {
    color: #1f2937;
}

.layout-content {
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    padding: 24px;
}

.layout-footer {
    padding: 18px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.layout-content table {
    max-width: 100%;
}

.layout-content img[src*="separador.jpg"] {
    display: none;
}

.layout-content table[style*="border: 1px dashed"],
.layout-content table[style*="border:1px dashed"] {
    background: #f8fafc;
    border: 1px solid #dbe3ef !important;
    border-radius: 12px;
}

.layout-content td[bgcolor="Black"] {
    background: #102a43 !important;
    border-radius: 10px;
    color: #ffffff !important;
    padding: 10px !important;
}

.layout-content td[bgcolor="Black"] a,
.layout-content td[bgcolor="Black"] span {
    color: #ffffff !important;
    text-decoration: none !important;
}

input[type="text"],
input[type="password"],
textarea,
select {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 7px 9px;
    background: #ffffff;
    color: #1f2937;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 14px;
}

input[type="submit"],
input[type="button"],
button {
    border: 0;
    border-radius: 8px;
    background: #0d6efd;
    color: #ffffff;
    padding: 8px 14px;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
    background: #0b5ed7;
}

input[type="image"] {
    max-width: 150px;
    height: auto;
    border-radius: 12px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #dbe3ef;
}

textarea {
    min-height: 90px;
}

/* Tabela de solicitações de suporte */
.support-table,
#ctl00_ContentPlaceHolder1_TbChamada,
table[id$="TbChamada"] {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.support-table td,
#ctl00_ContentPlaceHolder1_TbChamada td,
table[id$="TbChamada"] td {
    padding: 12px 10px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.support-table td:first-child,
#ctl00_ContentPlaceHolder1_TbChamada td:first-child,
table[id$="TbChamada"] td:first-child {
    border-left: 1px solid #e2e8f0;
    border-radius: 12px 0 0 12px;
}

.support-table td:last-child,
#ctl00_ContentPlaceHolder1_TbChamada td:last-child,
table[id$="TbChamada"] td:last-child {
    border-right: 1px solid #e2e8f0;
    border-radius: 0 12px 12px 0;
}

.support-table-header td,
#ctl00_ContentPlaceHolder1_TbChamada tr:first-child td,
table[id$="TbChamada"] tr:first-child td {
    background: #102a43;
    border-color: #102a43;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.support-description a {
    color: #0d6efd !important;
    font-weight: 600;
    text-decoration: none;
}

.support-description a:hover {
    text-decoration: underline;
}

.support-code {
    color: #475569;
    font-weight: bold;
}

.support-status {
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.support-status:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: #94a3b8;
}

.status-open td {
    background: #f8fafc;
}

.status-progress td {
    background: #eff6ff;
}

.status-progress .support-status:before {
    background: #0d6efd;
}

.status-problem td {
    background: #fff1f2;
    border-color: #fecdd3;
}

.status-problem .support-status:before {
    background: #dc3545;
}

.status-done td {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.status-done .support-status:before {
    background: #198754;
}

.status-canceled td {
    background: #fff7ed;
    border-color: #fed7aa;
}

.status-canceled .support-status:before {
    background: #f97316;
}

.status-client td {
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.status-client .support-status:before {
    background: #7c3aed;
}

@media screen and (max-width: 1080px) {
    .layout-shell {
        width: 96%;
    }

    .layout-header td {
        display: block;
        width: auto;
        text-align: left;
    }

    .layout-contact {
        text-align: left;
    }
}
