.container-vagas:empty {
    display: none !important;
}

.container-vagas.vazio {
    display: none !important;
}

.vagas-modal-wrapper {
    display: inline-block;
}

.btn-abrir-modal {
    background-color: #F1CB2F;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-abrir-modal:hover {
    background-color: rgba(241, 203, 47, 0.8);
}

.vagas-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.vagas-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vagas-modal-content {
    background: white;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vagas-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #0097D8AB;
    border-radius: 8px 8px 0 0;
}

.vagas-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    padding-right: 15px;
}

.vagas-modal-close {
    background: none;
    border: none;
    font-size: 35px;
    cursor: pointer;
    color: #F1CB2F;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.vagas-modal-close:hover {
    background-color: transparent !important;
}

.vagas-modal-body {
    padding: 25px;
}

.vagas-modal .vagas-form {
    max-width: none;
}

.vagas-modal .wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.vagas-modal .wpcf7-form input[type="text"],
.vagas-modal .wpcf7-form input[type="tel"],
.vagas-modal .wpcf7-form input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.vagas-modal .wpcf7-form input[type="text"]:focus,
.vagas-modal .wpcf7-form input[type="tel"]:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.vagas-modal .wpcf7-form input[type="submit"] {
    background-color: #F1CB2F;
    color: white;
    padding: 14px 30px;
    text-transform: capitalize;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.vagas-modal .wpcf7-form input[type="submit"]:hover {
    background-color: #F1CB2F;
}

@media (max-width: 768px) {
    .vagas-modal-overlay {
        padding: 10px;
    }

    .vagas-modal-content {
        max-height: 95vh;
    }

    .vagas-modal-header {
        padding: 15px 20px;
    }

    .vagas-modal-header h3 {
        font-size: 18px;
    }

    .vagas-modal-body {
        padding: 20px;
    }
}