/* calculator-cnstr.css - Estilos Otimizados para Calculadora de Estimativa de Projeto */

/* Variáveis globais com sistema de design consistente */
:root {
    /* Paleta de cores principal */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    /* Cores de sucesso */
    --success-50: #ecfdf5;
    --success-100: #d1fae5;
    --success-500: #10b981;
    --success-600: #059669;
    --success-700: #047857;
    
    /* Cores roxas */
    --purple-400: #a78bfa;
    --purple-500: #8b5cf6;
    --purple-600: #7c3aed;
    
    /* Escala de cinzas */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 15px 30px -6px rgba(0, 0, 0, 0.12);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    
    /* Arredondamentos */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Tipografia */
    --font-main: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    
    /* Transições */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
  }
  
  /* Reset e configurações básicas */
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: var(--font-main);
    color: var(--gray-800);
    background-color: #f5f7fa;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Layout da calculadora */
  .calculator-section {
    padding: 3rem 0;
    width: 1200px;
    height: -webkit-fill-available;
    padding: 50px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff, var(--primary-50));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
  }
  
  .calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-600), #0066a4);
}
  
  
  .calculator-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  /* Cabeçalhos e títulos */
  .calculator-section h2 {
    font-size: 2.25rem;
    font-weight: 600;
    color: #0066a4;
    font-family: 'Poppins';
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.025em;
}

  
  .calculator-section h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: -webkit-fill-available;
    height: 4px;
    background: linear-gradient(to right, var(--primary-500), #0066a4);
    border-radius: 9999px;

  }
  
  .calculator-section p.text-lg {
    color: var(--gray-600);
    margin-top: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
    font-family: 'Poppins';
    max-width: 80%;
    font-weight: 500;
}
  
  
  /* Container principal */
  .calculator-main {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: var(--transition-normal);
    margin-top: -4.5rem;

  }
  
  .calculator-main:hover {
    transform: translateY(-3px);
  }
  
  .calculator-flex {
    display: flex;
    flex-direction: row;
  }
  
  /* Formulário */
  .calculator-form {
    padding: 0.5rem;
    flex: 1;
    background-color: white;
  }
  
  .form-group {
    margin-bottom: 20px;
  }

  .form-group:hover .form-helper,
.form-control:focus ~ .form-helper {
    opacity: 1;
    transform: translateY(0);
}

  
.form-label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.form-label span {
  background-color: #3b82f6;
  border-radius: 2px;
  height: 16px;
  width: 4px;
  margin-right: 8px;
}
  
  
  
  .form-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 12px 16px;
  }

  input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 0.5;
  height: 20px;
}

  .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    outline: none;
}

select option {
  padding: 10px;
  background-color: white;
}

select option:hover {
  background-color: var(--primary-50);
}

