/* ========== ESTILOS REFATORADOS PARA O SINE ========== */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --primary-light: #e3f2fd;
    --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    --success-color: #28a745;
    --success-dark: #1e7e34;
    --success-gradient: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --gray-light: #e9ecef;
    --gray-medium: #6c757d;
    --gray-dark: #495057;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 6px 20px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 10px 30px rgba(0, 0, 0, 0.15);
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 16px;
    --radius-xl: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --modal-backdrop: rgba(0, 0, 0, 0.5);
}

/* ========== ESTILOS MODERNOS PARA MODAIS ========== */

/* Backdrop melhorado */
.modal-backdrop.show {
    opacity: 0.5;
    backdrop-filter: blur(2px);
}

.modal-login .form-control-lg::placeholder {
    font-size: 1rem !important;
    color: var(--gray-medium) !important;
    opacity: 0.8 !important;
    font-weight: 400 !important;
}

/* Ajuste quando o campo está em foco */
.modal-login .form-control-lg:focus::placeholder {
    opacity: 0.5 !important;
}

/* Modal Login - Design Moderno */
.modal-login .modal-content {
    border-radius: var(--radius-xl);
    border: none;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-login .modal-header {
    background: var(--primary-gradient);
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.modal-login .modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
}

.modal-login .modal-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-login .modal-title {
    font-weight: 600;
    letter-spacing: -0.3px;
}

.modal-login .modal-body {
    padding: 2rem;
}

.modal-login .form-control-lg {
    border-radius: 12px;
    border: 2px solid var(--gray-light);
    padding: 0.75rem 1rem;
    transition: all var(--transition-normal);
}

.modal-login .form-control-lg:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.modal-login .input-group-text {
    border-radius: 12px 0 0 12px;
    border: 2px solid var(--gray-light);
    border-right: none;
    background: var(--light-color);
}

.modal-login .btn-gradient {
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    padding: 0.875rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.modal-login .btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

/* Modal Vaga - Design Avançado */
.modal-vaga .modal-content {
    border-radius: var(--radius-xl);
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    min-height: 80vh;
}

.modal-vaga .modal-header {
    background: var(--primary-gradient);
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.modal-vaga .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}

.modal-vaga .modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-vaga .modal-icon i {
    font-size: 1.5rem;
}

.modal-vaga #modalSubtitle {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Progress Steps */
.modal-progress {
    background: var(--light-color);
    padding: 1.5rem 2rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.modal-progress .progress {
    height: 6px;
    border-radius: 3px;
    background: var(--gray-light);
    overflow: hidden;
    margin-bottom: 2rem;
}

.modal-progress .progress-bar {
    background: var(--primary-gradient);
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: -10px;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gray-light);
    z-index: 1;
}

.progress-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 25%;
}

.progress-steps .step i {
    width: 40px;
    height: 40px;
    background: var(--white-color);
    border: 2px solid var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: var(--gray-medium);
    transition: all var(--transition-normal);
}

.progress-steps .step span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-medium);
    transition: all var(--transition-normal);
}

.progress-steps .step.active i {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.progress-steps .step.active span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Seções do Formulário */
.form-section {
    animation: fadeIn 0.4s ease;
    min-height: 400px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    color: var(--dark-color);
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-light);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

/* Campos do Formulário */
.form-floating {
    position: relative;
}

.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
    border-radius: var(--radius-medium);
    border: 2px solid var(--gray-light);
    transition: all var(--transition-normal);
}

.form-floating > .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.form-floating > label {
    padding: 1rem 0.75rem;
    color: var(--gray-medium);
    font-weight: 500;
}

/* Textarea com ações */
.textarea-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

/* Contatos no Modal */
.contato-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: var(--radius-medium);
    margin-bottom: 1rem;
    border: 1px solid var(--gray-light);
    transition: all var(--transition-normal);
}

