/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/


/**
 * Custom variables for Bootstrap 5 inspired by provided color scheme
 */
:root {
  --bs-blue: #286090; /* Original: #0d6efd */
  --bs-indigo: #4b4e6d; /* Original: #6610f2 */
  --bs-purple: #6e5480; /* Original: #6f42c1 */
  --bs-pink: #a75d6a; /* Original: #d63384 */
  --bs-red: #a94442; /* Original: #dc3545 */
  --bs-orange: #d35400; /* Original: #fd7e14 */
  --bs-yellow: #8a6d3b; /* Original: #ffc107 */
  --bs-green: #3c763d; /* Original: #198754 */
  --bs-teal: #31708f; /* Original: #20c997 */
  --bs-cyan: #245269; /* Original: #0dcaf0 */
  --bs-white: #fff;
  --bs-gray: #777777; /* Original: #6c757d */
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #337ab7; /* Original: #0d6efd */
  --bs-secondary: #6C757D; 
  --bs-success: #3c763d; /* Original: #198754 */
  --bs-info: #31708f; /* Original: #0dcaf0 */
  --bs-warning: #8a6d3b; /* Original: #ffc107 */
  --bs-danger: #a94442; /* Original: #dc3545 */
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-cancel: #E9ECEF; 

  /* RGB values are approximate translations of the hex colors */
  --bs-primary-rgb: 51, 122, 183; /* Original: 13, 110, 253 */
  --bs-secondary-rgb: 108, 117, 125; 
  --bs-success-rgb: 60, 118, 61; /* Original: 25, 135, 84 */
  --bs-info-rgb: 49, 112, 143; /* Original: 13, 202, 240 */
  --bs-warning-rgb: 138, 109, 59; /* Original: 255, 193, 7 */
  --bs-danger-rgb: 169, 68, 66; /* Original: 220, 53, 69 */
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-cancel-rgb: 233, 236, 239; 
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-root-font-size: 14px;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
}


.h6, h6 {
    font-size: 1.125rem;
}

  .table-bordered > thead > tr > th {
    border: 1px solid #dadada;
  }
  .table-bordered > thead > tr > td {
    border: 1px solid #dadada;
  }
  
 .survey-description {
    background-color:#000000;
    font-weight:bold;
    font-size:22px;
    line-height:1;
    color:#FFF !important;
    padding: 10px;
    margin: 30px auto;
}

.logo-container > img {
    max-height: 90px;
    padding: 15px 0px;
    width: auto;
}

.asterisk {
    margin-right: 8px;
    vertical-align: sub !important;
}

.space-col {
    margin-top: 0.5em;
    margin-bottom: 1em;
}


/* Etiquetas das perguntas com várias caixas ("N.º de horas por semana", "1.",
   "Tempo de serviço (anos)"…) alinhadas à esquerda também em ecrã largo — o base.css
   do vanilla alinha-as à direita a partir de 769 px. Vale para todos os temas
   vanilla-V6-*. Pedido da FENPROF, 06/10/2026. */
body .form-horizontal .control-label.col-12 {
  text-align: left;
}

/* Caixas dos campos numéricos ("Quantos tempos semanais?", "Com que frequência…",
   "Tempo de serviço (anos)"…) com largura máxima: o número continua alinhado à direita,
   como é norma, mas a caixa deixa de ocupar a linha toda, e o número fica perto da
   pergunta. Vale para todos os temas vanilla-V6-*. Pedido da FENPROF, 07/10/2026. */
body input[data-number="1"] {
  max-width: 10em;
}
