:root{
    --font-size: 12px;
    --font-family: "Inter";
    --font-style: normal;
    --main-color: #131315;
    --secondary-color: #191d24;
    --transparent-secondary-color: rgba(25, 29, 36, 0.4);
    --action-color: #fdfffc;
    --nutral-action-color: #ced4da;
    --dim-action-color: #9198a1;
    --button-color: #495057;
    --transparent-button-color: rgba(73, 80, 87, 0.35);
    --transparent-button-hover-color: rgba(73, 80, 87, 0.5);
    --border-color: #343a40;
    --input-border-color: rgba(255, 255, 255, 0.1);
    --frosty-border-color: rgba(253, 255, 252, 0.1);
    --box-shadow-color: rgba(0,0,0,0.4);
    --input-box-shadow-color: rgba(0, 0, 0, 0.25);
    --scrollable-wrapper-height: 350px;
    --profile-size: 46px;
    --main-profile-size: 58px;
    --profile-border-width: 2px;
    --progress-bar-height: 12px;
    --extra-small-icon-size: 8px;
    --profile-label-font-size: 8px;
    --gradient-blob-size: 570px;
    --main-app-logo-size: 180px;
}

*{
    font-size: var(--font-size);
    font-family: var(--font-family);
    font-style: var(--font-style);
    font-optical-sizing: auto;
}

/* class selectors - start */
.header-color{
    color: var(--action-color);
}

.text-color{
    color: var(--nutral-action-color);
}

.muted-text-color{
    color: var(--dim-action-color);
}

.card-wrapper{
    background: var(--transparent-secondary-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--frosty-border-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--box-shadow-color);
    padding: 2rem;
}

.input-field{
    background: var(--transparent-secondary-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--input-border-color);
    color: var(--nutral-action-color);
    border-radius: 8px;
    transition: background 0.2s, box-shadow 0.2s;
}

.input-field:focus{
    background: var(--transparent-secondary-color);
    border-color: var(--input-border-color);
    color: var(--nutral-action-color);
    box-shadow: 0 4px 12px var(--input-box-shadow-color);
    outline: none;
}

.input-field::placeholder{
    color: var(--dim-action-color);
}

.button-wrapper{
    background: var(--transparent-secondary-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--input-border-color);
    color: var(--nutral-action-color);
    border-radius: 8px;
    transition: background 0.2s, box-shadow 0.2s;
}

.button-wrapper:hover{
    background: var(--transparent-secondary-color);
    border: 1px solid var(--input-border-color);
    box-shadow: 0 4px 12px var(--input-box-shadow-color);
    outline: none;
}

.button-wrapper:focus{
    background: var(--transparent-secondary-color);
    border: 1px solid var(--input-border-color);
    box-shadow: 0 4px 12px var(--input-box-shadow-color);
    outline: none;
}

.link-button-wrapper{
    background: var(--transparent-secondary-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--input-border-color);
    color: var(--nutral-action-color);
    border-radius: 8px;
    transition: background 0.2s, box-shadow 0.2s;
}

.link-button-wrapper:hover{
    background: var(--transparent-secondary-color);
    border: 1px solid var(--input-border-color);
    box-shadow: 0 4px 12px var(--input-box-shadow-color);
    color: var(--nutral-action-color);
    outline: none;
}

.link-button-wrapper:focus{
    background: var(--transparent-secondary-color);
    border: 1px solid var(--input-border-color);
    box-shadow: 0 4px 12px var(--input-box-shadow-color);
    color: var(--nutral-action-color);
    outline: none;
}

.pagination-button-wrapper{
    background: var(--transparent-button-color);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--nutral-action-color);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pagination-button-wrapper:hover{
    background: var(--transparent-button-hover-color);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px var(--input-box-shadow-color);
    color: var(--nutral-action-color);
    outline: none;
}

.pagination-button-wrapper:focus{
    background: var(--transparent-button-hover-color);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px var(--input-box-shadow-color);
    color: var(--nutral-action-color);
    outline: none;
}

.social-button{
    background-color: transparent;
    border:none;
    transform: scale(1);
    filter: opacity(1);
}

.social-button:hover{
    transform: scale(1.3);
    filter: opacity(0.7);
}

.scrollable-wrapper{
    height: var(--scrollable-wrapper-height);
    position: relative;
    overflow-x: hidden;
    overflow-y: scroll;
}

.profile,
.main-profile{
    height: var(--profile-size);
    width: var(--profile-size);
    border-radius: calc(var(--profile-size) / 2);
    border: solid;
    border-color: var(--dim-action-color);
    border-width: var(--profile-border-width);
    position: relative;
    overflow: hidden;
    z-index: 100;
}