.contato-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.contato-placeholder {
    background: linear-gradient(135deg, #fafbfc 0%, #f1f3f5 100%);
    border: 2px dashed var(--gray-light);
    border-radius: var(--radius-medium);
    transition: all var(--transition-normal);
}

.contato-placeholder:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

/* Footer do Modal */
.modal-vaga .modal-footer {
    background: var(--light-color);
    border-top: 1px solid var(--gray-light);
}

.section-navigation .btn {
    border-radius: 12px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
}

/* Botões de Ação */
.btn-success {
    background: var(--success-gradient);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-danger {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Empty State */
.empty-state {
    padding: 3rem 1rem;
}

.empty-state i {
    opacity: 0.5;
}

/* Responsividade dos Modais */
@media (max-width: 768px) {
    .modal-login .modal-dialog,
    .modal-vaga .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .modal-login .modal-content,
    .modal-vaga .modal-content {
        border-radius: var(--radius-large);
    }
    
    .modal-vaga .modal-header,
    .modal-login .modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .modal-vaga .modal-body,
    .modal-login .modal-body {
        padding: 1.5rem;
    }
    
    .progress-steps .step span {
        font-size: 0.7rem;
    }
    
    .modal-vaga .modal-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-vaga .modal-footer .d-flex {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .section-navigation {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .modal-vaga .modal-footer .d-flex > div:first-child {
        order: 2;
    }
    
    .modal-vaga .modal-footer .d-flex > div:last-child {
        order: 1;
    }
}

/* Animações Suaves */
.form-control, .form-select, .btn {
    transition: all var(--transition-normal);
}

.form-control:focus, .form-select:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Botões com Gradiente */
.btn-gradient {
    background: var(--primary-gradient);
    border: none;
    color: white;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

/* ========== CARDS DE VAGAS MELHORADOS ========== */
.grid-vagas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.vaga-card {
    background: var(--white-color);
    border-radius: var(--radius-large);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-light);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 40rem;
}

.vaga-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-color);
}

/* ========== FILTROS RESPONSIVOS ========== */
.filtros-container {
    background: white;
    border-radius: var(--radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--gray-light);
    width: 100%;
}

.filtros-header {
    margin-bottom: 1.5rem;
}

.filtros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* ========== HEADER RESPONSIVO ========== */
.header-row {
    flex-wrap: nowrap;
    margin-bottom: 2rem !important;
}

/* ========== MENSAGENS DE ALERTA FIXAS ========== */
.alert-fixed {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    max-width: 350px !important;
    margin: 0 !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
    border-radius: var(--radius-large) !important;
    border: none !important;
    animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards !important;
    opacity: 0;
    transform: translateX(100%);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-left: 4px solid;
}

.alert-success {
    border-left-color: var(--success-color) !important;
}

.alert-danger {
    border-left-color: var(--danger-color) !important;
}

.alert-warning {
    border-left-color: var(--warning-color) !important;
}

.alert-info {
    border-left-color: var(--info-color) !important;
}

/* ========== RESPONSIVIDADE GERAL ========== */
@media (max-width: 1200px) {
    .grid-vagas {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .filtros-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .grid-vagas {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.25rem;
    }
    
    .filtros-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vaga-card {
        min-height: 38rem;
    }
}

@media (max-width: 768px) {
    .grid-vagas {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 5px;
    }
    
    .filtros-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vaga-card {
        min-height: auto;
        margin-bottom: 1rem;
    }
    
    .header-row {
        flex-wrap: wrap;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .modal-login .modal-dialog,
    .modal-vaga .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-login .modal-content,
    .modal-vaga .modal-content {
        border-radius: var(--radius-medium);
    }
    
    .progress-steps .step i {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .progress-steps .step span {
        font-size: 0.65rem;
    }
}

/* ========== ANIMAÇÕES E EFEITOS ========== */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: var(--shadow-light);
    }
    50% {
        transform: scale(1.02);
        box-shadow: var(--shadow-medium);
    }
    100% {
        transform: scale(1);
        box-shadow: var(--shadow-light);
    }
}

.vaga-card.new {
    animation: pulse 2s ease infinite;
}

/* ========== UTILITÁRIOS ========== */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Loading Spinner */
.spinner-grow {
    animation: spinner-grow 1.2s linear infinite;
}

@keyframes spinner-grow {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* Melhorias para touch devices */
@media (hover: none) and (pointer: coarse) {
    .vaga-card:hover {
        transform: none;
    }
    
    .vaga-card:active {
        transform: scale(0.98);
        animation: pulse 0.2s ease;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
}

/* Scrollbar personalizada */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========== RESET E BASE ========== */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 80px;
}

.main-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-container .container {
    padding: 0 15px;
}

/* ========== CARDS DE VAGAS MELHORADOS ========== */
.grid-vagas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Responsividade dos cards */
@media (max-width: 1200px) {
    .grid-vagas {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 992px) {
    .grid-vagas {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .grid-vagas {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 0.875rem;
    }
}

@media (max-width: 576px) {
    .grid-vagas {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 5px;
    }
}

.section-title1 {
    font-size: 1.8rem;
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
}

/* Ajuste do título para mobile */
@media (max-width: 768px) {
    .section-title1 {
        font-size: 1.5rem;
        margin-top: 0.5rem !important;
    }
}

@media (max-width: 576px) {
    .section-title1 {
        font-size: 1.3rem;
    }
}

.vaga-card {
    background: var(--white-color);
    border-radius: var(--radius-large);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-light);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 38rem;
    width: 100%;
}

/* Ajuste de altura para mobile */
@media (max-width: 768px) {
    .vaga-card {
        min-height: auto;
        margin-bottom: 0.5rem;
    }
}

.vaga-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-color);
}

.vaga-card.encerrada {
    opacity: 0.85;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.vaga-card.encerrada::before {
    content: 'ENCERRADA';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gray-medium);
    color: white;
    padding: 5px 40px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    transform: rotate(45deg);
    z-index: 10;
}

/* Corpo do Card */
.vaga-card .card-body {
    padding: 1.75rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Título da Vaga */
.vaga-card .card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    --webkit-line-clamp: 2;
    --webkit-box-orient: vertical;
    overflow: hidden;
}

/* Badge de categoria */
.vaga-card .categoria-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light) 0%, #d1e7ff 100%);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(13, 110, 253, 0.2);
    transition: all var(--transition-fast);
}

/* Descrição */
.vaga-card .card-text {
    font-size: 0.9rem;
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    --webkit-line-clamp: 3;
    --webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

/* Informações da vaga */
.vaga-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    background: var(--light-color);
    padding: 1rem;
    border-radius: var(--radius-small);
    border: 1px solid var(--gray-light);
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .vaga-info-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.75rem;
    }
}

/* Contatos */
.contatos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.badge-contato {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 0.25rem;
}

/* Ajuste de contatos para mobile */
@media (max-width: 576px) {
    .contatos-container {
        flex-direction: column;
    }
    
    .badge-contato {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ========== BOTÕES MELHORADOS ========== */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border-radius: 50px;
    padding: 0.625rem 1.5rem;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    min-height: 44px;
}

/* Botão primário */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Botões pequenos */
.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    border-radius: 40px;
    min-height: 36px;
}

/* Botões nos cards */
.vaga-card .btn {
    margin-top: auto;
    border-radius: 40px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.75rem 1.5rem;
}

/* Ajuste de botões nos cards para mobile */
@media (max-width: 576px) {
    .vaga-card .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .vaga-card .d-flex.justify-content-between {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .vaga-card .btn {
        width: 100%;
    }
}

/* Botão refresh */
.btn-refresh {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border: none;
    color: white;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(23, 162, 184, 0.2);
    min-width: 3.5rem;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .btn-refresh {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        padding: 0 !important;
    }
    
    .btn-refresh i {
        font-size: 0.9rem;
    }
}

/* Botão login/logout */
#btnLoginHeader, #btnLoginHeaderMobile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 44px !important;
    line-height: 1 !important;
}

#btnLoginHeader i, #btnLoginHeaderMobile i {
    flex-shrink: 0 !important;
    margin-right: 0.5rem !important;
    font-size: 1rem !important;
    line-height: 1 !important;
}

