/* Orçamento Page Specific Styles */

/* Orçamento Section */
.orcamento-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.section-header {
    text-align: left;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    color: #000000;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    text-align: left;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background: #9beb24;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #5a6c7d;
    font-weight: 300;
    margin: 15px 0 0 0;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(155, 235, 36, 0.1);
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Form Styles */
.orcamento-form {
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
}

/* Input Container */
.input-container {
    position: relative;
    margin-bottom: 30px;
}

.input-container input {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 2px solid #e9ecef;
    background: transparent;
    font-size: 1rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 25px;
}

.input-container input:focus {
    outline: none;
    border-bottom-color: #9beb24;
}

.input-container input:focus + label,
.input-container input:valid + label,
.input-container input:not(:placeholder-shown) + label,
.input-container.filled label {
    transform: translateY(-40px) scale(0.8);
    color: #9beb24;
}

.input-container label {
    position: absolute;
    left: 0;
    top: 40px;
    color: #5a6c7d;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    transform-origin: left top;
    background: white;
    padding-right: 5px;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9beb24, #8bd21f);
    transition: width 0.3s ease;
}

.input-container input:focus ~ .input-line {
    width: 100%;
}

/* Select Container */
.select-container {
    position: relative;
    margin-bottom: 30px;
}

.select-container select {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 2px solid #e9ecef;
    background: transparent;
    font-size: 1rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 25px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.select-container select:focus {
    outline: none;
    border-bottom-color: #9beb24;
}

.select-container select:focus + label,
.select-container select:valid + label {
    transform: translateY(-40px) scale(0.8);
    color: #9beb24;
}

.select-container label {
    position: absolute;
    left: 0;
    top: 40px;
    color: #5a6c7d;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    transform-origin: left top;
    background: white;
    padding-right: 5px;
}

.select-arrow {
    position: absolute;
    right: 0;
    top: 55px;
    color: #5a6c7d;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.select-container select:focus ~ .select-arrow {
    color: #9beb24;
}

.select-container .input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9beb24, #8bd21f);
    transition: width 0.3s ease;
}

.select-container select:focus ~ .input-line {
    width: 100%;
}

/* Textarea Container */
.textarea-container {
    position: relative;
    margin-bottom: 30px;
}

.textarea-container textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 2px solid #e9ecef;
    background: transparent;
    font-size: 1rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    min-height: 120px;
    margin-top: 25px;
}

.textarea-container textarea:focus {
    outline: none;
    border-bottom-color: #9beb24;
}

.textarea-container textarea:focus + label,
.textarea-container textarea:valid + label {
    transform: translateY(-40px) scale(0.8);
    color: #9beb24;
}

.textarea-container label {
    position: absolute;
    left: 0;
    top: 40px;
    color: #5a6c7d;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    transform-origin: left top;
    background: white;
    padding-right: 5px;
}

.textarea-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9beb24, #8bd21f);
    transition: width 0.3s ease;
}

.textarea-container textarea:focus ~ .textarea-line {
    width: 100%;
}

/* Radio Group Styles */
.radio-group {
    margin-bottom: 30px;
}

.radio-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    cursor: default;
}

.radio-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
    color: #5a6c7d;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid transparent;
}

.radio-option:hover {
    color: #9beb24;
    background: rgba(155, 235, 36, 0.05);
    border-color: rgba(155, 235, 36, 0.2);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    background: white;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #9beb24;
    background: #9beb24;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.radio-option input[type="radio"]:checked ~ * {
    color: #9beb24;
    font-weight: 600;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    position: relative;
    background: linear-gradient(135deg, #9beb24, #8bd21f);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(155, 235, 36, 0.3);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(155, 235, 36, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn.loading {
    background: linear-gradient(135deg, #7dd3fc, #9beb24);
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-icon {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: block;
}

.form-info {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #5a6c7d;
    font-size: 0.9rem;
}

.form-info i {
    color: #9beb24;
}

/* Add People Section */
.add-people-section {
    background: #f8f9fa;
    border: 2px dashed #9beb24;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.add-people-header h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-people-header h4 i {
    color: #9beb24;
}

.add-people-header p {
    color: #5a6c7d;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Estilo específico para o botão "Adicionar Pessoa" */
#btnAdicionarPessoa {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

#btnAdicionarPessoa:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

#btnAdicionarPessoa:active {
    transform: translateY(0);
}


/* Pessoas Adicionais Container */
.pessoas-adicionais-container {
    margin-bottom: 30px;
}

.pessoa-adicional {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pessoa-adicional:hover {
    border-color: #9beb24;
    box-shadow: 0 8px 25px rgba(155, 235, 36, 0.1);
}

.pessoa-adicional-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.pessoa-adicional-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pessoa-adicional-title i {
    color: #9beb24;
}

.btn-remover-pessoa {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-remover-pessoa:hover {
    background: #c82333;
    transform: scale(1.1);
}

.pessoa-adicional-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pessoa-adicional-grid .form-group.full-width {
    grid-column: span 2;
}

/* Resumo de Vagas */
.resumo-vagas {
    background: linear-gradient(135deg, #9beb24 0%, #7bc142 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(155, 235, 36, 0.2);
}

.resumo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.resumo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.resumo-item.total {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.resumo-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 5px;
}

.resumo-value {
    font-size: 1.2rem;
    color: white;
    font-weight: 700;
}

.resumo-item.total .resumo-value {
    font-size: 1.5rem;
    font-weight: 800;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 30px 20px;
        margin: 0 15px;
        border-radius: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .radio-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .radio-option {
        padding: 15px 20px;
        border-radius: 12px;
        background: rgba(248, 249, 250, 0.8);
        border: 2px solid rgba(155, 235, 36, 0.1);
    }
    
    .radio-custom {
        width: 24px;
        height: 24px;
        border-width: 3px;
    }
    
    .radio-option input[type="radio"]:checked + .radio-custom::after {
        width: 10px;
        height: 10px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 18px 30px;
    }
    
    .pessoa-adicional-grid {
        grid-template-columns: 1fr;
    }
    
    .pessoa-adicional-grid .form-group.full-width {
        grid-column: span 1;
    }
    
    .resumo-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .resumo-item {
        width: 100%;
    }
}

/* Garantir que labels com valor se movam para cima */
.input-container input[value]:not([value=""]) + label,
.input-container input:not([value=""]) + label {
    transform: translateY(-40px) scale(0.8) !important;
    color: #9beb24 !important;
}

/* Regra específica para campos com placeholder preenchido */
.input-container input[placeholder]:not([placeholder=""]) + label {
    transform: translateY(-40px) scale(0.8) !important;
    color: #9beb24 !important;
}

/* Estilos para campos disabled/readonly */
.input-container select:disabled,
.input-container input:disabled {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.8;
}

.input-container.readonly-field select:disabled,
.input-container.readonly-field input:disabled {
    background-color: #e9ecef !important;
    border-color: #dee2e6 !important;
}

.input-container.readonly-field select:disabled + label,
.input-container.readonly-field input:disabled + label {
    color: #6c757d !important;
}

/* Ícone de cadeado para campos bloqueados - REMOVIDO */
.field-lock-icon {
    display: none !important;
}

/* Padding removido - ícones de cadeado não são mais exibidos */