/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* root */
:root {

    /* color */

    --black-1 :#191919;
    --black-2 :#151515;
    --black-3 :#1E1E1E;
    --black-4 :#2D2D2D;
    --black-5 :#3b3b3b;
    --black-6 :#3b3b3b25;
    --gray:#949494;
    --white:#F6F6F6;
    --white-2: #6e6e6e; 
    --white-3: #7d7d7d; 
    --active-color : #EDEDED;

    /* --black-1: hsl(0, 0%, 90%);
    --black-2: hsl(0, 0%, 92%);
    --black-3: hsl(0, 0%, 88%);
    --black-4: hsl(0, 0%, 82%);
    --black-5: hsl(0, 0%, 77%);
    --gray: hsl(0, 0%, 42%);
    --white: hsl(0, 0%, 4%);
    --white-2: hsl(0, 0%, 57%);
    --active-color: hsl(0, 0%, 7%); */

    /* --black-1 : #F6F6F6;
    --black-2 : #EDEDED;
    --black-3 : #f2f2f2;
    --black-4 : #E1E1E1;
    --black-5 : #cfcfcf;
    --gray : #6A6A6A;
    --white : #212121;
    --white-2 : rgb(52, 52, 52);
    --active-color : #212121; */
    
    --pure-white:#F6F6F6;
    --green:#68ad55;
    --green-light:#96e97f59;

    --orange:#e99d7f;


    /* --doming:#e99d7f;
    --doming-light:#e99d7f84; */
    /* --doming:#FFA74D;
    --doming-light:#ffb87198; */
    --doming:#FFA74D;
    --doming-light:hsla(30, 100%, 65%, 0.772);

    --doming-stat:#F3A556;
    --doming-stat-muted:#c9894940;

    --red:#D04545;
    --red-light:hsla(0, 60%, 54%, 0.757);

    /* font */

    --albert-sans: "Albert Sans", serif;


    /* font size */

    --h1-text:34px;
    --h2-text:24px;
    --h3-text:18px;
    --h4-text:14.83px;
    --text:16px;
    --small-text:12px;
    
    /* --big-stat:51.78px; */
    --big-stat:42px;
    --small-stat:32px;
    --mini-stat:16px;

    --icon:20px;
    --mid-icon:18px;
    --small-icon:16px;

    /* font weight */

    --thin:300;
    --regular:400;
    --semibold:500;
    --bold:600;
    

    /* gradients */

    --doming-grad : linear-gradient(135deg, var(--doming), var(--doming-light)) 0 0 / 100% 100% no-repeat;
    --doming-grad-light : linear-gradient(135deg, rgba(161, 152, 255, 0.1), rgba(107, 93, 255, 0.1)) 0 0 / 100% 100% no-repeat;

}

    /* Selezione del testo */
    ::selection {
        background: var(--doming);
        color: var(--white);
    }


/* Elementi generali */
body {
    display: flex;
    justify-content: start;
    width: 100%;
    height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--black-1);
    margin: 0;
}

a {
    text-decoration: none;
}

.h1-text {
    font-family: var(--albert-sans);
    font-size: var(--h1-text); font-weight: var(--thin);
    color: var(--white);
}

.h2-text {
    font-family: var(--albert-sans);
    font-size: var(--h2-text); font-weight: var(--semibold);
    color: var(--white);
}

.h3-text {
    font-family: var(--albert-sans);
    font-size: var(--h3-text); font-weight: var(--regular);
    color: var(--white);
}

.h4-text {
    font-family: var(--albert-sans);
    font-size: var(--h4-text); font-weight: var(--regular);
    color: var(--gray);
}

.text {
    font-family: var(--albert-sans);
    font-size: var(--text); font-weight: var(--thin);
    color: var(--white); width: max-content;
    display: flex; align-items: center; gap: 5px;
}
.text .feather {
    height: 1.2cap; opacity: .5;
}

.text-link {
    font-family: var(--albert-sans);
    font-size: var(--text); font-weight: var(--thin);
    color: var(--white); width: max-content;
    text-decoration: underline;
    cursor: pointer;
}
.small-text-link {
    font-family: var(--albert-sans);
    font-size: var(--small-text); font-weight: var(--thin);
    color: var(--white); width: max-content;
    text-decoration: underline;
}

