/*@import "../fonts/fonts.css";*/
@import "_variables.css";
@import "elements.css";
@import "layout.css";
@import "auth.css";

:root {
    --bs-border-color: var(--line-color);
}

html, body {
    /*background-color: var(--app-bg-color);*/
    color: var(--text-color);

    font-family: 'Helvetica', 'Helvetica Neue', Geist, Arial, sans-serif;
    font-size: 16px;
}


a, a:hover{
    text-decoration: none;
    cursor: pointer;
    color: var(--primary-color);
}
.link{
    all: unset;
    box-sizing: border-box;
    display: inherit;
    text-decoration: none;
    cursor: pointer;

    color: var(--primary-color);
}

p, ul, ol,
h1, h2, h3, h4, h5, h6{
    margin: 0;
}

h1, h2, h3, h4, h5, h6{
    color: inherit;
    font-weight: 700;
}

.iconify{
    min-width: 1em;
    min-height: 1em;
}
.avatar{
    font-size: 100px;
    width: 1em;
    height: 1em;
    min-width: 1em;
    min-height: 1em;
    object-fit: cover;
    border-radius: 1000px;

    background-color: rgba(var(--primary-color-rgb), 0.1);
}

*:disabled,
*.disabled{
    cursor: not-allowed;
}

.divider{
    display: block;
    height: 1px;
    width: 100%;
    background-color: var(--line-color);
    opacity: 0.6;
}

.container{max-width: 1320px}

.gradient-border{
    border: 2px solid transparent!important;
    /*background:*/
    /*        linear-gradient(white, white) padding-box,*/
    /*        linear-gradient(45deg, #ff6b6b, #4ecdc4, #ff6b6b) border-box;*/

    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    background-image: linear-gradient(white, white), linear-gradient(45deg, #ff6b6b, #4ecdc4, #ff6b6b);
    background-size: 100% 100%, 300% 300%;
}
.gradient-border-hover:hover{
    border: 2px solid transparent!important;
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    background-image: linear-gradient(white, white), linear-gradient(45deg, #ff6b6b, #4ecdc4, #ff6b6b);
    /*background: linear-gradient(white, white) padding-box, linear-gradient(45deg, #ff6b6b, #4ecdc4, #ff6b6b) border-box;*/
    background-size: 100% 100%, 300% 300%;
}

.gradient-border-animated{
    animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}



/* Stats Card */
.stat-card{
    --color: #5E8EF6;
    --hover-color: #FFFFFF;

    position: relative;
    display: block;

    overflow: hidden;

    padding: 0.875rem 1.5rem;

    border: 1px solid #E2E8F0;

    border-bottom: 4px solid var(--color);

    background-color: var(--card-bg-color);
    border-radius: 10px;

    transition: 0.2s ease-in-out;
}

.stat-card > *{
    z-index: 1;
    position: relative;
}

.stat-card .title-wrapper{
    display: flex;
    align-items: center;
    gap: 0.3rem;

    margin-bottom: 0.45rem;

    line-height: 100%;
}
.stat-card .stat-icon{
    font-size: 1.25rem;
}

.stat-card .users-icons{
    display: flex;
    padding-left: 6px;
}
.stat-card .users-icons .u-icon{
    font-size: 8px;

    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: -6px;

    background-color: var(--color);
    color: var(--hover-color);

    border-radius: 1000px;
    border: 1px solid var(--card-bg-color);

    aspect-ratio: 1;

    transition: 0.2s ease-in-out;
}

.stat-card:hover .users-icons .u-icon{
    background-color: var(--card-bg-color);
    border-color: var(--color);
    color: var(--text-color);
}

.stat-card .stat-title{
    font-weight: 400;
    font-size: 15px;

    opacity: 0.8;
}
.stat-card .stat-data{
    font-size: 1.75rem;
    font-weight: 600;
}

.stat-card:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0.1px;
    background: var(--color);

    transition: 0.2s ease-in-out;

    z-index: 0;
}
.stat-card:hover{
    color: var(--hover-color)!important;
    transform: scale(104%);
    z-index: 2;
}
.stat-card:hover:after{
    height: 100%;
}
