.elementor-9978 .elementor-element.elementor-element-23587fd{--display:flex;--background-transition:0.3s;}.elementor-9978 .elementor-element.elementor-element-6df9b93{width:100%;max-width:100%;}/* Start custom CSS for html, class: .elementor-element-6df9b93 *//* styles.css - Versão otimizada e moderna */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Seções de Upload e Revisão */
.upload-section,
.review-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.upload-section:hover,
.review-section:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.upload-section h2,
.review-section h2 {
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
}

.upload-area {
    border: 3px dashed #ced4da;
    border-radius: 12px;
    padding: 50px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background-color: #f8f9fa;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #667eea;
    background-color: #f0f4ff;
    transform: translateY(-3px);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.upload-icon {
    font-size: 4rem;
    color: #667eea;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.upload-area:hover .upload-icon {
    transform: scale(1.1);
    color: #5a67d8;
}

.upload-content p {
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 500;
}

.config-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.config-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-select,
.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    transition: all 0.3s ease;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.form-help-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 10px;
    line-height: 1.5;
}

.vinculo-editor {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.vinculo-editor:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.vinculo-editor h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #495057;
    font-size: 1.2rem;
}

.vinculo-options {
    display: flex;
    gap: 25px;
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.vinculo-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vinculo-options label:hover {
    color: #667eea;
}

.rural-note {
    font-style: italic;
    color: #6c757d;
    margin-top: 20px;
    text-align: center;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

/* BOTÕES */
.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-secondary::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;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(39, 174, 96, 0.4);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

.btn-danger-small {
    background-color: #e74c3c;
    color: white;
    border: none;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-danger-small:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}

.btn-outline-small {
    background: transparent;
    color: #3498db;
    border: 1px solid #3498db;
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.2s ease;
}

.btn-outline-small:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* SEÇÃO DE RESULTADOS - LAYOUT DASHBOARD */
.results-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.summary-panel,
.time-summary-panel,
.rules-dashboard-section,
.vinculos-section,
.scenarios-section {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.summary-panel:hover,
.time-summary-panel:hover,
.rules-dashboard-section:hover,
.vinculos-section:hover,
.scenarios-section:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.personal-info-summary h2,
.rules-dashboard-section h2,
.vinculos-section h2,
.scenarios-section h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.7rem;
    font-weight: 600;
    border-bottom: 2px solid #f1f3f5;
    padding-bottom: 10px;
}

.simulation-explanation {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
    font-style: italic;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    font-size: 1.15rem;
    color: #2c3e50;
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

.time-summary-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 25px;
}

.card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card .card-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.card .card-sub-value {
    font-size: 1rem;
    color: #27ae60;
    font-weight: 600;
    margin-top: 8px;
}

/* DASHBOARD DE REGRAS */
#rulesDashboard,
#futureRulesDashboard,
#sm-simulation-dashboard,
#pbc-simulation-dashboard,
#teto-simulation-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.rule-card {
    border: 1px solid #e9ecef;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rule-card:hover::before {
    opacity: 1;
}

.rule-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.rule-card.eligible {
    border-left: 5px solid #28a745;
}

.rule-card.not-eligible {
    border-left: 5px solid #ffc107;
}

.rule-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.rule-card-header h5 {
    margin: 0;
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

.rule-card-header .status {
    font-weight: 700;
    font-size: 0.95rem;
    padding: 5px 10px;
    border-radius: 20px;
}

.rule-card.eligible .status {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
}

.rule-card.not-eligible .status {
    color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
}

.rule-card-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 25px;
    align-items: flex-start;
}

.rule-card-body label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.rmi-section .rmi-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0056b3;
    line-height: 1.2;
    margin-bottom: 15px;
}

.rmi-extra-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #e9ecef;
}

.rmi-extra-info .rmi-value-small {
    font-size: 1.3rem;
    font-weight: 600;
    color: #343a40;
}

.details-section p {
    font-size: 1rem;
    margin: 0 0 8px 0;
    color: #343a40;
    line-height: 1.6;
}

.details-section small {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

/* VÍNCULOS E CENÁRIOS */
.vinculos-section {
    padding: 30px;
}

#vinculosList {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 15px;
}

#vinculosList::-webkit-scrollbar {
    width: 8px;
}

#vinculosList::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#vinculosList::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

#vinculosList::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.vinculo-item {
    border-bottom: 1px solid #ecf0f1;
    padding: 18px 8px;
    transition: all 0.2s ease;
}

.vinculo-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding-left: 15px;
}

.vinculo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.vinculo-employer {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.vinculo-period {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.indicator {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.indicator.common {
    background-color: #3498db;
}

.indicator.special {
    background-color: #e74c3c;
}

.indicator.rural {
    background-color: #27ae60;
}

/* SIMULAÇÃO FINANCEIRA */
.scenarios-section {
    padding: 30px;
}

.simulation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
}

.simulation-result-card {
    background-color: #e9f5ff;
    border: 1px solid #b3d7ff;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.simulation-result-card h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #0056b3;
    font-size: 1.3rem;
    font-weight: 600;
}

.financial-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.financial-details .financial-item {
    display: flex;
    flex-direction: column;
}

.financial-details .value {
    font-size: 1.2rem;
    font-weight: 600;
}

.financial-details .increase-positive {
    color: #28a745;
}

.financial-details .increase-negative {
    color: #e74c3c;
}

.financial-details .increase-neutral {
    color: #6c757d;
}

.financial-details small {
    font-size: 0.9rem;
    color: #0056b3;
    font-style: italic;
}

/* UTILITÁRIOS */
.loading-section {
    text-align: center;
    padding: 80px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #ecf0f1;
    border-top: 5px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 25px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.actions-section {
    text-align: center;
    padding-top: 25px;
}

footer {
    text-align: center;
    margin-top: 60px;
    padding: 35px;
    color: #7f8c8d;
    border-top: 1px solid #ecf0f1;
    font-size: 0.95rem;
}

/* MEDIA QUERIES */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .rule-card-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {

    .config-grid,
    .time-summary-panel {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 2.2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header {
        padding: 25px 15px;
        margin-bottom: 25px;
    }

    header h1 {
        font-size: 1.9rem;
    }

    .upload-section,
    .review-section {
        padding: 25px;
    }

    .summary-panel,
    .time-summary-panel,
    .rules-dashboard-section,
    .vinculos-section,
    .scenarios-section {
        padding: 25px;
    }

    .card .card-value {
        font-size: 1.8rem;
    }

    #rulesDashboard,
    #futureRulesDashboard,
    #sm-simulation-dashboard,
    #pbc-simulation-dashboard,
    #teto-simulation-dashboard {
        grid-template-columns: 1fr;
    }

    .rule-card-body {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    header h1 {
        font-size: 1.7rem;
    }

    header p {
        font-size: 1rem;
    }

    .upload-area {
        padding: 35px 15px;
    }

    .upload-icon {
        font-size: 3rem;
    }

    .upload-content p {
        font-size: 1.1rem;
    }

    .config-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .time-summary-panel {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .card {
        padding: 15px;
    }

    .card .card-value {
        font-size: 1.6rem;
    }

    .rule-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rule-card-header h5 {
        font-size: 1.1rem;
    }

    .rule-card-body {
        padding: 15px;
    }

    .rmi-section .rmi-value {
        font-size: 1.6rem;
    }
}/* End custom CSS */