.small-text {
    font-family: var(--albert-sans);
    font-size: var(--small-text); font-weight: var(--regular);
    color: var(--white);
}

.logo-title {
    font-family: var(--albert-sans);
    max-width: 500px;
    text-wrap: balance;
    font-size: 18px; font-weight: var(--semibold);
    color: var(--white);
}

.general-btn {
    display: flex; align-items: center;
    background-color: var(--black-6);
    border-radius: 4px;
    outline: 1px solid transparent;
    /* outline: 1px solid var(--black-4); */
    padding-inline: 10px; padding-block: 6px;
    gap: 15px;
    /* transition: all ease .3s; */
    opacity: 1;
}
.general-btn:hover {
    opacity: 1 !important;
    background-color: var(--black-4);
    /* outline: 1px solid var(--black-5); */
    /* transition: all ease .3s; */
    cursor: pointer;
}
.general-btn span, .general-btn.active .feather {
    color: var(--white);
}
.general-btn.active {
    background-color: var(--doming-light);
    /* outline: 1px solid var(--doming); */
}
.general-btn.delete {
    background-color: var(--red-light);
    /* outline: 1px solid var(--red); */
}
.general-btn.delete:hover {
    background-color: var(--red);
}
.general-btn.delete .feather {
    color: var(--white);
}

.general-icon {
    color: var(--gray); width: var(--mid-icon);
}

.general-btn .feather {
    color: var(--gray); width: var(--mid-icon);
}

.general-btn.small {
    user-select: none;
    cursor: pointer;
    width: fit-content; height: fit-content;
    padding: 7px;
}

.general-btn.small .feather {
    height: auto; width: var(--mid-icon); color: var(--white);
    opacity: .8;
}

.general-container {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    border-radius: 4px;
    outline: 1px solid var(--black-4);
    padding: 25px;
    background-color: var(--black-1);
    gap: 50px;
    width: 100%;
}

.button-horizontal-group {
    display: flex; justify-content: center; align-items: center; gap: 15px;
}

.dash-indicator {
    background: var(--doming-grad);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.makeitgreen {
    color: var(--green);
}
.makeitorange {
    color: var(--orange);
}
.makeitred {
    color: var(--red);
}

.disabled {
    opacity: .3;
}

.semibold {
    font-weight: var(--semibold);
}
.bold {
    font-weight: var(--bold);
}

.dotted-bg {
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px); /* 2% trasparenza */
    background-size: 10px 10px; /* Distanza tra i punti */
}

/* Menu laterale */

#sidebar {
    width: fit-content;
    display: flex; flex-direction: column;justify-content: space-between; align-items: center;
    padding: 30px; 
    border-right: 1px solid var(--black-4);
}

#sidebar.sidebar-collapsed {
    /* padding: 15px; */
}

#logo-icon {
    width: 50px; height: auto;
}

.menu-links--icon-container {
    width: 100%; height: fit-content;
    display: flex; gap: 15px; justify-content: start; align-items: center;
}

.menu-links--container {
    width: 100%; height: fit-content;
    display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 50px;
}

.menu-links--content {
    width: fit-content; height: fit-content;
    display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 25px;
}

.menu-links--block {
    width: fit-content; height: fit-content;
    display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 15px;
}

#user-account-link {
    height: fit-content;
    display: flex; align-items: center; justify-content: start;
    gap: 10px;
    opacity: 1; cursor: pointer;
    border-radius: 4px;
}
.user-account-info {
    display: flex; flex-direction: column; gap: 2px; align-items: start;
}
#user-pp {
    width: 30px; height: 30px;
    border-radius: 10px; 
    background-image: url(/src/img/bubble-bg-5.webp);
    background-position: center; background-size: cover; background-position: bottom;
}
#user-account-link .feather {
    width: var(--mid-icon); color: var(--white-2);
}


#user-pp {
    width: 35px; height: 35px;
    border-radius: 10px; 
    background-image: url(/src/img/bubble-bg-5.webp);
    background-position: center; background-size: cover; background-position: bottom;
}
#user-fullname {
    max-width: 65%;
}
#user-link span {
    font-family: var(--albert-sans);
    font-size: var(--h4-text); font-weight: var(--thin);
    text-transform: capitalize;
    color: var(--white);
}

