@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');

@property --num {
    syntax: '<integer>';
    initial-value: 0;
    inherits: false;
}

:root {
    /* --main-color: white;
    --secondary-color: #36454f; */
    --main-color: rgb(6, 25, 29);
    --secondary-color:hwb(0 100% 0%);
    --deep-pink:rgb(158,112,99);
    --pale-white:rgb(251,251,246);
    --separating-gray: rgb(200,200,200);
    --black: rgb(0,0,0);
    --remove-red: #ff0000;
    --footer-max-width: 1400px;
    --success-green: #4BB543
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'EB Garamond', serif;
    /* line-height: 2rem; */
}

a {
    text-decoration: none;
}

::-webkit-scrollbar {
    height: 0px;
    width: 8px;
    border: 1px solid white;
}

::-webkit-scrollbar-track {
    border-radius: 0;
    background: white;
    
}

::-webkit-scrollbar-thumb {
    border-radius: 0px;
    background: #121212;
}

.success-text {
    color: var(--success-green);
}

.fail-text {
    color: var(--remove-red)
}

.error-circle,
.success-circle {
    position: absolute;
    height: 6px;
    width: 6px;
    transform: translateY(9px);
    background-color: var(--success-green);
    border-radius: 1000px;
}

.error-circle {
    background-color: var(--remove-red);
}


.separator {
    border-top: 1px solid var(--separating-gray);
    margin: 20px 0;
}

.section-title {
    font-size: 160%;
    font-weight: 300;
    margin-top: 30px;
}

.page-title {
    font-size: 180%;
    font-weight: 300;
}
.cursor-pointer,
.pointer {
    cursor: pointer;
}

/* Button Styling */
.default-a,
button {
    background-color: var(--secondary-color);
    border: 1px solid var(--main-color);
    cursor: pointer;
    padding: 5px;
}

.inverse-a {
    background-color: var(--secondary-color);
    border: 1px solid var(--main-color);
    color: var(--main-color);
    cursor: pointer;
    padding: 5px;
}

button ion-icon {
    transform: translateY(2px);
}
input:focus,
select:focus {
    outline: none;
}
input,
select {
    border: none;
    border-bottom: 1px solid black;

}

.inverse-button {
    background-color: var(--main-color);
    color: var(--secondary-color);
    border: 1px solid var(--main-color);
}

.section-title {
    font-size: 150%;
    font-weight: 300;
}


/* Input Styling */
.show-results-btn,
input[type=submit i] {
    background-color: #12192c;
    border: 1px solid rgba(0,0,0,0);
    color: white;
    padding: 8px;
    border-radius: 3px;
    cursor: pointer;
}
.show-results-btn:hover,
input[type=submit i]:hover{
    background-color: #0c5df4;
}

.default-btn-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    color: black;
    font-size: 1rem;
    border: 2px solid black;
    border-radius: 50px;
}

.default-btn-square {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    color: black;
    font-size: 1rem;
    border: 2px solid black;
    border-radius: 4px;
}

.default-link {
    color: black;
    transition: color 0.3s;
}

/* HOME */
.home-overview {
    /* background-color: rgba(24, 119, 242,0.8); */
    background: linear-gradient(to bottom, rgba(24, 119, 242,0.8), rgba(24, 119, 242,0.25));
    min-height: calc(100vh - 77px);
    color: white;
}

.home-overview-wrapper {
    width: 1120px;
    margin: auto;
}

.home-overview__title {
    font-size: 5rem;
    padding-top: 30px;
    margin-bottom: 20px;
}

.home-overview-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.home-overview-box {
    display: flex;
    color: black;
    border: 1px solid rgba(0,0,0,0);
    border-radius: 10px;
    flex-direction: column;
    width: 540px;
    height: 200px;
    padding: 20px;
    background-color: white;
    margin-top: 30px;
}



.home-overview__box--title {
    font-size: 1.6rem;
}

.home-overview__box--content {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
    height: 100%;
}

.home-overview__box--content div {
    padding-right: 35px;
    margin-bottom: 10px;
}
.home-overview__box--content div:last-child {
    padding-right: 0px;
}