select.form-control::-ms-expand {
  display: none;
}
  
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
  
  .form-control::placeholder {
    color: var(--gray-400);
    font-style: italic;
    font-weight: 400;
  }
  
  /* Elementos numéricos */
  .form-control-number {
    position: relative;
  }
  
  .form-control-number::-webkit-inner-spin-button,
  .form-control-number::-webkit-outer-spin-button {
    opacity: 1;
    height: 2.5rem;
    width: 1.5rem;
    position: absolute;
    right: 0.5rem;
    cursor: pointer;
  }
  
  /* Checkboxes aprimorados */
  .checkbox-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 5px;
    width: 100%;
    margin-top: 1rem;
  }
  
 
  
  
  
  .custom-checkbox:hover {
    border-color: var(--primary-100);
    background-color: #f0f7ff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.15);
  }
  
  .custom-checkbox:hover::before {
    width: 100%;
  }
  
  .custom-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: white;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
  }
  
  .custom-checkbox input[type="checkbox"]:checked {
    background: var(--primary-600);
    border-color: var(--primary-600);
  }
  
  .custom-checkbox input[type="checkbox"]:checked::before {
    content: '';
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  
  .custom-checkbox:has(input[type="checkbox"]:checked) {
    background-color: #eef5ff;
    border-color: var(--primary-600);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  }
  
  .checkbox-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: var(--transition-normal);
    width: 24px;
    height: 24px;
  }
  
  .checkbox-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    transition: var(--transition-normal);
  }
  
  .custom-checkbox:hover .checkbox-icon img {
    transform: scale(1.1);
  }
  
  .checkbox-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-600);
    text-align: center;
    transition: var(--transition-normal);
  }
  
  .custom-checkbox:has(input[type="checkbox"]:checked) .checkbox-label {
    color: var(--primary-800);
  }
  
  /* Botão de cálculo */
  .calculate-button {
    
    align-items: center;
    justify-content: center;
    width: max-content;
    min-width: 200px;
    padding: 1.125rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-500), var(--primary-800));
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition-normal);
    margin-top: 2rem;
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
  }

  .dark-mode .calculator-section{
    background: #151515;
  }
  
  .calculate-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    transform: translateY(-100%);
    transition: var(--transition-normal);
  }

  .dark-mode .calculator-section h2{
    color: #0089ff;
  }

  .dark-mode .calculator-section p.text-lg{
    color: white;
  }

  .dark-mode .form-group label{
    font-family: 'Poppins';
    color: #ffffff;
    font-weight: 600;
  }

  .dark-mode .results-area{
    background-color: #151515;
  }

  

  .dark-mode .results-heading{
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Poppins';
    margin-bottom: 1.75rem;
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-100);
    position: relative;
}


  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Poppins';
    font-weight: 500;
    color: #151515;
}

  .dark-mode .calculator-form{
    background: #151515;
  }
  
  .calculate-button:hover {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  }
  
  .calculate-button:hover::before {
    transform: translateY(0);
  }
  
  .calculate-button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .calculate-button i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
  }
  
  /* Área de resultados */
  .results-area {
    padding: 2.5rem;
    background-color: var(--gray-50);
    flex: 1;
    border-left: 1px solid var(--gray-100);
    position: relative;
  }
  

  
  .results-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066a4;
    margin-bottom: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-100);
    position: relative;
  }
  
  .results-heading::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #0089ff;
  }
  
  .results-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-normal);
  }
  
  .results-card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
  }
  
  .result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--gray-100);
  }
  
  .result-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  
  .result-label {
    color: #151515;
    font-weight: 500;
    font-size: 1.00rem;
    font-family: 'Poppins';
  }
  
  .result-value {
    font-size: 1.25rem;
    font-weight: 500;
    font-family: 'Poppins';
    color: #151515;
    text-shadow: 0 1px 2px rgb(0 0 0 / 5%);
    letter-spacing: -0.025em;
  }
  
  /* Botão toggle */
  .toggle-details-button {
    background-color: #eef2ff;
    color: #0089ff;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    width: 100%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
  }
  
  .toggle-details-button::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #0089ff;
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
  }

  .dark-mode .disclaimer{
    color: white;
    font-family: 'Poppins';
    font-weight: 400;
    min-inline-size: -webkit-fill-available;
  }
  
  .toggle-details-button:hover {
    background-color: #e0e7ff;
    box-shadow: var(--shadow-md);
  }
  
  .toggle-details-button:hover::before {
    transform: scaleX(1);
  }
  
  .toggle-details-button i {
    margin-right: 0.75rem;
    font-size: 1.125rem;
    transition: var(--transition-normal);
  }
  
  .toggle-details-button:hover i {
    transform: rotate(180deg);
  }
  
  /* Detalhamento de custos */
  .cost-breakdown {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.75rem;
    margin-bottom: 2.5rem;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
  }
  
  .cost-breakdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #0089ff, var(--primary-500));
  }
  
  .breakdown-heading {
    display: flex;
    align-items: center;
    font-size: 1.35rem;
    font-weight: 600;
    color: #151515;
    font-family: 'Poppins';
    margin-bottom: 1.5rem;
    padding-bottom: 0.875rem;
    border-bottom: 3px solid var(--primary-100);
    }
  
  .fa-receipt:before {
    content: "\f543";
    color: #3b3d3f;
}

  .breakdown-heading i {
    margin-right: 0.875rem;
    color: var(--primary-600);
    font-size: 1.25rem;
  }
  
  .breakdown-items {
    padding: 0.75rem 0;
  }
  
  .breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 0.875rem;
    transition: var(--transition-normal);
  }
  
  .breakdown-item:hover {
    background-color: var(--gray-50);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: var(--radius-sm);
  }
  
  .breakdown-label {
    font-weight: 600;
    color: var(--gray-800);
  }
  
  .breakdown-value {
    font-family: 'Poppins';
    font-weight: 600;
    color: #151515;
  }
  
  /* Estilos de gráfico */
  .chart-container {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
  }
  
  .chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #000000, #bdbdbd);
  }
  
  .chart-container:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
  }
  
  .chart-heading {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    margin-top: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-800);
  }
  
  .chart-heading i {
    margin-right: 0.75rem;
    color: var(--primary-600);
    font-size: 1.25rem;
  }
  
  .chart-visualization {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 250px;
    padding: 40px 0 30px;
    position: relative;
  }
  
  .chart-visualization.two-columns .chart-column {
    width: 45%;
  }
  
  .chart-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    max-width: 140px;
    position: relative;
    transition: var(--transition-normal);
  }
  
  .chart-column:hover {
    transform: translateY(-5px);
  }
  
  .chart-bars {
    height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
  }
  
  .chart-bar {
    width: 100%;
    border-radius: 10px 10px 0 0;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    overflow: hidden;
  }
  
  .chart-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: var(--transition-normal);
  }
  
  .chart-bar:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  
  .chart-bar:hover::after {
    opacity: 1;
  }
  
  .chart-bar.labor {
    background: linear-gradient(to top, var(--success-600), var(--success-500));
  }
  
  .chart-bar.material {
    background: linear-gradient(to top, var(--primary-800), var(--primary-400));
  }
  
  .chart-bar.additional {
    background: linear-gradient(to top, var(--purple-600), var(--purple-400));
  }
  
  .chart-label {
    position: unset;
    bottom: -30px;
    text-align: center;
    font-weight: 500;
    font-family: 'Poppins';
    font-size: 0.95rem;
    color: var(--gray-800);
    width: 100%;
  }
  
  .chart-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    line-height: 1.3;
    width: 100%;
    padding: 0 5px;
    z-index: 2;
  }
  
  .chart-bar-value {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    background-color: white;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    z-index: 2;
  }
  
  .chart-percentage {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gray-800);
    margin-bottom: 15px;
    text-align: center;
  }
  
  /* Controles de gráfico */
  .toggle-chart-btn {
    display: flex;
    align-items: center;
    gap: 0px;
    font-family: 'Poppins';
    border: none;
    background: none;
    padding: 10px 12px;
    font-weight: 600;
    color: #151515;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
  }
  
  .toggle-chart-btn .chart-icon {
    margin-right: 8px;
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
  }
  
  .toggle-chart-btn.closed .plus-path.vertical {
    display: none;
  }
  
  .toggle-chart-btn.closed .plus-path.horizontal {
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform 0.3s ease;
  }
  
  .toggle-chart-btn:not(.closed) .plus-path.vertical {
    transform: rotate(0);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .toggle-chart-btn:not(.closed) .plus-path.horizontal {
    transform: rotate(0);
    transition: transform 0.3s ease;
  }
  
  .toggle-chart-btn.closed .chart-icon {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
  }
  
  .toggle-chart-btn .circle-path {
    transition: all 0.3s ease;
  }
  
  .toggle-chart-btn .plus-path.vertical {
    transition: all 0.3s ease;
  }
  
  .toggle-chart-btn.closed .plus-path.vertical {
    opacity: 0;
  }
  
  .chart-visualization.hidden,
  .chart-content.hidden {
    display: none;
    height: 0;
    overflow: hidden;
  }
  
  /* Projeção INCC */
  .incc-projection {
    border-top: 2px solid var(--gray-200);
    padding-top: 1.75rem;
    margin-top: 1.5rem;
    position: relative;
  }
  
  .incc-projection::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-500), var(--primary-800));
  }
  
  .incc-heading {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-family: 'Poppins';
    font-weight: 500;
    color: #151515;
    margin-bottom: 1.5rem;
  }
  
  .incc-heading i {
    margin-right: 0.75rem;
    color: var(--primary-600);
    font-size: 1.125rem;
  }

  .fa-chart-line:before, .fa-line-chart:before{
    color: #3b3d3f;
  }

  .fa-chart-line:before{
    color: #ffffff;
  }

  .dark-mode .results-heading::after{
    background-color: #ffffff;
  }
  
  #projected-cost {
    color: #151515;
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    font-family: 'Poppins';
  }
  
  .incc-note {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-style: italic;
    font-family: 'Poppins';
    margin-top: 1rem;
    line-height: 1.5;
    background-color: var(--gray-50);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-100);
  }
  
  /* Botões de ação */
  .action-buttons {
    display: flex;
    gap: 1.25rem;
    margin-top: 2.5rem;
  }
  
  .action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border: none;
  }
  
  .action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    transform: translateY(-100%);
    transition: var(--transition-normal);
  }
  
  .export-button {
    background: linear-gradient(to right, var(--primary-600), var(--primary-800));
    color: white;
  }
  
  .export-button:hover {
    background: linear-gradient(to right, var(--primary-700), var(--primary-900));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  /* Botão de compartilhamento com gradiente aprimorado */
.share-button {
    background: linear-gradient(to right, #059669, #047857) !important;
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    border: none;
  }
  
  .share-button:hover {
    background: linear-gradient(to right, #047857, #065f46) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .action-button i {
    margin-right: 0.5rem;
  }
  
  /* Disclaimer com legibilidade melhorada */
  .disclaimer {
    font-size: 0.85rem;
    margin-top: 1.25rem;
    color: #000000;
    font-family: 'Poppins';
    font-weight: 400;
    min-inline-size: -webkit-fill-available;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
  }
  
  /* Responsividade aprimorada */
  @media (max-width: 768px) {
    .calculator-flex {
      flex-direction: column;
      gap: 1.5rem;
    }
    
    .results-area {
      border-left: none;
      border-top: 1px solid #e5e7eb;
      padding-top: 1.5rem;
      margin-top: 1rem;
    }
    
    .checkbox-container {
      grid-template-columns: 1fr;
      gap: 0.75rem;
    }
    
    .action-buttons {
      flex-direction: column;
      gap: 0.75rem;
      align-items: stretch;
    }
    
    .action-button {
      width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .calculator-form,
    .results-area {
      padding: 1.25rem;
      border-radius: 0.5rem;
    }
    
    .result-row {
      flex-direction: column;
      align-items: flex-start;
      padding: 0.75rem 0;
    }
    
    .result-value {
      margin-top: 0.5rem;
      font-weight: 600;
    }
    
    .toggle-chart-btn {
      width: 100%;
      justify-content: space-between;
    }
  }
  
  /* Checkbox personalizado com design melhorado */
  .custom-checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
  }
  
  .custom-checkbox:hover {
    background-color: #edf5ff;
    border-color: #c1d8f7;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.1);
  }
  
  .custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
  }
  
  .custom-checkbox .checkbox-icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
  }
  
  .custom-checkbox .checkbox-label {
    font-weight: 600;
    font-family: 'Poppins';
    transition: all 0.3s ease;
    flex: 1;
  }
  
  .custom-checkbox input[type="checkbox"]:checked ~ .checkbox-label {
    color: #2563eb;
    font-weight: 600;
  }
  
  .custom-checkbox input[type="checkbox"]:checked ~ .checkbox-icon::after {
    content: "✓";
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #2563eb;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
  }
  
  .custom-checkbox input[type="checkbox"]:checked ~ * {
    color: #2563eb;
  }
  
  .custom-checkbox:has(input[type="checkbox"]:checked) {
    background-color: #edf5ff;
    border-color: #2563eb;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.2);
  }
  
  /* Estilos refinados para ícones e imagens */
  
  
  .custom-checkbox:hover .checkbox-icon img {
    transform: scale(1.1);
  }
  
  /* Animações melhoradas para o botão de gráfico */
 
  
  .toggle-chart-btn:hover {
    background-color: rgba(37, 99, 235, 0.05);
  }
  
  
  .toggle-chart-btn.closed .plus-path.vertical {
    display: none;
  }
  
  .toggle-chart-btn.closed .plus-path.horizontal {
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform 0.3s ease;
  }
  
  .toggle-chart-btn:not(.closed) .plus-path.vertical {
    transform: rotate(0);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .toggle-chart-btn:not(.closed) .plus-path.horizontal {
    transform: rotate(0);
    transition: transform 0.3s ease;
  }
  
  .toggle-chart-btn.closed .chart-icon {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
  }
  
  .toggle-chart-btn .circle-path {
    transition: all 0.3s ease;
  }
  
  .toggle-chart-btn .plus-path.vertical {
    transition: all 0.3s ease;
  }
  
  .toggle-chart-btn.closed .plus-path.vertical {
    opacity: 0;
  }
  
  /* Visualização de gráficos */
  .chart-visualization.hidden {
    display: none;
  }
  
  .chart-content.hidden {
    display: none;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
  }
  
  .chart-visualization {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 250px;
    padding: 40px 0 30px;
    position: relative;
    margin-top: 1rem;
    border-top: 1px solid #e5e7eb;
  }
  
  .chart-visualization.two-columns .chart-column {
    width: 45%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    transition: all 0.3s ease;
  }
  
  .chart-visualization .chart-column:hover {
    transform: translateY(-5px);
  }
  
  /* Estilos para formulários e campos */
  .calculator-form select,
  .calculator-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background-color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  .calculator-form select:hover,
  .calculator-form input:hover {
    border-color: #2563eb;
  }
  
  .calculator-form select:focus,
  .calculator-form input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  }
  
  /* Botão principal de cálculo */
  .calcular-estimativa-btn {
    background-color: #2563eb;
    color: white;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1.5rem;
  }
  
  .calcular-estimativa-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* Seção de resultados */
  .results-area {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }
  
  .result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .result-row:last-child {
    border-bottom: none;
  }
  
  .results-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
  }
  
  .results-title i {
    margin-right: 0.5rem;
    color: #2563eb;
  }

  .form-helper {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.2s ease;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
  transition: var(--transition-normal);
  background-color: white;
}

.select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--primary-600);
  transition: var(--transition-normal);
}

.select-wrapper:hover .select-icon {
  color: var(--primary-800);
  transform: translateY(-50%) translateY(2px);
}

.select-wrapper:hover select {
  border-color: var(--primary-400);
  background-color: var(--primary-50);
}

#construction-type {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: none !important;
}

#construction-type::-ms-expand {
  display: none;
}

#construction-type::-webkit-calendar-picker-indicator {
  display: none !important;
  -webkit-appearance: none;
}