.menu-link {
    position: relative;
    width: 150px;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 15px;
    padding-inline: 15px;
    padding-block: 15px;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.menu-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-3);
    /* background: var(--doming-grad); */
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1; /* Posiziona il gradiente dietro il contenuto */
}

.menu-link.active {
    color: var(--active-color);
    outline: 1px solid var(--black-4);
}

.menu-link.active::before {
    opacity: 1;
}

.menu-link:not(.active):hover {
    background-color: var(--black-3);
}

.menu-link:hover .feather, .menu-link:hover span {
    opacity: .3;
}
.menu-link.active .feather, .menu-link.active span {
    opacity: 1;
    color: var(--active-color);
} 
    .menu-link .feather {
        /* width: var(--icon); color: var(--white); */
        width: var(--mid-icon); color: var(--white);
        height: auto;
        opacity: .3;
    }
    .menu-link span {
        font-family: var(--albert-sans);
        font-size: var(--h4-text); font-weight: var(--thin);
        text-transform: capitalize;
        color: var(--white-2);
        opacity: .3;
        user-select: none;
    }

    .menu-link, #user-link {
        overflow: hidden;
        transition: none;
        min-width: 18px;
    }
    
    .menu-link span, #user-link span, .logo-title {
        white-space: nowrap;
        transition: opacity 0.2s ease;
        opacity: 0;
    }
    
    /* Quando il menu è espanso, mostriamo il testo con opacity 1 */
    .menu-link:not(.collapsed) span,
    #user-link:not(.collapsed) span,
    .logo-title:not(.collapsed) {
        opacity: 1;
    }
    
    .menu-links--container,
    .menu-links--block,
    .menu-links--icon-container {
        transition: none;
    }

/* Tab */

.hidden {
    display: none !important;
}

#main--container {
    display: flex; flex-direction: column;
    width: 100%; height: 100%;
    background-color: var(--black-2);
}

.tab {
    display: flex; flex-direction: column;
    width: 100%; height: 100%;
    overflow-y: scroll;
}

.tab-header {
    height: fit-content;
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid var(--black-4);
    background-color: var(--black-1);
}

.tab-header--group {
    display: flex; gap: 25px; align-items: center; justify-content: center;
}

.tab-header--info {
    display: flex; flex-direction: column; gap: 5px;
    justify-content: start; align-items: start;
}

    .search-input--container .feather {
        width: var(--icon); color: var(--gray);
    }
    #search-input {
        width: 100%;
        background: none; border: none;
        font-family: var(--albert-sans);
        font-size: var(--h4-text); font-weight: var(--thin);
        color: var(--white);
        transition: all ease .3s;
        cursor: text;
        &:focus {
            outline: none;
        }
        &:focus + .general-btn {
            outline: 1px solid var(--black-5);
            transition: all ease .3s;
        }
        &:hover {
            background: none;
        }
    }

.tab-body {
    height: 100%; padding: 30px; gap: 30px;
    display: flex; justify-content: start; align-items: start;
    overflow-y: scroll; flex-direction: column;
}

/* Contenuto contapezzi */

.file-tab--main-container {
    display: flex;
    flex-direction: column !important;
    box-sizing: border-box; gap: 20px;
}

.file-tab--general-content {
    width: 100%;
    display: flex; flex-direction: column; gap: 25px;
}

.file-tab--header {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
}

.general-vertical-info {
    display: flex; flex-direction: column;
    justify-content: start; gap: 5px;
}
.general-horizontal-info {
    display: flex; flex-direction: row;
    justify-content: start; gap: 15px; align-items: center;
}

.file-tab--counters-container {
    width: 100%;
    display: flex; flex-direction: column; gap: 15px;
}

#inactive-counters .counter {
    opacity: .5;
}

.log {
    height: fit-content; gap: 25px;
    display: flex; justify-content: space-between; align-items: center;
    padding-inline: 20px; padding-block: 15px; border-radius: 4px;
    transition: all ease .3s;
}
.log:hover {
    background-color: var(--black-3);
    cursor: pointer;
}

.dot {
    font-size: 26px;
    font-weight: bold;
    margin-inline: 6px;
    animation: blink-animation 2s infinite;
}

