﻿
:root {
    --body-color: #FFFFFC;
    --white-color: #FFFFFF;
    /* --primary-color: #3498db; */
    --font-size-base: 16px;
    --main-color: #14213D;
    --border-color: #EDDCD2;
    --category-background-color: #FFF1E6;
    --red-color: #F22626;
    --discount-label-color: #FAD2E1;
    --box-shadow-color: #14213d40; /* rgba(20, 33, 61, 0.25) */
    --box-shadow-color2: ##14213d80; /* rgba(20, 33, 61, 0.50) */
    --black-color: #000000;
    --authentication-text-link-color: #34699A;
}

/*#region fonts*/
@font-face {
    font-family: Persian-Thin;
    src: url('../fonts/Dana/Thin.woff2') format('woff2'), url('../fonts/Dana/Thin.woff') format('woff'), url('../fonts/Dana/Thin.ttf') format('truetype');
}

@font-face {
    font-family: Persian-ExtraLight;
    src: url('../fonts/Dana/UltraLight.woff2') format('woff2'), url('../fonts/Dana/UltraLight.woff') format('woff'), url('../fonts/Dana/UltraLight.ttf') format('truetype');
}

@font-face {
    font-family: Persian-Light;
    src: url('../fonts/Dana/Light.woff2') format('woff2'), url('../fonts/Dana/Light.woff') format('woff'), url('../fonts/Dana/Light.ttf') format('truetype');
}

@font-face {
    font-family: Persian-Regular;
    src: url('../fonts/Dana/Regular.woff2') format('woff2'), url('../fonts/Dana/Regular.woff') format('woff'), url('../fonts/Dana/Regular.ttf') format('truetype');
}

@font-face {
    font-family: Persian-Medium;
    src: url('../fonts/Dana/Medium.woff2') format('woff2'), url('../fonts/Dana/Medium.woff') format('woff'), url('../fonts/Dana/Medium.ttf') format('truetype');
}

@font-face {
    font-family: Persian-SemiBold;
    src: url('../fonts/Dana/DemiBold.woff2') format('woff2'), url('../fonts/Dana/DemiBold.woff') format('woff'), url('../fonts/Dana/DemiBold.ttf') format('truetype');
}

@font-face {
    font-family: Persian-Bold;
    src: url('../fonts/Dana/Bold.woff2') format('woff2'), url('../fonts/Dana/Bold.woff') format('woff'), url('../fonts/Dana/Bold.ttf') format('truetype');
}

@font-face {
    font-family: Persian-ExtraBold;
    src: url('../fonts/Dana/ExtraBold.woff2') format('woff2'), url('../fonts/Dana/ExtraBold.woff') format('woff'), url('../fonts/Dana/ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: Persian-Black;
    src: url('../fonts/Dana/Black.woff2') format('woff2'), url('../fonts/Dana/Black.woff') format('woff'), url('../fonts/Dana/Black.ttf') format('truetype');
}

/*#endregion fonts*/

/*#region base config*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--body-color);
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family: Persian-Normal;
    font-size: var(--font-size-base);
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */

    direction: rtl;
}

    /* Hide scrollbar for Chrome, Safari and Opera */
    body::-webkit-scrollbar {
        display: none;
    }

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