.clinet-indicate::before{
    content: "";
}

.clinet-indicate::after{
    content: "You";
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    margin-bottom: -1px;
    position: absolute;
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: var(--profile-label-font-size);
    color: var(--nutral-action-color);
    border-radius: 100%;
    border: solid;
    border-width: var(--profile-border-width);
    border-color: var(--border-color);
    bottom: 0;
    right: 0;
}

.main-profile{
    height: var(--main-profile-size);
    width: var(--main-profile-size);
    border-radius: calc(var(--main-profile-size) / 2);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.profile-image,
.main-profile-image{
    height: var(--profile-size);
    width: var(--profile-size);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    object-fit: cover;
}

.main-profile-image{
    height: var(--main-profile-size);
    width: var(--main-profile-size);
}

.badge-wrapper{
    margin-top: 3px;
    color: var(--nutral-action-color);
    background-color: var(--transparent-button-hover-color);
}

.fab-wrapper-top-right{
    position: absolute;
    top: 0;
    right: 0;
}

.fab-wrapper-top-left{
    position: absolute;
    top: 0;
    left: 0;
}

.icon-wrapper-xsm{
    font-size: var(--extra-small-icon-size);
}

.screen-filteration-wrapper {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    text-align: center;
}

.page-wrapper {
    position: relative;
    min-height: 100%;
}

.gradient-blob {
  position: absolute;
  width: var(--gradient-blob-size);
  height: var(--gradient-blob-size);
  background: radial-gradient(circle, rgba(253,255,252,0.08), rgba(253,255,252,0));
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.gradient-blob-top-left{
    top: 0%;
    left: 5%;
}

.gradient-blob-middle-right {
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
}

.gradient-blob-bottom-left {
  bottom: 0;
  left: 5%;
}

.footer-link-button{
    text-decoration: none;
    transition-duration: 0.2s;
    filter: opacity(1);
}

.footer-link-button:hover{
    color: var(--);
    text-decoration: underline;
    filter: opacity(0.7);
}

.main-app-logo{
    width: var(--main-app-logo-size);
    height: var(--main-app-logo-size);
    background-image: url("../assets/icons/favicon.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    object-fit: contain;
}
/* class selectors - end */

/* override components - start */
#toast-container > .toast {
    box-shadow: none !important;
    border-radius: 50px;
    border: solid;
    border-width: 1px;
    border-color: var(--border-color);
    background-color: var(--secondary-color);
}

.custom-popover {
  --bs-popover-max-width: 500px;
  --bs-popover-border-radius: 16px;
  --bs-popover-border-color: var(--frosty-border-color);
  --bs-popover-header-bg: rgba(25, 29, 36, 0.85);
  --bs-popover-header-color: var(--action-color);
  --bs-popover-bg: rgba(25, 29, 36, 0.85);
  --bs-popover-body-color: var(--nutral-action-color);
  --bs-popover-body-padding-x: 1rem;
  --bs-popover-body-padding-y: .5rem;
}

.progress{
    --bs-progress-height: var(--progress-bar-height);
    --bs-progress-bg: var(--transparent-button-color);
    --bs-progress-bar-bg: var(--transparent-secondary-color);
    --bs-progress-border-radius: 16px;
    border: solid;
    border-width: 1px;
    border-color: var(--input-border-color);
}

.placeholder{
    border-radius: 4px;
}
/* override components - end */

/* tag selectors - start */
body{
    background: radial-gradient(circle at top left, var(--secondary-color) 0%, var(--main-color) 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: auto;
    min-height: 100%;
    margin: 0;
}

hr{
    width: 90%;
    border: 1px solid var(--border-color);
    height: 0;
    margin: 20px 0;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}
/* tag selectors - end */

/* styling the entire scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 100%;
}

/* styling the scrollbar track */
::-webkit-scrollbar-track {
  background-color: var(--secondary-color);
  border-radius: 5px;
}

/* styling the scrollbar thumb */
::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 5px;
}

/* styling the scrollbar thumb on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: var(--dim-action-color);
}

/* extra small devices (576px and up) */
@media (max-width: 576px) {
    .app-wrapper {
        width: 100%;
    }
}

/* small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .app-wrapper {
        width: 100%;
    }
}

/* medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .app-wrapper {
        width: 100%;
    }
}

/* large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .app-wrapper {
        width: 100%;
    }
}

/* x-large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .app-wrapper {
        width: 100%;
    }
}

/* xx-large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .app-wrapper {
        width: 1400px;
    }
}

/* screen filteration threshold */
@media (max-width: 1024px) {
    .screen-filteration-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .app-wrapper {
        display: none !important;
    }
}