.dot.green {
    color: var(--green);
}
.dot.orange {
    color: var(--doming);
}

@keyframes blink-animation {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.log-name {
    display: flex; justify-content: start; align-items: center; gap: 5px;
}
.log-name .feather {
    width: var(--mid-icon);
}
.feather.green {
    color: var(--green);
}

.counter {
    height: fit-content; gap: 25px;
    display: flex; justify-content: space-between; align-items: center;
    padding-inline: 20px; padding-block: 15px; border-radius: 4px;
    transition: all ease .3s;
}
.counter:hover {
    background-color: var(--black-3);
    cursor: pointer;
}

.counter-names {
    display: flex; justify-content: start; align-items: center;
    gap: 5px; width: 150px;
}

.counter .counter-names {
    flex-shrink: 0;
    flex-basis: 150px;
}

.counter-info {
    display: flex; justify-content: start; align-items: center;
    gap: 15px; width: 100%;
}

.counter-percents {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%; 
    max-width: 100%;
    height: fit-content;
}

.counter-progress-bar {
    position: relative;
    flex-grow: 1; /* Occupa lo spazio disponibile */
    height: 3px;
    /* background-color: #2a2a2a; */
    background-color: var(--black-4);
    border-radius: 5px;
    overflow: hidden;
}

.counter-progress-bar-fill {
    height: 100%;
    width: 0%; /* Percentuale iniziale */
    background: var(--doming-grad);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.counter-progress-bar-percentage {
    font-size: 16px;
    color: var(--white);
}

.counter-indicators {
    width: 150px; gap: 25px;
    display: flex; justify-content: end; align-items: center;
}

.counter-pieces-indicator {
}

/* settings */

.settings-container {
    width: 100%;
    display: flex; flex-direction: column; gap: 50px;
    margin-block: 25px;
}
.settings-row {
    width: 100%;
    display: flex; justify-content: flex-start; align-items: center; gap: auto;
}
.settings-block {
    display: flex; flex-direction: column; gap: 15px;
    justify-content: start; align-items: start;
    width: 100%; flex: .33;
}
.settings-block input {
    width: 70%;
    display: flex; justify-content: start; align-items: center;
    color: var(--white); font-family: var(--albert-sans);
    font-size: var(--text); font-weight: var(--thin);
    background: var(--black-3); border: none;
    padding-inline: 15px; padding-block: 15px;
    border-radius: 4px;
    &:hover {
        outline: none;
        border: none;
    }
    &:focus {
        outline: 1px solid var(--black-4);
        border: none;
    }
    &:not(:placeholder-shown) {
        outline: 1px solid var(--black-4);
    }
}
input[type="time"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}
.settings-block .delete-btn {
    width: 70%;
    display: flex; justify-content: start; align-items: center;
    color: var(--white); font-family: var(--albert-sans);
    font-size: var(--text); font-weight: var(--thin);
    background: var(--red-light); border: none;
    padding-inline: 15px; padding-block: 15px;
    border-radius: 4px;
    outline: 1px solid var(--red);
    &:hover {
        cursor: pointer;
    }
}
.settings-block .delete-btn span {
    color: var(--red);
}

.settings-actions {
    display: flex; gap: 15px;
}
.settings-actions #save-btn {
    background: var(--doming-grad-light) !important;
    outline: 1px solid var(--doming); 
    padding-inline: 15px;
}
.settings-actions #save-btn span {
    color: var(--doming);
}

/* dashboard */

.dash-body {
    flex-direction: column; 
    justify-content: start;
    gap: 15px;
}

.dash-row {
    width: 100%; 
    display: flex; 
    justify-content: center; 
    align-items: stretch; /* Stretch per altezza uniforme */
    gap: 15px;
}
.dash-column {
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: stretch; /* Stretch per altezza e larghezza uniforme */
    gap: 15px;
    min-width: 0; /* Per evitare overflow e migliorare il comportamento di flex */
}

.dash-card {
    flex: 1;
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    height: fit-content;
    gap: 35px;
    width: 100%; 
    box-sizing: border-box;
    padding: 0px;
}

.dash-info-card {
    width: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding-inline: 30px; 
    padding-block: 15px;
    box-sizing: border-box;
}

