@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

:root {
    --white: #f5f5f5;
    --blue: #04033B;
    --yellow: #FDBC00;
    --orange: #fd6202;
    --purple: #7b52b9;
    --purple2: #513778;

}


*,
body {
    margin: 0;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;

}

ul {
    list-style-type: none;
}


header {
    z-index: 1;
    display: grid;
    position: relative;
    padding: 0.5em 4em;
    align-items: center;
    background: var(--white);
    grid-template-columns: auto 1fr auto;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--yellow);
}

::-webkit-scrollbar-track {
    background-color: #ccc;
}

#boas-vindas{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   
    padding:2em;
    gap: 1em;
    color: var(--purple);
    text-align: center;

}

#boas-vindas h1, h2{
    font-size: 17px;
}

#boas-vindas img{
    width: 50%;
}


.logo {
    max-width: 100px;
}

.titulo-header {
    text-align: center;
}

.container {
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.btn-padrao {
    width: 100%;
    border: none;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    padding: 10px 0;
    font-weight: 800;
    text-align: center;
    border-radius: 10px;
    background: var(--yellow);
    text-transform: uppercase;
    box-shadow: 0 10px 40px -12px #2c2c2c7a;
}

.card-login {
    width: 60%;
    display: flex;
    padding: 30px 35px;
    border-radius: 15px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(2px);
    background: rgba(70, 141, 224, 0.20);
    box-shadow: 0 4px 8px rgb(255 255 255 / 6%);
}


.box-input {
    width: 100%;
    display: flex;
    margin: 10px 0;
    position: relative;
    margin-bottom: 10px;
    flex-direction: column;
    justify-content: flex-start;
}

.box-input label {
    margin-bottom: 10px;
}

.box-input i {
    top: 52px;
    right: 12px;
    position: absolute;
}

.box-input .input::placeholder {
    color: #f0ffff94;
}

.input {
    width: 100%;
    border: none;
    color: var(--white);
    outline: none;
    padding: 10px;
    font-size: 12pt;
    border-radius: 10px;
    box-sizing: border-box;
    background: #58589273;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.input-border {
    left: 0;
    width: 0%;
    bottom: 0;
    height: 2px;
    position: absolute;
    transition: 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

.input:focus {
    outline: none;
}

.input:focus+.input-border {
    width: 100%;
}


.input-border-alt {
    height: 2px;
    transition: 0.4s cubic-bezier(0.42, 0, 0.58, 1.00);
    background: linear-gradient(90deg, #FF6464 0%, #FFBF59 50%, #47C9FF 100%);
}

.input-alt:focus+.input-border-alt {
    width: 100%;
}


.cssbuttons-io-button {
    width: 100%;
    border: none;
    height: 2.8em;
    display: flex;
    color: white;
    margin-top: 1em;
    cursor: pointer;
    padding: 0.35em;
    font-size: 17px;
    font-weight: 500;
    overflow: hidden;
    position: relative;
    align-items: center;
    letter-spacing: 3px;
    border-radius: 10px;
    padding-left: 1.2em;
    font-family: inherit;
    padding-right: 3.3em;
    letter-spacing: 0.05em;
    background: var(--purple2);
    text-transform: uppercase;
    box-shadow: inset 0 0 1.6em -0.6em #714da6;
}

.cssbuttons-io-button .icon {
    background: white;
    margin-left: 1em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2em;
    width: 2.2em;
    border-radius: 0.7em;
    box-shadow: 0.1em 0.1em 0.6em 0.2em #7b52b9;
    right: 0.3em;
    transition: all 0.3s;
}

.cssbuttons-io-button:hover .icon {
    width: calc(100% - 0.6em);
}

.cssbuttons-io-button .icon svg {
    width: 1.1em;
    transition: transform 0.3s;
    color: var(--purple2);
}

.cssbuttons-io-button:hover .icon svg {
    transform: translateX(0.1em);
}

.cssbuttons-io-button:active .icon {
    transform: scale(0.95);
}

@media only screen and (max-width: 800px) {

    .card-login {
        width: 70%;
        backdrop-filter: none;
    }

    .left-card h1,
    .left-card-img {
        display: none;
    }

    .box-login {
        flex-direction: column;

    }

    .center-login {
        flex-direction: row;
        width: 100vw;
        height: auto;
    }

    .center-login i {
        transform: rotate(90deg);
        padding: 2%;
    }

    .center-login .line {
        width: 40%;
        height: 1px;
        background: #f5f5f5;
    }

    .left-card {
        width: 70%;
        height: auto;
    }

    .right-card {
        width: 100vw;
        height: auto;
        margin-top: 1em;
    }

}

.hide {
    display: none;
}



.navbar {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 60px;
    position: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../assets/images/background/bg-barra.png);
    transition: width 0.3s;
    position: fixed;
    top: 0;
    z-index: 1;
}

.navbar.expanded {
    width: fit-content;
}

.navbar ul {
    color: white;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 6em 1em;
    gap: 2em;
}

.navbar ul li {
    transition: color 0.3s;
    gap: 0.5em;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

.navbar ul li:hover {
    color: var(--yellow);
}


.navbar ul li::before {
    content: attr(data-label);
    display: none;
}

.navbar.expanded ul li::before {
    display: inline-block;
    margin-right: 1em;
}

.main-register {

    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    display: flex;
    height: 100vh;
    margin-top: 2em;
    gap: 1rem;

}

.card-novocontato {
    border-radius: 10px;
    background: #e5e5e5;
    width: 65%;
    padding: 1.5em 2em 1.5em 2em;
    overflow: auto;
}


.titulo-card {
    text-align: center;
    padding: 0.5em 1em;
    border-radius: 10px;
    background: #ccc;
}

.box-inputs-register {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1em;
    margin: 0 0 1em 0;
}

.box-inputs-register .input {
    background: #f5f5f5;
    color: #000;
}


.required {
    border: 2px solid red;
}


.checkboxFav input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkboxFav,
.addImage {
    display: flex;
    position: relative;
    cursor: pointer;
    font-size: 30px;
    user-select: none;
    gap: 10px;
    justify-content: center;
    margin: 0.8em;
}

.checkmark {
    position: relative;
    top: 0;
    left: 0;
    height: 1.6em;
    width: 1.6em;
    border-radius: 50%;
    background: #00000038;
    transition: all 0.2s ease;
    opacity: 0.4;
}


.checkmark:hover {
    background: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);
}

.checkboxFav input:checked~.checkmark {
    background: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);
    opacity: 0.9;
    transition: all 0.2s ease;
}

.checkboxFav input:checked~.checkmark {
    transform: scale(1.1);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkboxFav input:checked~.checkmark:after {
    display: block;
}

.checkboxFav .checkmark:after {
    left: 0.61em;
    top: 0.43em;
    width: 0.25em;
    height: 0.5em;
    border: solid rgb(255, 255, 255);
    border-width: 0 0.15em 0.15em 0;
    transform: rotate(45deg);
}



.btn-addImage {
    border: none;
    display: flex;
    padding: 0.75rem 1.5rem;
    background-color: #488aec;
    color: #ffffff;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
    align-items: center;
    border-radius: 0.5rem;
    user-select: none;
    gap: 0.75rem;
    box-shadow: 0 4px 6px -1px #488aec31, 0 2px 4px -1px #488aec17;
    transition: all .6s ease;
    cursor: pointer;
}

.btn-addImage:hover {
    box-shadow: 0 10px 15px -3px #488aec4f, 0 4px 6px -2px #488aec17;
}

.btn-addImage:focus,
.btn-addImage:active {
    opacity: .85;
    box-shadow: none;
}

.btn-addImage svg {
    width: 1.25rem;
    height: 1.25rem;
}

.box-contatos {
    border-radius: 10px;
    width: 90%;
    padding: 1em 3em;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2em 1.5em;
    display: grid;
    overflow: auto;
}



.card-contato {
    width: 100%;
    background: #ffff;
    box-shadow: 0 1px 25px rgba(0, 0, 0, 0.2);
    padding: 12px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.card-contato:hover {
    outline: none;
    border-color: rgba(0, 48, 73, 0.4);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgb(0 48 73 / 10%);
}

.card_load {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    position: relative;
    float: left;
    background: #e5e5e5;
    border-radius: 50%;
}

.card_load i{
 color: var(--purple2);
 font-size: 25px;
}

.card_load_extreme_title {
    width: 80%;
    position: relative;
    text-align: center;
    border-radius: 5px;
    background: linear-gradient(120deg, #e5e5e5 30%, #f0f0f0 38%, #f0f0f0 40%, #e5e5e5 48%);
    background-size: 200% 100%;
    background-position: 100% 0;
    padding: 0 1em;
}

.card_load_extreme_descripion {
    width: 80%;
    padding: 1em;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(120deg, #e5e5e5 30%, #f0f0f0 38%, #f0f0f0 40%, #e5e5e5 48%);
    margin-top: 10px;
    overflow: hidden;
}

.card_load_extreme_descripion i {
    font-size: 14px;
    color: var(--orange);
    margin-right: 1em;
}





.box-infos {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.search-box {
    height: 35px;
    border-radius: 10px;
    padding: 5px 15px;
    width: 40%;
    font-size: 12px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}


.search-field {
    position: relative;
    width: 100%;
    height: 100%;
    left: -5px;
    border: 0;
}

.inputSearch {
    width: calc(100% - 29px);
    height: 100%;
    border: 0;
    outline: none;
}



.inputSearch::-webkit-input-placeholder {
    color: #000;
}



/*Search button*/
.search-box-icon {
    width: 52px;
    height: 35px;
    position: absolute;
    top: -6px;
    right: -21px;
    background: transparent;
    border-bottom-right-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    transition: var(--transition-cubic-bezier);
}

.search-box-icon:hover {
    background: var(--input-border-color);
}

.btn-icon-content {
    width: 52px;
    position: relative;
    height: 35px;
    top: 1px;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: .4;
}

.btn-icon-content:hover {
    opacity: .8;
}

.search-icon {
    width: 21px;
    height: 21px;
    position: absolute;
    top: 7px;
    right: 15px;
}





/* Estilos do modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    border-radius: 10px;
}

.modal-content .btn{
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-excluir{
margin-top: 1em;
width: 50%;
}

.btn-excluir:hover{
    background: #d33;
    color: #fff;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 1em;
}

.close:hover,
.close:focus {
    color: var(--blue);
    text-decoration: none;
    cursor: pointer;
}


.form-search {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-img img{
    width: 100%;
}

.pagination {
    text-align: center;
    position: relative;
    bottom: 1em;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    text-decoration: none;
    color: 333;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.pagination a.active {
    background-color: var(--blue);
    color: white;
}

.pagination a:hover {
    background-color: #ddd;
}

.pagination li.page__dots {
    display: inline-block;
    margin: 0 4px;
    color: #999;
}

.pagination p {
    display: inline-block;
    margin: 0 10px;
    color: #666;
}


#favs{
    background: var(--blue);
    margin-bottom: 1em;
    display: flex;
    justify-content: center;
}

.box-img-friend{
    background-image: url(../assets/images/newFriend.svg);
    background-size: auto 50%;
    background-position: right bottom;
    background-repeat: no-repeat;
}