.home-items-sold__title {
    font-size: 1.2rem;
}

.home-items--number {
    font-size: 1.1rem;
}

.home-overview__box--links {
    display: flex;
    width: 100%;
    align-items: center;
}

.home-overview__box--links a {
    margin-right: 20px;
}

.home-overview__box--links a ion-icon {
    margin-left: 4px;
}

/* Inventory Choices */

.inventory-title {
    font-weight: 400;
    text-align: center;
    margin: 30px 0;
    font-size: 3rem;
}
.inventory-choices {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.link-box {
    height: 70px;
    width: 150px;
    border: 1px solid black;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    /* border-radius: 5px; */
}
.link-box ion-icon {
    font-size: 22px;
    padding-bottom: 5px;
}

/*  LOGIN FORM */

.login-form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 520px;
}

.login-form p {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.login-form h3 {
    font-weight: 500;
    margin: 15px 0 30px 0;
    text-align: center;
}

.login-form .login-wrapper {
    border: 1px solid rgba(0,0,0,0.11);
    padding: 25px 50px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.11);
}

.login-form button {
    margin: auto;
    padding: 7px 25px;
    margin-left: 37px;
    margin-top: 10px;
    background-color: #1877F2;
    border: 1px solid rgba(0,0,0,0);
    border-radius: 3px;
    color: white;
    font-size: 1rem;
}

.login-form label {
    margin-bottom: 10px;
}

.login-form input {
    padding: 8px 5px;
}

.jewel-material-choice,
.jewel-color-choice {
    border: 1px solid rgba(0,0,0,0.5);
    border-radius: 5px;
    padding: 2px;
    overflow: auto; 
    max-height: 100px;
}
.material-choice,
.color-choice {
    display: inline-block;
    padding: 2px;
    border: 1px solid rgba(0,0,0,0.3);
    margin: 2px 0;
    border-radius: 3px;
}
.order_customer{
    font-weight: 300;
    font-size: 3rem;
    text-align: center;
    margin-top: 20px;
}
.order_date {
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 20px;
}
.order-row-wrapperr,
.order-row-wrapper {
    height: 120px;
    padding: 10px 10px;
    /* width: 95vw; */
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    /* padding-left:18vw; */
    
}
.order-row{
    display: grid;
    grid-template-columns: 100px 100px 75px 75px 70px 90px 95px 180px 180px 80px 120px 100px;
    
    grid-gap: 10px;
    padding: 10px;
    /* width: 80vw; */
    align-items: center;
}

.category-row{
    display: grid;
    grid-template-columns: 100px 100px 75px 75px 80px 80px 230px 70px 230px 75px 120px 30px 100px;
    grid-gap: 10px;
    padding: 10px;
    /* width: 80vw; */
    align-items: center;
}

.mobile-actions {
    display: flex;
    justify-content: space-between;
    max-width: 80%;
}

.remove-edit-by-category {
    margin: 10px 0;
    padding: 6px 10px;
    width: 100%;
    background-color: var(--secondary-color);
    border: 1px solid var(--main-color);
}