.dash-card-header {
    padding-top: 25px; padding-inline: 25px; box-sizing: border-box;
    display: flex; width: 100%; justify-content: space-between; align-items: center;
}
.dash-card-header .general-btn {
    padding: 5px;
}

.dash-card-body {
    display: flex; justify-content: center; gap: 25px;
}
.dash-card-body.small {
    justify-content: start; align-items: center; padding-inline: 30px;
    gap: 10px;
}

.dash-card-footer {
    display: flex; justify-content: start;
    gap: 15px;
    padding-inline: 30px; padding-block: 15px; box-sizing: border-box;
    background-color: var(--black-3); border-top: 1px solid var(--black-4);
}

.dash-card-footer--container {
    display: flex; gap: 15px; align-items: center; justify-content: center;
}

.dash-counter-actions {
    display: flex; justify-content: space-between; gap: 15px;
}

.dash-btn {
    padding-inline: 12px; padding-block: 6px;
}
.dash-btn .feather {
    width: var(--small-icon); height: auto;
}


.status-indicator {
    display: flex;
    padding-inline: 20px; padding-block: 6px;
    border-radius: 4px;
    /* background: var(--doming-grad); */
    background: var(--green-light);
    outline: 1px solid var(--green);
}

.status-indicator span{
    font-family: var(--albert-sans);
    font-size: var(--small-text); font-weight: var(--regular);
    /* color: var(--active-color); text-transform: capitalize; */
    color: var(--green); text-transform: capitalize;
}

#dash-counter-name, #dash-counter-piece {
    color: var(--white);
    font-weight: bold;
    width: max-content;
}

#counter-names-container {
    width: fit-content;
    gap: 25px;
}

#counter-names-container .counter-names {
    width: max-content;
}

#dash-counter-total, #dash-counter-left {
    width: 360px;
}

#dash-counter-graph {
    height: 100%;
}

#minutes-efficency, #hours-efficency {
    display: flex; align-items: center; justify-content: start; gap: 5px;
}

.stat-percentage-icon {
    display: flex; justify-content: center; gap: 0px; align-items: center;
    color: var(--green);
}
.stat-percentage-icon .feather {
    width: 12px;
}

/* Divider */

.divider {
    width: 100%; height: 0px;
    outline: .5px solid var(--black-4);
}
.divider.vertical {
    width: 0px; height: 24px;
    outline: .5px solid var(--black-4);
}

.section-divider {
    width: 100%;
    display: flex; justify-content: space-between; gap: 10px;
    align-items: center;
    margin-block: 15px;
}
.section-divider .feather {
    width: var(--small-icon);
    color: var(--white-2);
}

/* Login */

.containerFluid--form {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 35px; width: 100%;
}

/* form */

#login--mainFrame .containerFluid--header {
    width: 100%; max-width: max-content;
    gap: 25px;
}
#login--mainFrame .bold {
    color: var(--white) !important;
}
#login--mainFrame .logo-title {
    text-wrap: balance; color: var(--white-2);
    text-align: center;
}
#login--mainFrame .small-text {
    opacity: .3; color: var(--white) !important;
}
#login--mainFrame {
    display: flex; justify-content: center; align-items: center;
    width: 100%; height: 100%;
}
#login--mainFrame .menu-links--icon-container {
    width: fit-content;
}
#login--mainFrame .general-container {
    display: flex; justify-content: center; align-items: center;
        flex-direction: column; padding-inline: 50px; padding-block: 50px;
        background-color: var(--black-1);
        border-radius: 4px;
        width: fit-content; height: fit-content; max-width: 650px; max-height: 480px;
        gap: 35px;
}

.general-container--header {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 25px; width: 100%;
}

form {
    width: 100%;
}
#loginForm {
    min-width: 500px;
}
#registerForm {
    min-width: 500px;
}

.containerFluid--form {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 35px; width: 100%;
}

.form--inputs {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 15px;
    width: 100%; 
}

.input--container {
    display: flex; 
    flex-direction: column; 
    align-items: end; 
    justify-content: center;
    gap: 15px; 
    width: 450px;
    position: relative; /* Aggiunto per il posizionamento dell'icona */
}

