
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

:root {
	--cor-fundo-pagina: #F4F4F4;

    --font-primaria: 'Bricolage Grotesque', serif; /* Fonte usada no título */
    --font-secundaria: 'Source Sans 3', serif; /* Fonte usada nos demais textos*/
}

body { 
    width: 100%;
    min-height: 100vh; 
    margin: 0;
    background: linear-gradient(290deg, #B17DFF 3.65%, #000 49.08%);
    display: flex;             
    flex-direction: column;     
}

main {
    flex: 1;
}

/* --------------------------------------- .page__header --------------------------------------- */
.page__header {
    font-family: var(--font-primaria);
    font-size: 65px;
    text-align: center;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 1.8rem 5rem;
}

.page__header--title--solid {
    color: #D9D9D9;
}

.page__header--title--colourful {
    background: linear-gradient(90deg, #A76CFF 0%, #FFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;  
}

/* --------------------------------------- .page__subtitle --------------------------------------- */
.page__subtitle {
    font-family: var(--font-secundaria);
    font-size: 22px;
    color: #D9D9D9;
    text-align: center;
    padding: 0rem 5rem 1.8rem 5rem;
    line-height: 30px;
}

/* --------------------------------------- .page__output --------------------------------------- */

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

.page__output--container {
    width: 584px;
    height: 58px;
    border-radius: 10px;
    background: rgba(177, 125, 255, 0.76);
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25) inset;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.page__output--container--password { /* Campo de senha gerada */
    align-self: center;
    pointer-events: none;
    border: none;
    background: none;
    color: #D9D9D9; 
    font-size: 25px;
    flex-grow: 1;
    padding: 0 10px;
}

.page__output .material-symbols-outlined { /* Ícone reload */
    color: #D9D9D9;
    font-size: 39px;
    cursor: pointer;
    margin-right: 5px;
}


#reload_button {
    transition: all 0.15s ease-out;
    user-select: none;
}

#reload_button:hover {
    color: #D9D9D9;
}

#reload_button:active {
    transform: translateY(1px); 
}

/* --------------------------------------- .copy__button e .generate__button --------------------------------------- */
.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 1rem;
    user-select: none;
}

.copy__button, .generate__button {
    text-align: center;
    margin-left: 0.1%;
    width: 91px;
    height: 46px;
    padding: 1rem 1.5rem;
}

.copy__button button, .generate__button button {
    border-radius: 10px;
    border-color: #D9D9D9;
    background-color: rgba(0, 0, 0, 0);
    /* background: #D9D9D9; */
    color: #D9D9D9;
    padding: 8px 20px;
    cursor: pointer;
    font-family: var(--font-secundaria);
    font-size: 20px;
    width: 120px;
}

.copy__button button:hover, .generate__button button:hover {
    background: #D9D9D9;
    color: #000;
}

/* --------------------------------------- .minus__button e .plus__button --------------------------------------- */

#minus__button, #plus__button {
    transition: all 0.15s ease-out;
    user-select: none;
}

#minus__button:hover, #plus__button:hover {
    color: #D9D9D9;
}

#minus__button:active, #plus__button:active {
    transform: translateY(1px); 
}

/* --------------------------------------- .size__password --------------------------------------- */

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

.size__password--description { /* Texto Tamanho senha */
    font-family: var(--font-secundaria);
    font-size: 20px;
    color: #D9D9D9;
    text-align: center;
    padding: 1.2rem 0 1.2rem 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.size__password--description--value {
    position: relative;
    display: flex;
    justify-content: center;
    background: #B17DFF;
    color: #000;
    padding: 10px;
    border-radius: 10px;
    width: 20px;
}

.size__password--slider {
    position: relative;
    display: flex;

    text-align: center;
    align-items: center;
    justify-content: center;

   /*  height: 80px;
    width: 100px; */
    
    padding: 0 4rem 1rem 4rem;
    font-family: var(--font-secundaria);
    font-size: 20px;
    color: #D9D9D9;
}

.size__password--slider--field {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 100%;
    width: 100%; */

    text-align: center;
}

.size__password--slider i {
    color: #D9D9D9;
    font-size: 29px;
    cursor: pointer;
    margin: 10px;
}

.size__password--slider--field input {
    -webkit-appearance: none;
    width: 200px;
    height: 10px;
    border: none;
    border-radius: 90px;
    background: #D9D9D9;
    outline: none;
    border: none;
    z-index: 3;
}

.size__password--slider--field input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #B17DFF;
    cursor: pointer;
    border: 1px solid #D9D9D9;
}

.size__password--slider--field input::-moz-range-thumb {
    /* -webkit-appearance: none; */
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #B17DFF;
    cursor: pointer;
    border: 1px solid #D9D9D9;
}

.size__password--slider--field input::-moz-range-progress {
    background: #B17DFF;
}

/* --------------------------------------- .caracters__selection --------------------------------------- */

.caracters__selection {
    padding: 1rem 4rem 2rem 2rem;
}

.caracters__selection--description { /* Select character options */
    font-family: var(--font-secundaria);
    font-size: 20px;
    color: #D9D9D9;
    text-align: center;
    padding: 0rem 5rem 2rem 5rem;
}

.caracters__selection--options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hide the browser's default checkbox */
.caracters__selection--options input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.caracters__selection--options label {
    border: none;
    border-radius: 10px;
    background: #D9D9D9;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
    width: 33px;
    height: 32px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

/* Estiliza o checkmark customizado */
.caracters__selection--options .checkmark {
    width: 33px;
    height: 32px;
    border-radius: 6px;
    background: #D9D9D9;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkmark {
    color: #D9D9D9;
}

/* Estiliza quando o checkbox está marcado */
.checkbox:checked + .checkmark {
    color: #000; /* Cor do check marcado */
    transition: 0.3s ease-in-out;
}

.caracters__selection--options p {
    color: #D9D9D9;
    font-family: var(--font-secundaria);
    font-size: 20px;
    margin: 0;
    text-align: center;
}

.popup_message-title {
    font-family: var(--font-primaria);
}

.popup_message-text {
    font-family: var(--font-secundaria);
}

/* --------------------------------------- .footer-copyright --------------------------------------- */

.footer__copyright {
    margin-top: auto;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    font-family: var(--font-secundaria);
    color: #D9D9D9;
    background: rgba(199, 165, 250, 0.28);
    padding: 10px;
}

.footer__copyright p {
    font-size: 13px;
    margin: 0; 
    line-height: 20px;
}

