@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --primary-color: #071d41;
    --secondary-color: #0c7d47;
    --text-color: #333333;

    --secondary-background-color:rgba(12, 125, 70, 0.44);

    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray: #808080;
    --color-red: #ff0000;

    --card-bg:rgb(236, 236, 236);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

a {
    color: inherit;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
    font-weight: 700;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--primary-dark);
    margin: 0.5rem 0;
    font-weight: 600;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin: 0 0 1.5rem;
    font-weight: 600;
}

h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-dark);
    margin: 0.5rem 0;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0 0 0.5rem;
}

.container-all-with-header {
    min-height: 95vh;
}

.container-all-with-header-footer {
    min-height: 90vh;
    overflow: auto;
}

.centralize {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.card {
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: 10px 20px 30px var(--shadow-color);
    margin: 20px;
    padding: 20px;
    max-width: 31rem;
    transition: transform 0.3s ease;
}

.text-center {
    text-align: center;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-danger {
    background-color: var(--color-red);
    color: var(--color-white);
}

.btn-danger:hover {
    background-color: darken(var(--color-red), 10%);
    transform: translateY(-2px);
}

.container-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-control {
    width: 100%;
    padding: 12px 0px 12px 50px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.d-flex {
    display: flex;
}

.flex-centralize {
    justify-content: center;
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.container-input {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-label {
    margin-bottom: 0.5rem;
}

.text-muted {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.text-danger {
    color: var(--color-red);
    font-size: 0.9rem;
}

.alert-danger {
  background-color: #ffe6e6;
  border: 1px solid var(--color-red);
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: var(--color-red);
  width: 100%;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid var(--color-gray);
    min-width: 10rem;
}

thead tr th {
    color: var(--color-gray);
    font-size: 1.2rem;
}

.container-table {
    margin: 2rem 2rem;
    overflow: auto;
}

.page-title {
    margin: 1rem 0;
}

.btn-table {
    width: auto !important;
}

input[type="checkbox"] {
   position: absolute;
   opacity: 0;
   visibility: hidden;
}

.container-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}

.container-checkbox .checkmark {
    display: block;
    width: 20px;
    height: 20px;
    background-color: var(--color-gray);
    border: solid 1px var(--color-gray);
    border-radius: 5px;
    cursor: pointer;
}

.container-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.container-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✔';
    position: relative;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

li {
    text-align: left;
    margin: 0.5rem 0;
}

.container-title-pages {
    margin-top: 1rem;
    margin-left: 1rem;
}

.container-btn-return-page {
    width: fit-content;
}

.errorlist {
    margin: 0;
}

.errorlist li {
    margin: 0;
}