/* Para telas muito pequenas, mostrar apenas o ícone */
@media (max-width: 576px) {
    #btnLoginHeader span, 
    #btnLoginHeaderMobile span {
        display: none !important;
    }

    .mobile-dropdown #btnLoginHeaderMobile span {
        display: inline !important;
    }
    
    /* Manter a regra apenas para o botão do header desktop */
    #btnLoginHeader span {
        display: none !important;
    }
    
    #btnLoginHeader, 
    #btnLoginHeaderMobile {
        padding: 0.5rem !important;
        justify-content: flex-start !important; /* Altera isso */
        text-align: left !important; /* Adiciona isso */
        width: 100% !important; /* Adiciona isso para ocupar toda largura */
    }
    
    .login-text {
        margin-left: 0.5rem;
    }

    #btnLoginHeaderMobile i{
        margin-left: 0.5rem;
    }
    
    /* Ajuste específico para o dropdown item */
    .mobile-dropdown .dropdown-item {
        justify-content: flex-start !important;
        text-align: left !important;
        padding-left: 1rem !important;
    }
}
/* ========== CONTAINER DOS FILTROS ========== */
.filtros-container {
    background: white;
    border-radius: var(--radius-large);
    padding: 1.8rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--gray-light);
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Header dos filtros */
.filtros-header {
    margin-bottom: 1.5rem;
}

