* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 20px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav a {
    color: #004a80;
    font-weight: 600;
    font-size: 13px;
    padding: 5px 8px;
}

.nav a:hover {
    text-decoration: underline;
}

.nav .separator {
    color: #004a80;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #004a80;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: #fff;
    padding: 10px 20px;
    border-top: 1px solid #ddd;
}

.mobile-nav a {
    color: #004a80;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.mobile-nav.active {
    display: flex;
}

/* Main Content */
.main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.content-box {
    background-color: #fff;
    border: 3px solid #d4a574;
    padding: 20px;
}

.title {
    color: #004a80;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4a574;
}

.button-container {
    text-align: center;
    margin: 20px 0;
}

.btn-inscricao {
    display: inline-block;
    background: linear-gradient(to bottom, #cc0000, #990000);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 30px;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.btn-inscricao:hover {
    background: linear-gradient(to bottom, #990000, #660000);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.periodo {
    color: #333;
    margin-bottom: 20px;
}

/* Jobs Table */
.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.jobs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.jobs-table th {
    background-color: #f2f2f2;
    color: #333;
    font-weight: 600;
    text-align: left;
    padding: 8px 10px;
    border: 1px solid #ddd;
    white-space: nowrap;
}

.jobs-table td {
    padding: 8px 10px;
    border: 1px solid #ddd;
    vertical-align: top;
}

.jobs-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.cargo-cell {
    min-width: 250px;
}

.cargo-cell strong {
    display: block;
    color: #333;
    font-size: 12px;
    margin-bottom: 3px;
}

.cargo-cell .details {
    color: #666;
    font-size: 10px;
    line-height: 1.3;
}

/* Local Section */
.local-section {
    margin-bottom: 20px;
}

.local-title {
    color: #333;
    font-size: 13px;
    margin-bottom: 10px;
}

.local-table {
    border-collapse: collapse;
    font-size: 12px;
}

.local-table th,
.local-table td {
    border: 1px solid #ddd;
    padding: 8px 15px;
    text-align: left;
}

.local-table th {
    background-color: #f2f2f2;
    font-weight: 600;
}

/* Documents Section */
.documents-section {
    margin-bottom: 20px;
}

.documents-title {
    color: #333;
    font-size: 13px;
    margin-bottom: 10px;
}

.documents-box {
    border: 1px solid #ddd;
    background-color: #fff;
}

.documents-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.documents-table th {
    background-color: #f2f2f2;
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
}

.documents-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.checkbox-cell {
    width: 30px;
    text-align: center;
}

.pdf-icon {
    width: 16px;
    height: 16px;
    color: #cc0000;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.doc-link {
    color: #004a80;
    font-weight: 600;
}

.doc-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #002b49;
    color: #fff;
    padding: 15px 20px;
    margin-top: 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-location {
    font-size: 12px;
}

.footer-center {
    display: flex;
    align-items: center;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-icon {
    width: 30px;
    height: 30px;
    background-color: #cc0000;
    border-radius: 50%;
    padding: 5px;
}

.phone-info {
    display: flex;
    flex-direction: column;
}

.phone-number {
    font-weight: 700;
    font-size: 14px;
}

.phone-hours {
    font-size: 11px;
    opacity: 0.9;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.footer-right a:hover {
    text-decoration: underline;
}

.footer-right .separator {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .content-box {
        padding: 15px;
    }

    .title {
        font-size: 14px;
    }

    .jobs-table {
        font-size: 11px;
    }

    .jobs-table th,
    .jobs-table td {
        padding: 6px 8px;
    }

    .cargo-cell {
        min-width: 200px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        justify-content: center;
    }

    .footer-right {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-height: 45px;
    }

    .btn-inscricao {
        padding: 10px 20px;
        font-size: 12px;
    }

    .jobs-table {
        font-size: 10px;
    }

    .cargo-cell {
        min-width: 150px;
    }

    .cargo-cell strong {
        font-size: 10px;
    }

    .cargo-cell .details {
        font-size: 9px;
    }
}
