﻿:root {
    --font-title: #2074C0;
}

.pc-container .pc-content {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 30px;
    padding-bottom: 20px;
}

h1 {
    font-size: 1.6rem;
    color: var(--font-title)
}

.table thead th {
    font-size: 0.8rem;
}

.table td {
    font-size: 0.8rem;
}

.page-breadcrumb .breadcrumb-item a {
    color: var(--font-title)
}

hr {
    padding-top: 10px;
    margin-top: 15px !important;
}

.app-field {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* LABEL */
.app-field-label {
    margin-bottom: 0.35rem;
    font-weight: 500;
    color: #495057;
    transition: color 0.2s ease;
}

/* LABEL COM ERRO */
.app-field.has-error .app-field-label {
    color: #dc3545;
}

/* INPUT BASE */
.form-control {
    transition: all 0.2s ease;
}

    /* INPUT COM ERRO */
    .form-control.is-invalid {
        border-color: #dc3545;
        background-image: none;
        padding-right: 2.2rem;
        box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.12);
    }

/* ÍCONE DE ERRO */
.app-field.has-error::after {
    content: "⚠";
    position: absolute;
    right: 10px;
    top: 38px;
    font-size: 0.9rem;
    color: #dc3545;
    pointer-events: none;
}

/* MENSAGEM DE ERRO */
.app-field .validation-message,
.app-field .field-validation-error,
.app-field .text-danger {
    color: #dc3545;
    font-size: 0.82rem;
    margin-top: 0.25rem;
    font-weight: 400;
}

/* INPUT FOCUS (mesmo com erro) */
.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.18rem rgba(220, 53, 69, 0.18);
}