.input--container input {
    width: 100%; 
    background-color: transparent;
    border-top: 1px solid transparent; 
    border-inline: 1px solid transparent;
    border-bottom: 1px solid var(--black-5);
    font-size: var(--text); 
    font-family: var(--albert-sans);
    color: var(--white);
    padding: 10px;
    padding-right: 50px; /* Spazio per l'icona */
    transition: all ease .3s;
    box-sizing: border-box;
}

/* Nuovo stile per l'icona */
#show-password {
    position: absolute;
    right: 15px;
    top: 23px;
    transform: translateY(-80%); /* Aggiustato per allineare con l'input */
    cursor: pointer;
    color: var(--black-5); /* Per matchare lo stile del bordo */
    width: 18px;
    height: 18px;
    z-index: 1;
}

/* Manteniamo gli stili esistenti per focus e not(:placeholder-shown) */
.input--container input:focus {
    outline: none;
    border: 1px solid var(--black-5);
    border-radius: 4px;
    transition: all ease .3s;
}

.input--container input:not(:placeholder-shown) {
    border: 1px solid var(--black-5);
    border-radius: 4px;
    transition: all ease .3s;
}

/* Aggiustiamo il posizionamento del link password dimenticata */
.input--container .small-text {
    align-self: flex-end;
    margin-top: -10px; /* Per compensare il gap del container */
}

.form--submit {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 15px;
    width: 100%; 
}

#btn-submit {
    display: flex; justify-content: center; align-items: center; 
    width: 450px;
    padding-inline: 24px; padding-block: 12px;
    border-radius: 4px;
    outline: none; border: none;
    background: var(--doming-grad);
    cursor: pointer;
    transition: all ease .3s;
    text-align: center;
    font-family: var(--albert-sans);
    font-size: var(--text); 
    font-weight: var(--thin);
    color: var(--active-color) !important; 
    text-transform: capitalize;
}
#btn-submit:hover {

    transition: all ease .3s;
}

/* Home */

.upload-tab--main-container {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 50px; width: 100%; height: 100%; max-height: 700px;
}

.upload-tab--main-container .divider {
    width: 750px;
}

.upload-tab--main-container .counter {
    width: 750px;
    background-color: var(--black-3);
    box-sizing: border-box;
}

.home--action-container {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 25px; width: 100%;
}

.home--action-row {
    display: flex; justify-content: center; align-items: center;
    gap: 25px; width: 750px;
}

.home--action-block {
    display: flex; justify-content: start; align-items: center;
    gap: 25px; width: 100%;
    flex: 1; background-color: var(--black-3);
    padding-inline: 60px; padding-block: 15px;
    outline: 1px solid var(--black-4);
    border-radius: 4px;
    transition: all ease .3s;
}
.home--action-block .feather {
    background: var(--doming-grad);
    border-radius: 4px;
    padding-inline: 12px;
    padding-block: 10px;
    width: var(--icon);
    color: var(--pure-white);
}

.home--action-block:hover {
    background-color: var(--black-3);
    scale: 1.01;
    cursor: pointer;
    transition: all ease .3s;
}

/* Toast */

.toast {
    display: flex; align-items: center; justify-content: start; gap: 15px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--black-1);
    outline: 1px solid var(--black-5);
    color: var(--white);
    padding: 10px 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    z-index: 1000;
    transition: opacity 0.5s;
    font-family: var(--albert-sans);
    font-size: var(--text);
    font-weight: var(--thin);
}

.toast.hidden {
    opacity: 0;
    visibility: hidden;
}

.toast.show {
    opacity: 1;
    visibility: visible;
}

.toast.success {
    border-bottom: 1px solid var(--green);
}
.toast.success .feather {
    width: 18px;
    height: 18px;
    color: var(--green);
}

.toast.error {
    border-bottom: 1px solid var(--red);
}
.toast.error .feather {
    width: 18px;
    height: 18px;
    color: var(--red);
}

.fade-in {
    animation: fadeIn 0.5s forwards;
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Modal */

.modal {
    position: fixed; z-index: 9999;
    background-color: var(--black-2);
    border-radius: 8px;
    padding: 10px;
    width: 450px; height: fit-content;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
.modal-content {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 25px;
    padding: 25px;
}
.modal-content span {
    text-align: center;
}
.modal-content .feather {
    color: var(--white);
    width: 30px; height: 30px;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Oscuramento */
    /* display: none;  */
    z-index: 10;
}