@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,800;0,900;1,600;1,700&display=swap');

html {
    overflow-x: hidden;
}


body {
    font-size: 1.6rem;
    font-family: 'Montserrat', sans-serif !important;
    color: var(--gray-lg) !important;
    background: #F3F4F6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--gray-one);
}

.content {
    margin: 2rem;
}

.painel {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 15px 50px rgba(160,163,189,.1);
}

/*Selecionar com mouse*/
::-moz-selection {
  color: white;
  background: var(--blue-three);
}

::selection {
  color: white;
  background: var(--blue-three);
}


/**** Barra de rolagem ******/
::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar {
	width: 8px;
    height: 8px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: rgba(153,153,153,70%);
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 200,
  'GRAD' 0,
  'opsz' 48
}

/***** Largura ****/
.w1 { width: 1%; }
.w2 { width: 2%; }
.w3 { width: 3%; }
.w4 { width: 4%; }
.w5 { width: 5%; }
.w6 { width: 6%; }
.w7 { width: 7%; }
.w8 { width: 8%; }
.w9 { width: 9%; }
.w10 { width: 10%; }
.w14 { width: 14%; }
.w15 { width: 15%; }
.w20 { width: 20%; }
.w25 { width: 25%; }
.w30 { width: 30%; }
.w32 { width: 32%; }
.w33 { width: 33%; }
.w35 { width: 35%; }
.w40 { width: 40%; }
.w45 { width: 45%; }
.w50 { width: 50%; }
.w55 { width: 55%; }
.w60 { width: 60%; }
.w65 { width: 65%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w85 { width: 85%; }
.w90 { width: 90%; }
.w95 { width: 95%; }
.w100 { width: 100%; }

/*Margin*/
.mt-50 {
    margin-top: 50px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-60 {
    margin-top: 6rem !important;
}

.m-20 {
    margin: 20px;
}

/******** Texto *******/
.small {
    font-size: 13px !important;
    margin: 0;
}

.uppercase {
    text-transform: uppercase;
}

a {
    text-decoration: none;
    word-break: break-all;
}

.italic {
    font-style: italic;  
}

.p-0 p {
    margin-bottom: 0;
}

.font-strong {
    font-weight: 700;
}

.font-bold {
    font-weight: 600;
}

/****** Alinhamento *******/
.start {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.space-evenly {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.space-around {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.grid-center {
    display: grid;
    justify-items: center;
}

.grid {
    display: grid;
}

.search-field {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #E7E9ED;
    padding: 3px 10px;
    color: #878ca2;
    border-radius: 5rem;
    width: 270px;
}

.search-field > * {
    font-size: 15px;
}

.search-field input {
    outline: none;
    border-radius: 2.5rem;
    border: 1px solid #e7e9ed;
    padding: 5px 15px;
    font-family: 'Montserrat', sans-serif;
    transition: border 250ms linear;
}

.search-field input:focus-visible {
    border-color: rgba(4,162,255,.35);
    box-shadow: 0 0 0 1px var(--blue-two),0 0 3px 1px rgba(4,162,255,.55),inset 0 0 3px 0 rgba(4,162,255,.55);
}


/***** Tabela ****/
.table-content {
    margin: 2rem 0;
    overflow-x: auto;
}

.table-content > table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.table-content th {
    font-size: 15px;
    letter-spacing: 1px;
}

.table-content thead {
    background: #E7E9ED;
    color: var(--gray-2);
}

.table-content th {
    padding: 5px 12px;
}

.table-content tbody > tr {
    border-bottom: 0.5px solid #f1f1f1;
}
.table-content td {
    padding: 5px 10px;
    word-wrap: break-word;
    font-size: 14px;
    color: var(--gray-3);
}

.table>:not(caption)>*>* {
    background-color: white;
    border-bottom-width: 1px;
    padding: 0.5px;
}

.table-pagination {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: 14px;
    justify-content: center;
}

.table-pagination > * {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.table-pagination select {
    width: 80px;
    border: none;
    background: #ddd;
    border-radius: 3px;
    padding: 5px
}

.btn-disabled {
    background: #eee !important;
    color: #888 !important;
    border: none !important;
    cursor: no-drop !important; 
    box-shadow: none !important;
    pointer-events: none !important;
}

.btn-pattern {
    padding: 8px 40px;
    height: 40px;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    border-radius: 5rem;
    font-family: 'Montserrat', sans-serif;
    border: none;
    transform-style: preserve-3d;
    transition: background .3s ease,box-shadow .3s ease;
}

.btn-pattern:hover {
    opacity: 0.7;
}

.btn-edition {
    border: none;
    background: #fcdec9;
    color: var(--blue-three);
    font-size: 18px;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3px;
}

.size-btn {
    width: 150px;
}


.bg-blue-one {
    background: var(--blue-one);
    box-shadow: 5px 10px 32px -2px rgba(120, 115, 238,0.4);
}
.bg-blue-two {
    background: var(--blue-two);
    box-shadow: 5px 10px 32px -2px rgba(75, 169, 255,0.4);
}
.bg-blue-three {
    background: var(--blue-three);
    box-shadow: 5px 10px 32px -2px rgba(75, 169, 255,0.4);
}
.bg-red {
    background: var(--red-one);
    box-shadow: 5px 10px 10px -2px rgba(210, 54, 51,0.4);
}
.bg-orange {
    background: var(--orange-one);
    box-shadow: 5px 10px 32px -2px rgba(255, 151, 75,0.4);
}
.bg-yellow-one {
    background: var(--yellow-one);
    box-shadow: 5px 10px 32px -2px rgba(255, 194, 75,0.4);
}
.bg-yellow-two {
    background: var(--yellow-two);
    box-shadow: 5px 10px 32px -2px rgba(242, 171, 0,0.4);
}
.bg-green {
    background: var(--green-one);
    box-shadow: 5px 10px 32px -2px rgba(14, 181, 120,0.4);
}
.bg-gray {
    background: var(--gray-4);
    box-shadow: 5px 10px 32px -2px rgba(188, 200, 219,0.4);
}
.bg-gradient-blue {
    background: var(--gradient-blue);
    box-shadow: -2px 1px 26px -6px rgba(9,148,255,.9);
}
.bg-gradient-yellow {
    background: var(--gradient-yellow);
    box-shadow: -2px 1px 26px -6px rgba(255,163,36,.9);
}
.bg-gradient-orange {
    background: var(--gradient-mustard-red);
    box-shadow: -2px 1px 26px -6px rgba(255,160,0,.9);
}

.pagination-button {
    background-color: var(--blue-three);
    color: white;
    border-radius: 5rem;
    font-size: 16px;
    border: none;
    width: 30px;
    height: 30px;
    padding: 5px;
    cursor: pointer;
}

.pagination-button[disabled] {
    opacity: 0.9;
    pointer-events: none;
}

.pagination-button:hover {
    background-color: #ccc;
    animation: shake 2s ease infinite;
}

@keyframes shake {
	0%, 100% {transform: translateX(0);}
	10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);}
	20%, 40%, 60%, 80% {transform: translateX(10px);}
}

/*** Tooltip ***/
[data-tooltip] {
  position: relative;
  cursor: pointer;
}

[data-tooltip]:before {
  content: attr(data-tooltip);
  display: none;
  position: absolute;
  top: -50px;
  left: -100px;
  width: 130px;
  /* z-index: 100; */
  padding: 10px;
  font-size: 14px;
  background: rgba(0,0,0, 90%);
  color: white;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
}

[data-tooltip]:hover:before {
  display: inline-block;
}


/****** Fotos *****/
.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.photo-container-large {
    width: 150px;
    height: 150px;
    border-radius: 5rem;
    overflow: hidden;
    border: 4px solid var(--red-one);
    box-shadow: 5px 17px 32px -2px rgba(255, 74, 183, 0.3);
}

.photo-container-medium {
    width: 100px;
    height: 100px;
    border-radius: 5rem;
    overflow: hidden;
    border: 4px solid var(--orange-one);
    box-shadow: 5px 17px 32px -2px rgba(100, 100, 111, 0.21);
}

.photo-container-small {
    width: 55px;
    height: 55px;
    border-radius: 5rem;
    overflow: hidden;
    border: 3px solid var(--blue-three);
    box-shadow: 0 3px 6px 0 rgba(199, 85, 237, 0.2), 
    0 -3px 6px 0 rgba(0, 200, 250, 0.26);
}

.photo-container-small-yellow-two {
    width: 55px;
    height: 55px;
    border-radius: 5rem;
    overflow: hidden;
    border: 3px solid var(--yellow-two);
    box-shadow: 0 3px 6px 0 rgba(199, 85, 237, 0.2), 
    0 -3px 6px 0 rgba(0, 200, 250, 0.26);
}

.overflow-x {
    overflow-x: auto !important;
}

@media (min-width: 240px) and (max-width: 1000px){
    .d-flex {
        display: grid !important;
    }

    .start, .center, .end {
        display: grid;
    }

    .space-between {
        display: grid;
    }

    .space-evenly {
        display: grid;
    }

    .space-around {
        display: grid;
    }

    .content {
        margin: 2rem 1rem;
    }

    .table-pagination {
        display: grid;
        margin: 30px 0;
    }

    .w15, .w20, .w25, .w30, .w32, .w33, 
    .w40, .w45, .w50, .w55, .w70, .w75, 
    .w80, .w85, .w90, w95 {
        width: 100%;
    }
}

@media (min-width: 240px) and (max-width: 1050px) {
    footer .center {
       display: flex !important; 
    }
}