@import url("./config/icons.css");
@import url("./config/icons_color.css");
@import url("./config/load.css");
@import url("./config/progress.css");
@import url("./config/notifications.css");
@import url("./config/font.css");

:root {
    --c0: #fafff0;
    --c1: #120c3c;
    --c2: #37afc3;
    --c3: #40c4f2;
    --c4: #90c73e;

    --c5: #1774dd;
    --c6: #007bff;
    --c7: #0140a5;
    --c8: #8e44ad;
    --c9: #de2336;
    --c10: #e75444;
    --c11: #f39c12;
    --c12: #e67e22;
    --c13: #28a745;

    --c14: #1abc9c;
    --c15: #34495e;
    --c16: #2c3e50;
    --c17: #003366;
    --c18: #1f242a;
    --c19: #bdc3c7;

    --c20: #e2e2f9;
    --c21: #ffffff;
    --c22: #dcfce7;
    --c23: #155724;
    --c24: #f8d7da;
    --c25: #721c24;
    --c26: #fef9e7;
    --c27: #ffc107;
    --c28: #856404;
    --c29: #d1ecf1;
    --c30: #0c5460;
    --c31: #e2e3e5;
    --c32: #6c757d;
    --c33: #383d41;
    --c34: #f4f4f4;
    --c35: #e6e8ee;

    --ca1: #005f8d;
    --ca2: #0077b6;
    --ca3: #ffb805;
    --ca4: #fb8500;
    --ca5: #e76f51;
    --ca6: #e63946;
    --ca7: #ff006e;
    --ca8: #00ffcc;
}

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    -webkit-box-flex: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body[class="smooth"],
html[class="smooth"] {
    width: 100%;
    overflow: hidden;
    scroll-behavior: smooth;
    position: relative;
}

html {
    font-size: 90%;
    scroll-behavior: smooth;
}

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

th,
td {
    text-align: left;
    vertical-align: top;
}


section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}


a {
    color: black;
    text-decoration: none;
}


button {

    border: none;
    cursor: pointer;
    border-radius: 4px;
}

button.btn {
    position: relative;
    z-index: 0;
    border: none;
    background: var(--c1);
    color: white;
    cursor: pointer;
    min-height: 2rem;
    border-radius: 4px;
}

button.btn:hover {
    background: var(--c2);
}

del {
    text-decoration: line-through;
}

/* ***********************************************************************DASHBOARD */
input[type="text"] {
    padding-left: 1rem;
}

input[type="text"],
textarea {
    border: none;
    min-height: 2rem;
    /* padding: 2px 0 0 1rem; */
    background: white;
    border: solid 1px gainsboro;
    font-family: "f2";
    color: black;
    border-radius: 4px;
}

input[type="text"]::placeholder {
    font-family: "f1";
    font-size: 0.8rem;
    color: gray;
}

input[type="text"]:focus-visible {
    background: var(--c22);

}

input[type="text"]:focus,
textarea:focus {
    border: solid 2px var(--c5);
    background: var(--c22);
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background: var(--c4);
    border-radius: 4px;
}

::-webkit-scrollbar-corner {
    background: none;
}

.element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: auto;
    -webkit-mask-image: url("../icon/default/m-bg-009.svg");
    mask-image: url("../icon/default/m-bg-009.svg");
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: bottom;
    mask-position: bottom;
}

.nowrap {
    text-wrap: nowrap;
}

