/* =========================================
   ESTILOS DA TELA DE APONTAMENTOS
   ========================================= */

.apontamento-container {
    max-width: 700px;
    margin: 0 auto;
}

.apontamento-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-200);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apontamento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.apontamento-form .form-group {
    margin-bottom: 1.5rem;
}

.apontamento-form label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    display: block;
}

.apontamento-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    background-color: var(--gray-50);
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.apontamento-form .form-control:focus {
    background-color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); /* Sombra azul suave */
    outline: none;
}

.apontamento-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.helper-text {
    display: block;
    margin-top: 0.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
    font-style: italic;
}

.form-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

/* Estilo do botão de envio */
.btn-submit-apontamento {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit-apontamento:hover {
    background-color: var(--primary-hover);
}

.btn-submit-apontamento:active {
    transform: scale(0.98);
}

/* Texto de feedback abaixo do card */
.feedback-text {
    margin-top: 2rem;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ... (todo o seu código anterior) ... */

/* =========================================
   CORREÇÃO VISUAL DO SELECT2
   ========================================= */

/* Ajusta a caixa principal do Select2 para parecer com seus inputs */
.select2-container--default .select2-selection--single {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-300) !important;
    border-radius: 0.5rem !important;
    height: 50px !important; /* Altura para combinar com os outros campos */
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

/* Efeito de Foco (quando clica) igual ao do textarea */
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    background-color: white;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
    outline: none;
}

/* Ajusta o texto dentro do Select2 */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--gray-700) !important;
    line-height: normal !important;
    padding-left: 1rem !important;
    font-size: 1rem !important;
}

/* Ajusta a posição da setinha para baixo */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 10px !important;
}

/* Ajusta o texto do placeholder */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--gray-500);
}