/**
 **** AppzStory Shopping Cart System PHP MySQL ****
 * 
 * @link https://appzstory.dev
 * @author Yothin Sapsamran (Jame AppzStory Studio)
 */
 
html body {
    font-family: 'Prompt', sans-serif;
    font-size: 0.85rem;
}
.flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #fff;
}
.text-pink {
    color: #FF5656;
}

.img-cover{
    height: 230px;
    object-fit: cover;
    max-width: 100%;
}
.brand-center {
    align-items: center;
    display: flex;
    font-size: 0.85rem;
}

.z-10{
    z-index: 10;
}

input[type=number]{
    width: 60px;
}

/* Custom CSS to create 1:1 image card */
.square-card {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 aspect ratio */
}
.square-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.modal-open {
    overflow: hidden !important;
}


.btn-select {
    overflow: visible;
    cursor: pointer;
    min-width: 5rem;
    min-height: 2.5rem;
    box-sizing: border-box;
    padding: 0.5rem 0.75rem;
    margin: 8px 8px 0 0;
    color: rgba(0,0,0,.8);
    text-align: left;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,.09);
    position: relative;
    background: #fff;
    outline: 0;
    word-break: break-word;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* padding-left: 2.75rem; */
}

.btn-select:hover {
    color: var(--brand-primary-color,#ee4d2d);
    border-color: var(--brand-primary-color,#ee4d2d);
}

.btn-not:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    min-width: 5rem;
    min-height: 2.5rem;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,.09);
}


.showImgOption {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
}

.input-number {
    text-align: center;
    width: 50px;
    padding: 5px;
    border-radius: 0;
}

.btn-number {
    font-size: 12px;
    font-weight: bold;
    min-height: 2.5rem;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,.09);
    padding: 0 12px;
    background: transparent;
}

.btn-number:disabled {
    color: #000;
    background-color: #d8d8d8;
    opacity: 0.5;
    cursor: not-allowed;
    min-height: 2.5rem;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,.09);
}

.text-none{
    text-decoration: none !important;
}
.pointer{
    cursor: pointer;
}

.input-group-height{
    height: 40px;
}

/* Customize title font size to be smaller */
.swal2-title {
  font-size: 16px; /* You can adjust the font size as needed */
}

#display_name{
    font-size: 12px;
}


.sticky-top {
    top: -2px;
}


.my-spacing{
    letter-spacing: 2px;
}


/***   */
#uploadImage {
    opacity: 0;
    position: absolute;
    z-index: -1;
  }
  
  .upload-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    border: 1px dashed #1b3ceb;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
  }
  
  .upload-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  
  .upload-box:hover {
    background-color: #cecccc;
  }
  
  
  .upload-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: #aaa;
    text-align: center;
    width: 100%;
    z-index: 1;
  }
  
  .btn-line{
    display: block;
    background-color: #00b900;
  }