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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #AE2C2A 0%, #D63384 50%, #8B1538 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(174, 44, 42, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 40px;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #AE2C2A, #D63384, #AE2C2A);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    z-index: -1;
    border-radius: 20px;
    padding: 2px;
}

.login-card::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    z-index: -1;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.login-header h2 {
    background: linear-gradient(-135deg, #2c3e50, #AE2C2A);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    border-bottom: 2px solid #ae2c2a;
}

.login-header p {
    font-size: 0.9rem;
    color: rgb(85, 85, 85);
    letter-spacing: 0.3px;
    margin-top: -5px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(174, 44, 42, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #AE2C2A;
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-left: 4px solid #28a745;
    border-color: #28a745;
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-left: 4px solid #dc3545;
    border-color: #dc3545;
}

.requirements-container.valid {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.requirements-container.invalid {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.login-button {
    width: 100%;
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-button:hover:not(:disabled) {
    transform: translateY(-2px);
}

.login-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
}

/* Estilos do Dashboard. */
.dashboard {
    display: none;
    min-height: 100vh;
    background: #f8f9fa;
}

.dashboard.active {
    display: block;
}

.dashboard-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

.headers {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(174, 44, 42, 0.1);
    padding: 25px 0;
    margin-top: -20px;
    position: relative;
    overflow: hidden;
}

.headers::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #AE2C2A 0%, #D63384 50%, #AE2C2A 100%);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 20px;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 8px;
    margin-top: 10px;
    background: linear-gradient(135deg, rgba(174, 44, 42, 0.05) 0%, rgba(174, 44, 42, 0.02) 100%);
    border-radius: 16px;
    border: 1px solid rgba(174, 44, 42, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.header-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(174, 44, 42, 0.2), rgba(174, 44, 42, 0.05));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-logo:hover::before {
    opacity: 1;
}

.header-logo:hover {
    background: linear-gradient(135deg, rgba(174, 44, 42, 0.08) 0%, rgba(174, 44, 42, 0.04) 100%);
    border-color: rgba(174, 44, 42, 0.15);
    box-shadow: 0 4px 16px rgba(174, 44, 42, 0.1);
    transform: translateY(-1px);
}

.logo-image {
    width: 200px;
    height: 100px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.3, 1), 
                box-shadow 0.45s cubic-bezier(0.25, 1, 0.3, 1), 
                filter 0.45s cubic-bezier(0.25, 1, 0.3, 1);
    filter: drop-shadow(0 2px 4px rgba(174, 44, 42, 0.2));
    background: white;
    padding: 4px;
}

.logo-image:hover {
    transform: scale(1.04) rotate(0.5deg);
    box-shadow: 0 12px 32px rgba(174, 44, 42, 0.2);
    filter: drop-shadow(0 6px 12px rgba(174, 44, 42, 0.25)) brightness(1.06);
}

.header-center {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    text-align: center;
}

.header-left h1 {
    color: #780000;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-left h1 i {
    color: #AE2C2A;
    font-size: 1.8rem;
    padding: 8px;
    background: rgba(174, 44, 42, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.header-left h1 i:hover {
    background: rgba(174, 44, 42, 0.15);
    transform: scale(1.05);
}

.welcome-text {
    color: #6C757D;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 10px;
    margin-left: 3px;
    text-align: center;
    opacity: 0.9;
}

.welcome-text-2 {
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    flex-direction: column;
}

.logout-button {
    background: linear-gradient(135deg, #DC3545 0%, #C82333 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.logout-button.down {
    right: 10px;
}

.logout-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.logout-button:hover {
    background: linear-gradient(135deg, #C82333 0%, #A71E2A 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.logout-button:hover::before {
    left: 100%;
}

.logout-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.logout-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.logout-button:hover i {
    transform: rotate(10deg);
}

.dashboard-nav {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
}

/* Modal de Logout */
.logout-modal {
    max-width: 450px;
    text-align: center;
}

.logout-header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
}

.logout-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.logout-body {
    padding: 30px 25px;
}

.logout-icon {
    font-size: 3rem;
    color: #ffc107;
    margin-bottom: 20px;
}

.logout-body p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.logout-body small {
    color: #6c757d;
    font-size: 0.9rem;
}

.logout-footer {
    padding: 20px 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
    border-top: 1px solid #e9ecef;
}

.btn-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-logout {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-logout:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.nav-button {
    background: none;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #696969;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-button:hover {
    color: #AE2C2A;
    background: rgba(174, 44, 42, 0.05);
}

.nav-button.active {
    color: #AE2C2A;
    border-bottom-color: #AE2C2A;
    background: rgba(174, 44, 42, 0.05);
}

.tab-content {
    max-width: 1260px;
    margin: 0 auto;
    padding: 30px 20px;
}

.content-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.content-header h2 {
    color: #333;
    font-size: 1.8rem;
    margin: 0;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #AE2C2A;
    background: linear-gradient(135deg, #2c3e50, #AE2C2A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-button {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 140px;
    gap: 8px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.add-button:hover {
    transform: translateY(-2px);
}

/* Grade de Vagas - Mantido como está */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(395px, 1fr));
    gap: 25px;
    padding: 10px 0;
}

.job-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.job-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 87%;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.job-card:hover::before {
    opacity: 1;
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.job-status {
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: fit-content;
}

.job-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.job-status.active {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #b8dabc;
}

.job-status.active::before {
    background: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.3);
    position: relative;
    right: 5px;
    bottom: 1px;
}

.job-status.inactive {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f1b0b7;
}

.job-status.inactive::before {
    background: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.3);
    position: relative;
    right: 5px;
    bottom: 1px;
}

.job-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.job-actions button {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.job-actions button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.job-actions button:hover::before {
    width: 85%;
    height: 85%;
}

.edit-button {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.edit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.toggle-button {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.toggle-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.delete-button {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.delete-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.job-card-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.job-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.job-details span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 0;
}

.job-details i {
    color: #AE2C2A;
    font-size: 1rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.job-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
    padding: 15px;
    background: rgba(174, 44, 42, 0.02);
    border-left: 4px solid #AE2C2A;
    border-radius: 0 8px 8px 0;
}

.job-meta {
    font-size: 0.85rem;
    color: #495057;
    border-top: 2px solid #f1f3f4;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 500;
    margin-top: auto;
    flex-shrink: 0;
}

.job-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #343a40;
    font-weight: 600;
}

.job-meta div::before {
    content: '📅';
    font-size: 1rem;
    filter: brightness(0.8);
}

.job-meta .date-value {
    color: #AE2C2A;
    font-weight: 600;
}

/* Melhoria na exibição do salário e da mensagem com Flexbox */
.job-card-content p {
    margin: 7px 0;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.job-card-content p:first-of-type {
    background: rgba(174, 44, 42, 0.08);
    border-left: 4px solid #AE2C2A;
    color: #8B1E1E;
}

.job-card-content p:first-of-type::before {
    content: '💬';
    margin-top: -3px;
    font-size: 1.2rem;
    color: #AE2C2A;
}

.job-card-content p:first-of-type strong {
    color: #AE2C2A;
}

.job-card-content p:not(:first-of-type) {
    background: linear-gradient(135deg, #e8f5e8, #d4edda);
    border-left: 4px solid #28a745;
    color: #155724;
}

.job-card-content p:not(:first-of-type)::before {
    content: '💰';
    margin-top: -4.7px;
    font-size: 1.2rem;
    color: #28a745;
}

.job-card-content p:not(:first-of-type) strong {
    color: #0d4b14;
}

/* Empty state improvements */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #6c757d;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 25px;
    color: #AE2C2A;
    opacity: 0.6;
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-state h3 {
    margin-bottom: 15px;
    color: #495057;
    font-size: 1.4rem;
    font-weight: 600;
}

.empty-state p {
    color: #6c757d;
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Loading state improvements */
.loading {
    text-align: center;
    padding: 50px;
    color: #AE2C2A;
    font-weight: 500;
}

.loading i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #AE2C2A;
    animation: spin 1s linear infinite;
}

.loading p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #AE2C2A;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: hidden;
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 600px;
    max-height: 95vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    max-height: calc(95vh - 140px);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    color: #333;
}

.job-form {
    padding: 25px;
}

/* Asterisco obrigatório */
.required {
    color: #dc3545;
    font-weight: bold;
    margin-left: 2px;
}

/* Containers de salário */
.salary-container {
    margin-top: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.salary-container input {
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.salary-container input:focus {
    border-color: #AE2C2A;
    outline: none;
    box-shadow: 0 0 5px rgba(174, 44, 42, 0.3);
}

/* Placeholder melhorado */
.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

/* Hover nos selects */
.form-group select:hover {
    border-color: #AE2C2A;
}

/* Estilo para opções desabilitadas */
.form-group select option:disabled {
    color: #999;
    font-style: italic;
}

/* Animação suave para containers de salário */
.salary-container {
    transition: all 0.3s ease;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Melhorar visual do separador */
.salary-separator {
    background: #AE2C2A;
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.salary-range {
    display: flex;
    align-items: center;
    gap: 15px;
}

.salary-range input {
    flex: 1;
    margin-bottom: 0;
}

.salary-hint {
    display: block;
    margin-top: 8px;
    color: #696969;
    font-size: 0.85rem;
    font-style: italic;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #AE2C2A;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.requirements-container {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
}

.requirement-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.requirement-item input {
    flex: 1;
    margin-bottom: 0;
}

.requirement-item button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.add-requirement {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.actionInfoText {
    max-width: 270px;
}

.cancel-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
}

.save-button {
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== PAINEL DE CANDIDATURAS - MELHORADO ===== */

/* Filtros aprimorados */
.filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.filters select {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    color: #495057;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.filters select:hover {
    border-color: #AE2C2A;
    box-shadow: 0 4px 15px rgba(174, 44, 42, 0.15);
    transform: translateY(-2px);
}

.filters select:focus {
    outline: none;
    border-color: #AE2C2A;
    box-shadow: 0 0 0 3px rgba(174, 44, 42, 0.1);
}

.date-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.date-filters:hover {
    border-color: #AE2C2A;
    box-shadow: 0 4px 15px rgba(174, 44, 42, 0.15);
    transform: translateY(-2px);
}

.date-filters label {
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-filters label i {
    color: #AE2C2A;
    font-size: 1rem;
    margin-right: 4px;
}

.date-input {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.9rem;
    background: #f8f9fa;
    color: #495057;
    transition: all 0.3s ease;
}

.date-input:focus {
    outline: none;
    border-color: #AE2C2A;
    background: white;
    box-shadow: 0 0 0 2px rgba(174, 44, 42, 0.1);
}

.clear-date-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.clear-date-btn:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.filter-indicator {
    margin: 20px 0;
    display: none;
}

.active-filters {
    background: linear-gradient(135deg, rgba(174, 44, 42, 0.08), rgba(174, 44, 42, 0.03));
    border: 2px solid rgba(174, 44, 42, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: #495057;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(174, 44, 42, 0.1);
}

.active-filters i {
    color: #AE2C2A;
    font-size: 1.1rem;
}

.clear-all-btn {
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.clear-all-btn i {
    color: white !important;
}

.clear-all-btn:hover {
    background: linear-gradient(135deg, #ff5555, #AE2C2A);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(174, 44, 42, 0.3);
}

/* Tabela de candidaturas - Melhorada */
.applications-table {
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    border: 2px solid #f1f3f4;
    margin: 0;
    position: relative;
}

.applications-table table {
    width: 100%;
    border-spacing: 0;
    table-layout: auto;
    min-width: 1000px;
}

.applications-table th {
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 18px 15px;
    text-align: center;
    border-bottom: 3px solid #8B1E1E;
    border-right: 2px solid #8B1E1E;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.applications-table th:last-child {
    border-right: none;
}

.applications-table th:hover {
    background: linear-gradient(135deg, #8B1E1E, #CC4444);
    transform: translateY(-1px);
    cursor: pointer;
}

.applications-table th i {
    margin-right: 8px;
    font-size: 1rem;
    opacity: 0.9;
    color: #FFE4E1;
}

.applications-table th:first-child {
    border-top-left-radius: 12px;
}

.applications-table th:last-child {
    border-top-right-radius: 12px;
    border-right: none;
}

.applications-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    border-top: 1px solid #AE2C2A;
    border-right: 2px solid #AE2C2A;
    vertical-align: middle;
    transition: all 0.3s ease;
    position: relative;
    min-width: 190px;
}

.applications-table td:last-child {
    border-right: none;
}

/* Última linha da tabela com divisória vermelha */
.applications-table tbody tr:last-child td {
    border-bottom: 2px solid #AE2C2A !important;
}

/* Forçar divisória vermelha na última linha */
.applications-table tr:last-child td {
    border-bottom: 2px solid #AE2C2A !important;
}

.applications-table tbody tr {
    transition: all 0.3s ease;
    position: relative;
}

.applications-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(174, 44, 42, 0.08), rgba(174, 44, 42, 0.03));
}

.applications-table tbody tr:hover td {
    position: relative;
    z-index: 2;
}

.applications-table tr:nth-child(even) {
    background-color: #fafbfc;
}

.applications-table tr:nth-child(even):hover {
    background: transparent;
}

/* Estilos para ordenação de colunas */
.sortable {
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: all 0.3s ease;
}

.sortable:hover {
    background: linear-gradient(135deg, #9A211F, #CC4444);
    transform: translateY(-1px);
}

.sort-icon {
    margin-left: 8px;
    opacity: 0.5;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.sortable:hover .sort-icon {
    opacity: 1;
}

.sortable.sort-asc .sort-icon {
    opacity: 1;
    color: #00FF7F;
    text-shadow: 0 0 4px rgba(0, 255, 127, 0.6);
}

.sortable.sort-asc .sort-icon::before {
    content: "\f0de"; /* fa-sort-up */
}

.sortable.sort-desc .sort-icon {
    opacity: 1;
    color: #FFD700;
}

.sortable.sort-desc .sort-icon::before {
    content: "\f0dd"; /* fa-sort-down */
}

.candidate-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.candidate-info strong,
.candidate-name {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    display: block;
    margin-bottom: 6px;
}

.candidate-details {
    font-size: 0.85rem;
    color: #495057;
    line-height: 1.4;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin-top: 6px;
}

.candidate-details span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
    padding: 4px 6px;
    background: white;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    color: #495057 !important;
    font-size: 0.85rem;
}

.candidate-details span:hover {
    border-left-color: #AE2C2A;
    transform: translateX(3px);
    box-shadow: 0 2px 6px rgba(174, 44, 42, 0.1);
}

.candidate-details span:last-child {
    margin-bottom: 0;
}

.candidate-details i {
    color: #AE2C2A;
    width: 18px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Estilização específica para email */
.candidate-email {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid #42a5f5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
    transition: all 0.3s ease;
}

.candidate-email:hover {
    background: linear-gradient(135deg, #bbdefb, #90caf9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.candidate-email i {
    color: #1565c0;
    font-size: 1rem;
}

/* Estilização específica para telefone */
.candidate-phone {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c8);
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid #66bb6a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
    transition: all 0.3s ease;
}

.candidate-phone:hover {
    background: linear-gradient(135deg, #c8e6c8, #a5d6a7);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.candidate-phone i {
    color: #2e7d32;
    font-size: 1rem;
}

/* Estilização para valor da vaga */
.job-salary {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #e65100;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid #ff9800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(255, 152, 0, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-salary:hover {
    background: linear-gradient(135deg, #ffe0b2, #ffcc80);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.3);
}

.job-salary::before {
    content: '💰';
    font-size: 1.1rem;
}

/* Estilização para datas */
.application-date {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    color: #7b1fa2;
    padding: 6px 14px;
    border-radius: 18px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid #ba68c8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(156, 39, 176, 0.2);
    transition: all 0.3s ease;
}

.application-date:hover {
    background: linear-gradient(135deg, #e1bee7, #ce93d8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.3);
}

.application-date i {
    color: #7b1fa2;
    font-size: 0.9rem;
}

/* Estilização para valores de vaga na tabela */
.table-job-value {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #e65100;
    padding: 4px 8px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.8rem;
    border: 1px solid #ff9800;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(255, 152, 0, 0.2);
    transition: all 0.3s ease;
}

.table-job-value:hover {
    background: linear-gradient(135deg, #ffe0b2, #ffcc80);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
}

.table-job-value::before {
    content: '💰';
    font-size: 0.9rem;
    margin-right: 4px;
}

/* Estilização para datas na tabela */
.table-date-value {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    color: #7b1fa2;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid #ba68c8;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(156, 39, 176, 0.2);
    transition: all 0.3s ease;
}

.table-date-value:hover {
    background: linear-gradient(135deg, #e1bee7, #ce93d8);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(156, 39, 176, 0.3);
}

.table-date-value i {
    color: #7b1fa2;
    font-size: 0.8rem;
    margin-right: 4px;
}

/* Estilização compacta para nome da vaga */
.table-job-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 4px;
    line-height: 1.2;
}

.table-job-company {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    opacity: 0.8;
}

/* Estilização para texto de vaga no TD */
.job-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2c3e50 !important;
    display: block;
    margin-bottom: 4px;
    line-height: 1.3;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.job-company-text {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
    background: rgba(174, 44, 42, 0.1);
    padding: 2px 6px;
    border-radius: 8px;
    display: inline-block;
    border-left: 3px solid #AE2C2A;
}

/* Estilização para texto de data no TD */
.date-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #AE2C2A !important;
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 4px;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.time-text {
    font-size: 0.7rem;
    color: #7b1fa2;
    font-weight: 600;
    background: rgba(156, 39, 176, 0.15);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    border: 1px solid rgba(156, 39, 176, 0.3);
    opacity: 0.9;
}

/* Estilização para qualquer texto de vaga nos TDs */
.applications-table td .job-text,
.applications-table td [class*="job-"] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2c3e50 !important;
    display: block;
    margin-bottom: 4px;
    line-height: 1.3;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

/* Estilização para qualquer texto de data nos TDs */
.applications-table td .date-text,
.applications-table td [class*="date-"] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #AE2C2A !important;
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    -webkit-background-clip: text;
    background-clip: text;
    display: block;
    margin-bottom: 4px;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

/* Fallback para textos sem classe específica */
.applications-table tbody td:nth-child(2) {
    color: #2c3e50 !important;
    font-weight: 700;
    font-size: 1rem;
}

.applications-table tbody td:nth-child(3) {
    color: #AE2C2A !important;
    font-weight: 700;
    background: linear-gradient(135deg, #838282, #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Estilização para linha da aplicação */
.application-row {
    transition: all 0.3s ease;
}

.application-row:hover {
    background: rgba(174, 44, 42, 0.02);
}

.candidate-info {
    min-height: 60px;
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-align: center;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    box-sizing: border-box;
}


/* Ajustar botão de limpar filtros */
.clear-date-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.clear-date-btn:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.clear-date-btn i {
    font-size: 0.8rem;
}

.refresh-filters-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 8px 12px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    box-sizing: border-box;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.refresh-filters-btn:hover {
    background: linear-gradient(135deg, #1e7e34, #17a2b8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.refresh-filters-btn i {
    font-size: 0.9rem;
}

/* Cards Grid - Melhorado */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid #f8f9fa;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #AE2C2A, #ff5555, #D63384);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(174, 44, 42, 0.2);
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    padding: 25px;
    border-bottom: 2px solid #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #ffffff, #fafbfc);
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25px;
    right: 25px;
    height: 2px;
    background: linear-gradient(135deg, transparent, rgba(174, 44, 42, 0.1), transparent);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #2c3e50, #AE2C2A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.card-subtitle {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-subtitle i {
    color: #AE2C2A;
    font-size: 1rem;
}

.card-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: flex-start;
}

.card-info {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: #fafbfc;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #495057;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-left-color: #AE2C2A;
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(174, 44, 42, 0.15);
}

.info-item i {
    color: #AE2C2A;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-item span {
    flex: 1;
    font-weight: 500;
}

/* Botões dos cards - Melhorados */
.btn {
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.85rem;
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.btn-info:hover {
    background: linear-gradient(135deg, #138496, #117a8b);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

/* Status badges - Melhorados */
.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    position: relative;
    right: 5px;
    bottom: 1px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.status-badge.status-pendente {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border: 2px solid #f39c12;
}

.status-badge.status-pendente::before {
    background: #f39c12;
}

.status-badge.status-em-analise {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border: 2px solid #17a2b8;
}

.status-badge.status-em-analise::before {
    background: #17a2b8;
}

.status-badge.status-aprovado {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 2px solid #28a745;
}

.status-badge.status-aprovado::before {
    background: #28a745;
}

.status-badge.status-rejeitado {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 2px solid #dc3545;
}

.status-badge.status-rejeitado::before {
    background: #dc3545;
}

/* Select de status - Melhorado */
.status-select {
    padding: 10px 16px;
    border-radius: 10px;
    border: 2px solid #dee2e6;
    font-size: 0.9rem;
    font-weight: 700;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.status-select:hover {
    border-color: #AE2C2A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(174, 44, 42, 0.15);
}

.status-select:focus {
    outline: none;
    border-color: #AE2C2A;
    box-shadow: 0 0 0 3px rgba(174, 44, 42, 0.1);
}

.status-select.status-pendente {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border-color: #f39c12;
}

.status-select.status-em-analise {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border-color: #17a2b8;
}

.status-select.status-aprovado {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-color: #28a745;
}

.status-select.status-rejeitado {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-color: #dc3545;
}

/* Detalhes expandidos - Completamente redesenhados */
.application-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.application-card.expanded {
    transform: scale(1.03);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    z-index: 100;
    position: relative;
    border: 3px solid #AE2C2A;
}

.application-details {
    display: none;
    margin-top: 25px;
    padding: 30px;
    border-top: 3px solid #AE2C2A;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    animation: expandDetails 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.application-details::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #AE2C2A, #ff5555, #D63384);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.application-details-row {
    display: none;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-top: 3px solid #AE2C2A;
}

.application-details-row.expanded {
    display: table-row;
    animation: expandRow 0.5s ease;
}

.application-details-cell {
    padding: 30px 20px;
    border-bottom: 3px solid #AE2C2A;
}

.details-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.application-details.expanded {
    display: block;
}

@keyframes expandDetails {
    from {
        opacity: 0;
        transform: translateY(-30px);
        max-height: 0;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 1000px;
    }
}

@keyframes expandRow {
    from {
        opacity: 0;
        transform: scaleY(0);
    }

    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

.detail-section {
    background: white;
    padding: 25px;
    border-radius: 16px;
    border-left: 5px solid #AE2C2A;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.detail-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(174, 44, 42, 0.15);
}

.detail-section:hover::before {
    height: 100%;
}

.detail-section h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #2c3e50, #AE2C2A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-section h4 i {
    color: #AE2C2A;
    font-size: 1.3rem;
    background: none;
    -webkit-text-fill-color: #AE2C2A;
}

.detail-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid #AE2C2A;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    border-left: 4px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.detail-item:hover {
    border-left-color: #AE2C2A;
    background: linear-gradient(135deg, #ffffff, #fdfdfd);
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(174, 44, 42, 0.2);
}

.detail-label {
    font-weight: 700;
    color: #AE2C2A;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-label::before {
    content: '▶';
    color: #AE2C2A;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.detail-item:hover .detail-label::before {
    transform: rotate(90deg);
}

.detail-value {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: left;
}

.message-content {
    white-space: pre-wrap;
    line-height: 1.8;
    color: #1a1a1a;
    /* Cor mais escura para maior contraste */
    font-size: 1.1rem;
    /* Tamanho da fonte ligeiramente maior */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    /* Peso da fonte aumentado para maior destaque */
    letter-spacing: 0.5px;
    /* Aumenta o espaçamento entre letras */
    background: linear-gradient(135deg, #fdfdfd, #f8f9fc);
    /* Gradiente mais sutil */
    padding: 28px 32px;
    /* Aumenta o padding para mais espaço interno */
    border-radius: 20px;
    /* Bordas mais arredondadas */
    border-left: 6px solid #AE2C2A;
    /* Bordas mais espessas para destaque */
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.1),
        /* Sombra externa mais pronunciada */
        inset 0 2px 4px rgba(255, 255, 255, 0.6);
    /* Sombra interna mais suave */
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    word-break: break-word;
    transition: all 0.3s ease;
    /* Transição suave para hover */
}

.message-content:hover {
    background: linear-gradient(135deg, #ffffff, #f1f3f5);
    /* Fundo mais claro no hover */
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.15),
        /* Sombra externa mais destacada */
        inset 0 2px 6px rgba(255, 255, 255, 0.7);
    /* Sombra interna mais perceptível */
    transform: translateY(-2px);
    /* Leve elevação no hover */
}

.resume-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 20px;
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(174, 44, 42, 0.3);
}

.resume-link:hover {
    background: linear-gradient(135deg, #ff5555, #AE2C2A);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(174, 44, 42, 0.4);
}

.resume-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.resume-link:hover i {
    transform: scale(1.1);
}

.collapse-btn {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 25px auto 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 180px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.collapse-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.collapse-btn:hover::before {
    left: 100%;
}

.collapse-btn:hover {
    background: linear-gradient(135deg, #495057, #343a40);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(108, 117, 125, 0.4);
}

.collapse-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

.collapse-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.collapse-btn:hover i {
    transform: rotate(180deg);
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.action-buttons button,
.action-buttons a {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.action-buttons button::before,
.action-buttons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.action-buttons button:hover::before,
.action-buttons a:hover::before {
    left: 100%;
}

.delete-button {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.delete-button:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.view-button {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.view-button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.download-button {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.download-button:hover {
    background: linear-gradient(135deg, #1e7e34, #155724);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.detail-value,
.message-content,
.resume-link {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    -ms-word-break: break-all;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    max-width: 100%;
    min-width: 0;
}

.detail-section,
.details-content,
.detail-grid {
    overflow: hidden;
    word-wrap: break-word;
}

/* Overlay de sucesso do login */
.login-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.95), rgba(32, 201, 151, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.login-success-overlay.show {
    opacity: 1;
    visibility: visible;
}

.login-success-content {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 40px;
    transform: translateY(30px);
    transition: transform 0.5s ease;
}

.login-success-overlay.show .login-success-content {
    transform: translateY(0);
}

/* Animação do checkmark */
.success-animation {
    margin-bottom: 30px;
}

.checkmark-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid white;
    margin: 0 auto 20px;
    position: relative;
    animation: scaleIn 0.5s ease-in-out 0.5s both;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmark-success {
    font-size: 3rem;
    color: white;
    animation: fadeIn 0.5s ease-in-out 1s both;
}

.login-success-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    animation: fadeInUp 0.5s ease-in-out 0.8s both;
}

.login-success-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.5s ease-in-out 1s both;
}

/* Overlay de sucesso do logout */
.logout-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 127, 0.95), rgba(239, 68, 68, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.logout-success-overlay.show {
    opacity: 1;
    visibility: visible;
}

.logout-success-content {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 40px;
    transform: translateY(30px);
    transition: transform 0.5s ease;
}

.logout-success-overlay.show .logout-success-content {
    transform: translateY(0);
}

/* Animação do logout */
.logout-animation {
    margin-bottom: 30px;
}

.logout-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.8);
    margin: 0 auto 20px;
    position: relative;
    animation: logoutScaleIn 0.6s ease-in-out 0.4s both;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logout-icon-overlay {
    font-size: 3rem;
    color: white;
    animation: logoutIconRotate 0.8s ease-in-out 0.8s both;
}

.logout-success-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    animation: logoutFadeInUp 0.5s ease-in-out 0.9s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logout-success-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: logoutFadeInUp 0.5s ease-in-out 1.1s both;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Barra de progresso do logout */
.logout-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 20px;
    animation: logoutFadeInUp 0.5s ease-in-out 1.3s both;
}

.logout-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
    border-radius: 2px;
    animation: logoutProgress 3s ease-in-out 1.5s both;
}

/* Animações específicas do logout */
@keyframes logoutScaleIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes logoutIconRotate {
    0% {
        transform: rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: rotate(10deg);
        opacity: 0.7;
    }
    100% {
        transform: rotate(0deg);
        opacity: 1;
    }
}

@keyframes logoutFadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes logoutProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Modal de Sessão Expirada */
.session-expired-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.95), rgba(220, 38, 127, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.session-expired-overlay.show {
    opacity: 1;
    visibility: visible;
}

.session-expired-modal {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8) translateY(30px);
    transition: transform 0.4s ease;
    position: relative;
}

.session-expired-overlay.show .session-expired-modal {
    transform: scale(1) translateY(0);
}

.session-expired-header {
    background: linear-gradient(135deg, #dc2626, #dc267b);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.session-expired-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: sessionPulse 3s ease-in-out infinite;
}

.session-expired-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: sessionIconBounce 0.8s ease-out 0.3s both;
}

.session-expired-icon i {
    font-size: 2.5rem;
    color: white;
    animation: sessionIconRotate 2s ease-in-out infinite;
}

.session-expired-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: sessionTitleSlide 0.6s ease-out 0.5s both;
}

.session-expired-body {
    padding: 30px;
    text-align: center;
}

.session-expired-message {
    margin-bottom: 30px;
    animation: sessionMessageFade 0.6s ease-out 0.7s both;
}

.session-expired-message i {
    font-size: 1.5rem;
    color: #dc2626;
    margin-bottom: 15px;
    display: block;
}

.session-expired-message p {
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
    margin: 10px 0;
}

.session-expired-message p:first-of-type {
    font-weight: 600;
    color: #1f2937;
}

.session-expired-timer {
    margin: 30px 0;
    animation: sessionTimerSlide 0.6s ease-out 0.9s both;
}

.timer-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #dc267b);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(220, 38, 127, 0.3);
    animation: sessionCountdownPulse 1s ease-in-out infinite;
}

.session-expired-timer p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.session-expired-footer {
    padding: 0 30px 30px;
    text-align: center;
    animation: sessionButtonSlide 0.6s ease-out 1.1s both;
}

.btn-login-redirect {
    background: linear-gradient(135deg, #dc2626, #dc267b);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 127, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
}

.btn-login-redirect:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 127, 0.4);
    background: linear-gradient(135deg, #b91c1c, #be185d);
}

.btn-login-redirect:active {
    transform: translateY(0);
}

/* Animações específicas do modal de sessão */
@keyframes sessionPulse {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

@keyframes sessionIconBounce {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.2) rotate(10deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes sessionIconRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

@keyframes sessionTitleSlide {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes sessionMessageFade {
    0% {
        transform: translateY(15px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes sessionTimerSlide {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes sessionButtonSlide {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes sessionCountdownPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(220, 38, 127, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(220, 38, 127, 0.5);
    }
}

/* Container do campo de senha com ícone */
.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    width: 100%;
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #696969;
    font-size: 1.1rem;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 10;
}

.password-toggle:hover {
    color: #AE2C2A !important;
    background: rgba(174, 44, 42, 0.1) !important;
}

.password-toggle:focus {
    outline: none !important;
    color: #AE2C2A !important;
    background: rgba(174, 44, 42, 0.1) !important;
}

/* Barra de loading */
.loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-in-out 1.2s both;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8), #ffffff);
    border-radius: 2px;
    width: 0%;
    animation: loadingProgress 2s ease-in-out 1.5s both;
}

/* Estilos para data relativa */
.date-text {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.relative-time {
    font-size: 0.8em;
    color: #696969;
    font-style: italic;
}

/* Animações */
@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmarkLine {
    from {
        height: 0;
    }

    to {
        height: var(--line-height);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes loadingProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Responsive */

@media (max-width: 1200px) {
    .applications-table {
        overflow-x: auto;
        white-space: nowrap;
    }

    .applications-table::-webkit-scrollbar {
        height: 8px;
    }

    .applications-table::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .applications-table::-webkit-scrollbar-thumb {
        background: #AE2C2A;
        border-radius: 4px;
    }

    .applications-table::-webkit-scrollbar-thumb:hover {
        background: #8B1E1E;
    }
}

@media (max-width: 992px) {
    .filters {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .date-filters {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .date-input {
        min-width: 120px;
    }

    .content-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }

    .actionInfoText {
        max-width: 165px;
    }
}

@media (max-width: 768px) {
    body {
        background: linear-gradient(135deg, #AE2C2A 0%, #D63384 100%);
    }

    .login-container {
        padding: 15px;
    }

    .login-card {
        box-shadow:
            0 15px 40px rgba(174, 44, 42, 0.25),
            0 5px 20px rgba(0, 0, 0, 0.15);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 5px 0;
    }

    .job-card {
        padding: 20px;
        margin: 0 5px;
    }

    .job-card-content {
        height: 80%;
    }

    .job-card-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .job-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .job-details {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .job-details span {
        justify-content: center;
        padding: 8px 0;
    }

    .job-meta {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-bottom: 20px;
    }

    .nav-content {
        flex-direction: column;
    }

    .applications-table {
        overflow-x: auto;
        border-radius: 16px;
    }

    .applications-table th {
        padding: 20px 15px;
        font-size: 0.85rem;
    }

    .applications-table td {
        padding: 20px 15px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        text-align: center;
        padding: 20px;
    }

    .card-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .card-info {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .info-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 60px;
        padding: 15px;
    }

    .info-item i {
        color: #AE2C2A;
        width: auto;
        text-align: center;
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .info-item span {
        flex: none;
        text-align: center;
        font-size: 0.9rem;
        line-height: 1.4;
        max-width: 100%;
        word-wrap: break-word;
    }

    .info-item .status-badge {
        margin: 0 auto;
        display: inline-flex;
        width: fit-content;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .detail-item {
        text-align: center;
        min-height: 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 20px;
    }

    .detail-section {
        text-align: center;
        padding: 20px;
    }

    .detail-section h4 {
        justify-content: center;
    }

    .detail-content {
        text-align: center;
        padding: 15px;
    }

    .message-content {
        text-align: left;
        margin: 0 auto;
        max-width: 100%;
        padding: 15px;
    }

    .resume-link {
        margin: 0 auto;
        display: inline-flex;
        padding: 10px 18px;
    }

    .collapse-btn {
        margin: 20px auto 0;
        padding: 12px 25px;
        min-width: 160px;
    }

    .filters {
        padding: 15px;
        border-radius: 12px;
    }

    .filters select {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .date-filters {
        padding: 10px 16px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .status-select {
        font-size: 0.85rem;
        padding: 8px 12px;
        width: auto;
        margin: 0 auto;
        min-width: 120px;
    }

    .salary-range {
        flex-direction: column;
        gap: 10px;
    }

    .salary-separator {
        order: -1;
        text-align: center;
    }

    .actionInfoText {
        max-width: 270px;
    }
}

@media (max-width: 480px) {
    .card-actions {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .btn,
    .status-select {
        width: auto;
        max-width: 200px;
        justify-content: center;
    }

    .card-header {
        text-align: center;
        padding: 15px;
    }

    .card-title,
    .card-subtitle {
        text-align: center;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .info-item {
        min-height: 55px;
        padding: 12px;
    }

    .info-item span {
        font-size: 0.85rem;
    }

    .job-card {
        padding: 15px;
        margin: 0;
    }

    .job-actions button {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .job-card-content h3 {
        font-size: 1.1rem;
        text-align: center;
    }

    .job-description {
        font-size: 0.9rem;
        padding: 12px;
    }

    .salary-range {
        gap: 8px;
    }

    .salary-separator {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .salary-hint {
        font-size: 0.8rem;
    }

    .login-success-content {
        padding: 30px 20px;
        max-width: 90%;
    }

    .login-success-content h2 {
        font-size: 1.5rem;
    }

    .login-success-content p {
        font-size: 1rem;
    }

    .checkmark-circle {
        width: 80px;
        height: 80px;
    }

    .checkmark-success {
        font-size: 2.5rem;
    }

    .applications-table th {
        padding: 15px 10px;
        font-size: 0.8rem;
    }

    .applications-table td {
        padding: 15px 10px;
    }

    .detail-section {
        padding: 15px;
    }

    .detail-section h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .filters {
        padding: 12px;
    }

    .active-filters {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .clear-all-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Modal de Confirmação de Exclusão */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease;
}

.modal-content.delete-modal {
    background-color: #ffffff;
    margin: 8% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.4s ease;
    overflow: hidden;
}

/* Header do Modal */
.modal-header.delete-header {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 24px 30px;
    border-radius: 16px 16px 0 0;
    text-align: center;
}

.delete-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.delete-header i {
    font-size: 1.6rem;
    color: #fbbf24;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Body do Modal */
.modal-body.delete-body {
    padding: 30px;
}

.delete-warning {
    margin-bottom: 25px;
}

.candidate-info-modal, .job-info {
    background: #f8fafc;
    border-left: 4px solid #AE2C2A;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.candidate-info-modal i, .job-info i {
    color: #AE2C2A;
    font-size: 1.2rem;
}

.candidate-info-modal span, .job-info span {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.candidate-info-modal strong, .job-info strong {
    font-weight: 600;
    background: linear-gradient(135deg, #AE2C2A, #ff5555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Mensagem de Aviso */
.warning-message {
    display: flex;
    gap: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 20px;
}

.warning-icon {
    flex-shrink: 0;
}

.warning-icon i {
    color: #dc2626;
    font-size: 1.8rem;
}

.warning-text {
    flex: 1;
}

.warning-text strong {
    color: #dc2626;
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: block;
}

.warning-text ul {
    margin: 12px 0 0 0;
    padding-left: 20px;
    color: #6b7280;
}

.warning-text li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Seção de Confirmação */
.confirmation-section {
    margin-top: 25px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px dashed #d1d5db;
}

/* Checkbox Customizado */
.confirmation-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    user-select: none;
}

.confirmation-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    position: relative;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.confirmation-checkbox:hover .checkmark {
    border-color: #AE2C2A;
    transform: scale(1.05);
}

.confirmation-checkbox input:checked ~ .checkmark {
    background-color: #AE2C2A;
    border-color: #AE2C2A;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 0px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.confirmation-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Footer do Modal */
.modal-footer.delete-footer {
    padding: 24px 30px;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Botões */
.btn-cancel, .btn-delete {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.btn-delete {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-delete:hover:not(:disabled) {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-delete:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .modal-content.delete-modal {
        margin: 5% auto;
        width: 95%;
        max-width: none;
    }
    
    .modal-header.delete-header {
        padding: 20px;
    }
    
    .modal-body.delete-body {
        padding: 20px;
    }
    
    .modal-footer.delete-footer {
        padding: 20px;
        flex-direction: column;
    }
    
    .btn-cancel, .btn-delete {
        width: 100%;
    }
    
    .delete-header h3 {
        font-size: 1.2rem;
    }
    
    .warning-message {
        flex-direction: column;
        gap: 12px;
    }
}

/* Estados de loading */
.btn-delete .fa-spinner {
    animation: spin 1s linear infinite;
}

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