.left {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

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

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

.row {
    display: flex;
    flex-direction: row;
}

.row.jcsb {
    justify-content: space-between;
}

.container {
    display: flex;
    max-width: 110rem;
    width: 100%;
    height: auto;
}

.gt-tmp-form {
    display: grid;
    grid-template-columns: 12rem auto;
    gap: .5rem;
}

.gap-x0 {
    gap: 0;
}

.gap-x-5 {
    gap: .5rem;
}

.gap-x1 {
    gap: 1rem;
}

.gap-x2 {
    gap: 2rem;
}

.gap-x3 {
    gap: 3rem;
}

.gap-x4 {
    gap: 4rem;
}

.gap-x5 {
    gap: 5rem;
}

.gap-x6 {
    gap: 6rem;
}

/* ****************************************************************GRID */
.gt-x1 {
    display: grid;
    grid-template-columns: auto;
}

.gt-x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.gt-x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.gt-x4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.gt-x5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.gt-x6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.gt-x7 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.gt-x8 {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}

.gt-x9 {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
}

.gt-x10 {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
}

.break-word {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

.width-100 {
    width: 100%;
}

.btn-view {
    background-color: var(--c5);
}

.btn-edit {
    background-color: var(--c8);
}

.btn-delete {
    background-color: var(--c6);
}

.btn-pdf {
    background-color: red;
}

.btn-add-contact {
    background-color: var(--c7);
}

.action-btn {
    padding: 6px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.6rem;
    transition: background-color 0.3s ease;
    color: var(--c12);
    position: relative;
    width: 2.3rem;
    height: 2.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(.8);
    transition: all .2s;
    z-index: 0;
}

.action-btn .txt,
.action-btn span {
    display: none;
    position: absolute;
    bottom: 110%;
    padding: 4px 0.5rem;
    background: var(--c1);
    color: white;
    font-family: "f2";
    font-size: 0.7rem;
    border-radius: 4px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    min-width: 2rem;
    width: auto;
    max-width: 12rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 6px;
    transform: scale(0.9);
}

.action-btn .txt p,
.action-btn .txt b {
    font-size: 0.7rem;
}

.action-btn i {
    color: white;
}

.action-btn:hover .txt,
.action-btn:hover span {
    display: flex;
}

.action-btn:hover {
    opacity: 1;
    transform: scale(1);
    box-shadow: rgba(0, 0, 0, 0.4) 2px 2px 3px;
    transform: scale(1);
    z-index: 20;
}

.action-btn u {
    width: 100%;
    height: 100%;
}

.action-btn u>div {
    background: white;
}

.action-btn.tag-left span {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.action-btn.tag-right span {
    left: 0;
    right: auto;
    /* transform: translateX(100%); */
}

.action-btn.bottom span{
    bottom: -100%;
    left: 0;
}

.fa-solid,
.fas {
    font-size: .8rem;
}

/* ******************************************************************************TEMPLATE RESPONSIVE HORIZONTA */
@media (max-width: 7680px) {}

@media (max-width: 5120px) {}

@media (max-width: 3840px) {}

@media (max-width: 2560px) {}

@media (max-width: 2560px) {
    html {
        font-size: 100%;
        scroll-behavior: smooth;
    }
}

@media (max-width: 1920px) {
    .container {
        max-width: 80vw;
    }

    html {
        font-size: 85%;
    }
}

@media (max-width: 1680px) {}

@media (max-width: 1440px) {}

@media (max-width: 1200px) {
    .container {
        width: 85vw;
    }

    .gt-x8,
    .gt-x7,
    .gt-x6 .gt-x5,
    .gt-x4,
    .gt-x3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {}

@media (max-width: 768px) {
    .container {
        width: 90vw;
    }

    .gt-tmp-form {
        grid-template-columns: 7rem auto;
    }
}

@media (max-width: 640px) {

    .gt-x8,
    .gt-x7,
    .gt-x6,
    .gt-x5,
    .gt-x3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .gt-x4,
    .gt-x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    .gt-x8,
    .gt-x7,
    .gt-x6,
    .gt-x5,
    .gt-x4,
    .gt-x3,
    .gt-x2 {
        grid-template-columns: auto;
    }

    .container {
        width: 95vw;
    }

    .gt-tmp-form {
        grid-template-columns: auto;
    }

    .row {
        flex-direction: column;
    }
}

@media (max-width: 360px) {}


/* ******************************************************************************TEMPLATE RESPONSIVE HORIZONTAL */
@media (max-width: 7680px) {}

@media (max-width: 5120px) {}

@media (max-width: 3840px) {}

@media (max-width: 2560px) {}

@media (max-width: 2560px) {}

@media (max-width: 1920px) {}

@media (max-width: 1440px) {}

@media (max-width: 1200px) {}

@media (max-width: 1024px) {}

@media (max-width: 768px) {}

@media (max-width: 640px) {}

@media (max-width: 480px) {}

@media (max-width: 360px) {}

/* ******************************************************************************TEMPLATE RESPONSIVE VERTICAL */
@media only screen and (max-height: 1280px) {}

@media only screen and (max-height: 1024px) {}

@media only screen and (max-height: 768px) {}

@media only screen and (max-height: 640px) {}

@media only screen and (max-height: 480px) {}

@media only screen and (max-height: 360px) {}