/* ORDER STATS */
.stats-header{
    display: flex;
    align-items: center;
    max-width: 1120px;
    margin: 30px auto;
    flex-direction: column; 
}
.stats-header--title{
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.general-stats {
    display: flex;
    width: 100%;
    padding: 20px 0 ;
    border: 2px solid #12192c;
    border-radius: 5px;
}

.general-stats div {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.stats-js-chart-pie{
    max-width: 100% !important;
    max-height: 100% !important;
}

.general-stats .general-stats--total {
    align-items: flex-start;
    padding: 0 0px 0 20px;
}

.general-stats--inner-div {
    height: 25%;
    width: 300px !important;
    text-align: start !important;
}

.display-results-mobile {
    display: none;
}

/* HOME PAGE */
.search_home_link {
    margin-top: 20px;
}
.staff_home {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: calc(100vh - 90px);
}

.admin_home {
    display: grid;
    align-content: center;
    justify-content: center;
    grid-template-columns: 18% 18% 18% 18%;
}
.admin_home div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.staff_home--link{
    height: 80px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid black;
    border-radius: 3px;
    font-size: 1.15rem;
    text-decoration: none;
    color: black;
}
.staff_home--link ion-icon {
    font-size: 1.9rem;
    margin-bottom: 5px;
}

.full-screan-product-image {
    display: none;
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 999;
    background-color: white;
    top: 0;
    left: 0;

    align-items: center;
    justify-content: center;
}
.full-screan-product-image ion-icon {
    position: fixed;
    top: 25px;
    right: 25px;
    font-size: 200%;
}

.add-jewellery-section {
    width: 1140px;
    max-width: 95vw;
    margin: auto;
}
.resizer {
    width: 500px;
    max-width: 81vw !important;
}

.add-jewel-cat-select {
    display: flex;
    width: 100%;
    max-width: 300px;
    justify-content: space-between;
    padding: 20px 0;
}
.category-select-div {
    display: flex;
    flex-direction: column;
}
.category-select-div input {
    width: 100px;
}
.add-jewel-given-sku {
    margin: 4px 0;
}

.add-supplier {
    max-width: 400px;
    margin: auto;
}
.add-supplier-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.add-supplier .page-title{
    margin-bottom: 20px;
}
.add-supplier-form input {
    margin: 15px 0;
}

.success-message {
    color: rgb(39, 211, 39);
}

.fail-message {
    color: var(--remove-red);
}

.cost-list--header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cost-list--add--link {
    font-size: 58%;
    padding: 5px 8px;
}

.cost-list--add--link ion-icon {
    transform: translateY(3px);
}

.cost-list--single select,
.cost-list--single input {
    border: none;
    border-bottom: 1px solid black;
    width: 90%;
    font-size: 95%;
}
.cost-list--single select:focus,
.cost-list--single input:focus {
    outline: none;
}
.cost-list-section{
    width: 1200px;
    margin: auto;
}
.cost-list--single {
    display: grid;
    grid-template-columns: 10% 5% 10% 9% 7% 10% 20% 11.5% 11.5% 5%;
    margin: 15px 0;
    font-size: 110%;
}
.wholesale-list--single a,
.cost-list--single a,
.cost-list--single button{
    width: 84%;
    font-size: 95%;
}
.wholesale-list--single .inverse-a,
.wholesale-list--single .default-a,
.cost-list--single .default-a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
}
.wholesale-list--single select {
    width: 80%;
}
.wholesale-list--single {
    display: grid;
    grid-template-columns: 10% 4% 15% 8% 8% 10% 12% 13.5% 13.5% 12.5%;
    margin: 15px 0;
    font-size: 110%;
}

.supplier-stats {
    display: grid;
    grid-template-columns: 150px 150px;
}

.supplier-stats--title {
    font-size: 18px;
}

.supplier-stats--stats {
    font-size: 22px;
}

#delete-cost {
    background-color: var(--remove-red);
    color: white;
    border: 1px solid white;
}

#delete-cost ion-icon {
    font-size: 120%;
}

.accept-remove-overlay {
    position: fixed;
    top: 0;
    left: 0;
    /* filter: blur(8px); */
    background-color: rgb(50,50,50,0.9);
    /* -webkit-filter: blur(8px); */
    height: 100vh;
    width: 100vw;
    z-index: 999;
    display: flex;
    align-items: center;
    color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 110%;
}

.accept-remove-overlay--options button {
    font-size: 110%;
    padding: 20px 30px;
}

.accept-remove-overlay--options {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
}

.default-section-header {
    display: grid;
    align-items: center;
    grid-template-columns: 200px calc(100% - 200px);
    max-width: 90vw;
}

.total-sales-nums {
    display: grid;
    grid-template-columns: 10% 10% 10% 10% 10%;
    max-width: 100%;
    padding: 0 10px;
}

.total-sales-nums--title {
    font-size: 100%;
    text-align: center;
}
.total-sales-nums--number {
    font-size: 150%;
    text-align: center;
}