a {
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

    a:hover {
    }

li {
    list-style: none;
    cursor: pointer;
    transition: color 0.2s;
}

    li:hover {
    }

button {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

p {
    margin: 0;
}

input {
    outline: none;
}

select {
    outline: none;
}

.pointer {
    cursor: pointer;
}

.position-relative {
    position: relative;
}

.display-none {
    display: none !important;
}

.width-100 {
    width: 100%;
}

/*#endregion base config*/

/*#region flex*/
.display-flex {
    display: flex !important;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-row-center {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.flex-row-center-center {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.flex-row-between-center {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-col-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flex-col-center-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-col-center-between {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.flex-col-between {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gap-4 {
    gap: 4px !important;
}

.gap-8 {
    gap: 8px !important;
}

.gap-12 {
    gap: 12px !important;
}

.gap-16 {
    gap: 16px !important;
}

.gap-24 {
    gap: 24px !important;
}

.gap-40 {
    gap: 40px !important;
}

.flex-inline-row-center {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
}

/*#endregion flex*/

/*#region panels*/
.loadingSpinner {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    z-index: 100;
    background-color: rgba(0,0,0,0.7)
}

.custom-file-upload {
    /*border: 1px solid #ccc;*/
    /*display: inline-block;*/
    /*padding: 6px 12px;*/
    cursor: pointer;
}

.showImageModal-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 4px;
}

.storepanel-logo-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

/*#endregion panels*/

/* #region byShelfino */
.byShelfino {
    width: 100%;
    padding: 8px 40px;
    background-color: var(--main-color);
    position: fixed;
    bottom: 0px;
}

.byShelfino-text {
    font-family: Persian-Light;
    font-size: 14px;
    color: var(--white-color);
}

/* #endregion byShelfino */

/* #region account main */
.header-container {
    /* padding: 138px 68px 0px; */
    padding: 136px 64px 0px;
    margin-bottom: 48px;
}

.authentication-back-link {
    position: absolute;
    top: 32px;
    left: 32px;
}

.authentication-header-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid var(--main-color);
}

.authentication-header-text {
    color: var(--main-color);
    font-family: Persian-Regular;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}

.form-container {
    padding: 0px 64px;
}

.margin-top-m8 {
    margin-top: -8px;
}

.authentication-input {
    width: 100%;
    /* padding: 16px 12px; */
    padding: 16px 52px 16px 52px;
    border: 0.5px solid var(--main-color);
    border-radius: 5px;
    background-color: var(--white-color);
    box-shadow: -2px 2px 4px 0px var(--box-shadow-color);
    outline: none;
    color: var(--main-color);
    font-family: Persian-Medium;
    font-size: 14px;
    direction: ltr;
}

    .authentication-input::placeholder {
        color: var(--main-color);
        font-family: Persian-Regular;
        font-size: 14px;
        opacity: 0.5;
    }

.authentication-input-label {
    position: absolute;
    /* top: 16px; */
    top: 14px;
    left: 12px;
}

.authentication-password-eye-icon {
    position: absolute;
    /* top: 16px; */
    top: 14px;
    right: 12px;
}

.authentication-text-link {
    color: var(--authentication-text-link-color);
    font-family: Persian-Regular;
    font-size: 14px;
    margin-top: -8px;
}

.authentication-number-input::-webkit-outer-spin-button,
.authentication-number-input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

.authentication-number-input[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
}

.authentication-confirm-code-input {
    /* width: 100%; */
    width: 43px;
    height: 56px;
    padding: 8px;
    border: 0.5px solid var(--main-color);
    border-radius: 5px;
    background-color: var(--white-color);
    box-shadow: -2px 2px 4px 0px var(--box-shadow-color);
    outline: none;
    color: var(--main-color);
    font-family: Persian-Medium;
    font-size: 14px;
    direction: ltr;
    text-align: center;
}

.password-success-form-text-1 {
    font-family: Persian-SemiBold;
    font-size: 18px;
    color: var(--main-color);
    line-height: 42px;
    text-align: center;
}

.password-success-form-text-2 {
    font-family: Persian-Medium;
    font-size: 16px;
    color: var(--main-color);
    line-height: 42px;
    text-align: center;
}

.btn-accept {
    padding: 16px 40px;
    border: 1px solid var(--main-color);
    outline: none;
    border-radius: 51px;
    background-color: var(--main-color);
    box-shadow: -2px 2px 4px 0px var(--box-shadow-color);
    color: var(--white-color);
    font-family: Persian-Bold;
    font-size: 18px;
}

.btn-accept-outline {
    padding: 16px 40px;
    border: 0.5px solid var(--main-color);
    outline: none;
    border-radius: 51px;
    background-color: var(--white-color);
    box-shadow: -2px 2px 4px 0px var(--box-shadow-color);
    color: var(--main-color);
    font-family: Persian-Medium;
    font-size: 18px;
}

.submitButtonSpinner {
    height: 60px;
}

/* #endregion account main */