.filtros-header .d-flex {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

/* Contador de vagas no header */
.contador-filtros {
    background: linear-gradient(135deg, var(--success-color) 0%, var(--success-dark) 100%);
    color: white;
    padding: 0.7rem 0.5rem;
    border-radius: var(--radius-medium);
    text-align: center;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
    min-width: 140px;
    flex-shrink: 0;
}

.contador-filtros h2 {
    font-weight: 800;
    font-size: 2rem;
    margin: 0;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contador-filtros small {
    font-size: 0.85rem;
    opacity: 0.95;
    display: block;
    margin-top: 3px;
    letter-spacing: 0.5px;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .contador-filtros {
        min-width: 2rem;
        padding: 0.5rem;
    }
    
    .contador-filtros h2 {
        font-size: 1.5rem;
    }
}

/* ========== GRID DE FILTROS ========== */
.filtros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    flex: 1;
}

/* Item individual do filtro */
.filtro-item {
    display: flex;
    flex-direction: column;
}

.filtro-item.botoes{
    margin-top: 1.8rem;
}

.filtro-item label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Responsividade dos filtros */
@media (max-width: 1200px) {
    .filtros-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .filtros-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filtro-item.botoes {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .filtros-grid {
        grid-template-columns: 1fr;
    }
    
    .filtro-item.botoes {
        grid-column: span 1;
    }
}

/* ========== BOTÃO TOGGLE PARA FILTROS ========== */
/* O botão deve aparecer APENAS em mobile */
.filtros-toggle {
    display: none !important; /* Escondido por padrão */
}

/* Mostrar apenas em telas menores que 992px (tablet e mobile) */
@media (max-width: 991px) {
    .filtros-toggle {
        display: flex !important;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        border: none;
        color: white;
        padding: 0.75rem 1.25rem;
        border-radius: 50px;
        font-weight: 500;
        align-items: center;
        gap: 8px;
        margin-top: 0;
        width: 100%;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
        transition: all var(--transition-normal);
        order: 3;
        flex: 0 0 100%;
    }
    
    .filtros-toggle:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
    }
    
    .filtros-toggle.active {
        background: linear-gradient(135deg, var(--primary-dark) 0%, #0947ab 100%);
    }
    
    /* Em mobile, o grid de filtros começa escondido */
    .filtros-grid {
        display: none !important;
        animation: slideDown 0.3s ease;
        margin-top: 1rem;
    }
    
    .filtros-grid.show {
        display: grid !important;
    }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 576px) {
    .filtros-toggle {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Animação para mostrar/ocultar filtros */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 1000px;
    }
}

/* ========== CONTADOR DE VAGAS (INFORMATIVO SINE) ========== */
.contador-vagas {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    height: 100%;
}

/* Ajuste para mobile */
@media (max-width: 992px) {
    .contador-vagas {
        margin-top: 1rem;
        min-height: auto;
        font-size: 0.75rem;
    }
}

/* ========== HEADER RESPONSIVO ========== */
.header-row {
    flex-wrap: nowrap;
    margin-bottom: 1.5rem !important;
}

/* Ajustes para mobile */
@media (max-width: 768px) {
    .header-row {
        flex-wrap: wrap;
        margin-bottom: 1rem !important;
    }
    
    .header-row > div {
        margin-bottom: 0.5rem;
    }
    
    .header-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
}

/* Botões desktop (visíveis apenas em md+) */
.desktop-buttons {
    display: none;
}

@media (min-width: 768px) {
    .desktop-buttons {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Dropdown mobile (visível apenas abaixo de md) */
.mobile-dropdown {
    display: block;
}

@media (min-width: 768px) {
    .mobile-dropdown {
        display: none;
    }
}

/* Estilo do dropdown mobile */
.mobile-dropdown .dropdown-menu {
    border-radius: 16px;
    border: none;
    min-width: 220px;
    padding: 0.75rem 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mobile-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
}

.mobile-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
}

/* ========== MODAIS RESPONSIVOS ========== */
.modal-vaga .modal-dialog {
    max-width: 900px;
}

@media (max-width: 992px) {
    .modal-vaga .modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
    }
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Campos do formulário */
.campo-group {
    margin-bottom: 1.25rem;
}

.campo-group .d-flex {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

/* Responsividade dos campos */
@media (max-width: 768px) {
    .campo-group .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding-bottom: 0.75rem;
    }
    
    .campo-group .form-check {
        align-self: flex-start;
    }
}

/* Contatos no modal */
.contato-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border: 1px solid #e9ecef;
}

/* Responsividade dos contatos no modal */
@media (max-width: 768px) {
    .contato-item .row {
        flex-direction: column;
    }
    
    .contato-item .col-md-4 {
        width: 100%;
        margin-bottom: 0.75rem;
    }
}

/* ========== MENSAGENS DE ALERTA FIXAS ========== */
.alert-fixed {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    max-width: 350px !important;
    margin: 0 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    border-radius: var(--radius-medium) !important;
    border: none !important;
    animation: slideInRight 0.3s ease forwards !important;
    opacity: 0;
    transform: translateX(100%);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsividade dos alerts */
@media (max-width: 768px) {
    .alert-fixed {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
        max-width: calc(100% - 20px) !important;
        animation: slideInDown 0.3s ease forwards !important;
        transform: translateY(-100%);
    }
    
    @keyframes slideInDown {
        from {
            opacity: 0;
            transform: translateY(-100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ========== UTILITÁRIOS ========== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ajuste para Select2 em mobile */
.select2-container--bootstrap-5 .select2-selection {
    border-radius: var(--radius-small);
    border: 1px solid var(--gray-light);
    transition: border-color var(--transition-fast);
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vaga-card {
    animation: fadeIn 0.5s ease forwards;
}

/* Delay para animação em cascata */
.vaga-card:nth-child(1) { animation-delay: 0.1s; }
.vaga-card:nth-child(2) { animation-delay: 0.2s; }
.vaga-card:nth-child(3) { animation-delay: 0.3s; }
.vaga-card:nth-child(4) { animation-delay: 0.4s; }
.vaga-card:nth-child(5) { animation-delay: 0.5s; }
.vaga-card:nth-child(n+6) { animation-delay: 0.6s; }

/* Loading spinner */
.btn .fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Ajustes para touch devices */
@media (hover: none) and (pointer: coarse) {
    .vaga-card:hover {
        transform: none;
    }
    
    .vaga-card:active {
        transform: scale(0.98);
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
    
    .badge-contato:hover {
        transform: none;
    }
    
    .badge-contato:active {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

/* Botão de impressão individual nas vagas */
.btn-imprimir-individual {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    padding: 4px 8px !important;
    font-size: 0.8rem !important;
    border-radius: 20px !important;

    .indiprint{
        margin-left: 15%;
    }
}

.btn-imprimir-individual:hover {
    opacity: 1;
}

.vaga-card:hover .btn-imprimir-individual {
    opacity: 1;
}

/* Badge de status nas vagas impressas */
.vaga-impressao .badge-status {
    float: right;
    margin-top: 3px;
}

/* Responsividade do botão de impressão */
@media (max-width: 768px) {
    .btn-imprimir-individual {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 10px;
        width: 100%;
        opacity: 1;
    }
}

/* ========== CONTROLES ADMINISTRATIVOS ========== */
.admin-controls {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.admin-botoes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-botoes .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    padding: 0.4rem 1rem !important;
    font-size: 0.85rem !important;
    border-radius: 50px !important;
    min-height: 36px !important;
    transition: all 0.3s ease !important;
}

.admin-botoes .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.2) !important;
}

.admin-botoes .btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 3px 10px rgba(23, 162, 184, 0.2) !important;
}

.admin-botoes .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

.admin-botoes .btn:active {
    transform: translateY(0) !important;
}

/* Para telas menores, ajustar os botões */
@media (max-width: 992px) {
    .admin-controls {
        gap: 0.4rem;
    }
    
    .admin-botoes .btn {
        padding: 0.35rem 0.8rem !important;
        font-size: 0.8rem !important;
        min-height: 32px !important;
    }
    
    .admin-botoes .btn i {
        font-size: 0.8rem !important;
    }
}

/* Para telas muito pequenas, ocultar texto e mostrar apenas ícones */
@media (max-width: 768px) {
    .admin-botoes .btn span {
        display: none !important;
    }
    
    .admin-botoes .btn i {
        margin-right: 0 !important;
        font-size: 0.9rem !important;
    }
    
    .admin-botoes .btn {
        padding: 0.4rem 0.8rem !important;
        min-width: 40px !important;
        width: 40px !important;
        justify-content: center !important;
    }
}
 /*-------------*/
 /* ========== MODAL DE DETALHES COM TABS ========== */
.details-modern-tabs {
    font-family: 'Poppins', sans-serif;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Header */
.details-header {
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
}

.details-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.details-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.details-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.details-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
}

.info-chip {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 8px 16px;
    color: white;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.info-chip:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Tabs Navigation */
.tabs-navigation {
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 0 1.5rem;
}

.tabs-navigation .nav-tabs {
    border-bottom: none;
    gap: 5px;
}

.tabs-navigation .nav-link {
    border: none;
    border-radius: 10px 10px 0 0;
    padding: 1rem 1.5rem;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.tabs-navigation .nav-link:hover {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.05);
}

.tabs-navigation .nav-link.active {
    color: #0d6efd;
    background: white;
    border-bottom: 3px solid #0d6efd;
    box-shadow: 0 -4px 12px rgba(13, 110, 253, 0.1);
}

.tabs-navigation .nav-link i {
    font-size: 1.1rem;
}

.tabs-navigation .nav-link .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* Tab Content */
.tab-content {
    background: #f8f9fa;
    min-height: 300px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.detail-content {
    flex: 1;
}

.detail-title {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #343a40;
    margin: 0;
}

/* Descrição */
.descricao-container {
    border-radius: 15px;
    padding: 1rem;
}

.descricao-header {
    border-bottom: 2px solid #f0f0f0;
}

.descricao-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #343a40;
    display: flex;
    align-items: center;
}

.descricao-subtitle {
    font-size: 0.95rem;
}

.descricao-text {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #0d6efd;
}

.descricao-paragraphs p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.5rem;
}

.descricao-paragraphs p:last-child {
    margin-bottom: 0;
}

/* Requisitos */
.requisitos-container {
    border-radius: 15px;
    padding: 1rem;
}

.requisitos-header {
    border-bottom: 2px solid #f0f0f0;
}

.requisitos-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #343a40;
    display: flex;
    align-items: center;
}

.requisitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.requisito-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.requisito-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

.requisito-number {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.requisito-content {
    margin-left: 1.5rem;
}

.requisito-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 0.5rem;
}

.requisito-text {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

/* Benefícios */
.beneficios-container {
    border-radius: 15px;
    padding: 1rem;
}

.beneficios-header {
    border-bottom: 2px solid #f0f0f0;
}

.beneficios-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #343a40;
    display: flex;
    align-items: center;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.beneficio-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.beneficio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #28a745;
}

.beneficio-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.beneficio-icon i {
    font-size: 1.5rem;
    color: #28a745;
}

.beneficio-content {
    flex: 1;
}

.beneficio-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 0.5rem;
}

.beneficio-text {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

/* Contatos */
.contatos-container2 {
    border-radius: 15px;
    padding: 1rem;
}

.contatos-header2 {
    border-bottom: 2px solid #f0f0f0;
}

.contatos-title2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #343a40;
    display: flex;
    align-items: center;
}

.contatos-grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contato-card2 {
    background: white;
    border-radius: 15px;
    padding: 0.8rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contato-card2:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contato-card-header2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.contato-type2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contato-type-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contato-type-icon.bg-email { background: linear-gradient(135deg, #dc3545 0%, #c82333 100%); }
.contato-type-icon.bg-telefone { background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%); }
.contato-type-icon.bg-whatsapp { background: linear-gradient(135deg, #25d366 0%, #1da851 100%); }
.contato-type-icon.bg-presencial { background: linear-gradient(135deg, #6c757d 0%, #545b62 100%); }

.contato-type-text2 {
    font-weight: 600;
    color: #343a40;
}

.contato-person2 {
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.contato-card-body2 {
    padding: 0.5rem 0;
}

.contato-value {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: #495057;
    display: flex;
    align-items: center;
    word-break: break-all;
}

.btn-email {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 500;
}

.btn-email:hover {
    background: linear-gradient(135deg, #c82333 0%, #b21f2d 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 500;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #1da851 0%, #189547 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-call {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 500;
}

.btn-call:hover {
    background: linear-gradient(135deg, #0a58ca 0%, #0947ab 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .details-title {
        font-size: 1.5rem;
    }
    
    .details-icon {
        width: 50px;
        height: 50px;
    }
    
    .tabs-navigation {
        padding: 0 1rem;
        overflow-x: auto;
    }
    
    .tabs-navigation .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .tabs-navigation .nav-link span:not(.badge) {
        display: none;
    }
    
    .tabs-navigation .nav-link i {
        margin-right: 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detail-card {
        padding: 1rem;
    }
    
    .detail-card-inner {
        gap: 1rem;
    }
    
    .detail-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .requisitos-grid,
    .beneficios-grid,
    .contatos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .instructions-steps {
        grid-template-columns: 1fr;
    }
    
    .details-footer .row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .details-footer .text-md-end {
        text-align: left !important;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane {
    animation: fadeIn 0.5s ease;
}

/* ========== ESTILOS PARA CONTATOS COM MÚLTIPLOS BOTÕES ========== */

.contato-actions {
    display: flex;
    flex-direction: column;
}

.btn-contact-main {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact-main:hover {
    background: linear-gradient(135deg, #0a58ca 0%, #0947ab 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    border: none;
    color: white !important;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #1da851 0%, #189547 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    border: none;
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .contato-actions .row .col-6 {
        padding: 0 3px;
    }
    
    .contato-actions .btn {
        padding: 0.5rem 0.25rem;
        font-size: 0.85rem;
    }
    
    .contato-actions .btn i {
        margin-right: 0.25rem;
    }
}

/* Indicador de inatividade */
.inactivity-indicator {
    margin-left: 10px;
    font-size: 0.875rem;
}

.inactivity-indicator .badge {
    padding: 5px 10px;
    font-weight: 500;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Para telas pequenas, ajuste o indicador */
@media (max-width: 768px) {
    .inactivity-indicator {
        position: fixed;
        bottom: 70px;
        right: 20px;
        z-index: 1000;
    }
}

/* ========== MODAL DE DETALHES SIMPLES (SEM ABAS) ========== */
.details-modern-simple {
    border-radius: 20px;
    overflow: hidden;
}

.details-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #0d6efd;
}

.info-card i {
    font-size: 1.8rem;
    color: #0d6efd;
    width: 40px;
    text-align: center;
}

.info-card strong {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.5px;
}

.info-card div div:last-child {
    font-weight: 600;
    color: #212529;
    margin-top: 4px;
}

.details-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.details-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.details-section h4 i {
    font-size: 1.3rem;
}

.details-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 12px;
    line-height: 1.6;
    color: #495057;
}

.details-list {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.details-list li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contatos-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contato-details-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #e9ecef;
}

.contato-details-item i {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    color: #0d6efd;
}

.contato-details-item > div {
    flex: 1;
}

.contato-details-item strong {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #6c757d;
}

.btn-copy-contact {
    background: none;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy-contact:hover {
    background: #e9ecef;
    border-color: #0d6efd;
}

@media (max-width: 768px) {
    .details-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .info-card {
        padding: 0.75rem;
    }
    
    .info-card i {
        font-size: 1.3rem;
        width: 30px;
    }
    
    .contato-details-item {
        flex-wrap: wrap;
    }
    
    .btn-copy-contact {
        width: 100%;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .details-info-grid {
        grid-template-columns: 1fr;
    }
}