/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Astra Child Theme
 Author:       Your Name
 Author URI:   https://yourwebsite.com/
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/

/* Import parent theme styles */
@import url("../astra/style.css");

.dokan-dashboard #primary .entry-header {
  display: none;
}
.emor-store-tab-content {
  padding: 10px;
  border-right: 1px solid #eee;
  border-left: 1px solid #eee;
}
.dokan-store-youtube h4, 
.dokan-store-about h4 {
  margin-bottom: 15px;
  background: var(--ast-global-color-0);
  padding: 10px 15px;
  color: #fff;
  font-weight: 500;
}
.emor-store-tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #ccc;
  margin-top: 10px;
}
.emor-store-tabs li {
  margin: 0;
}
.emor-store-tabs a {
  text-decoration: none;
  padding: 8px 16px;
  display: block;
  background: #f1f1f1;
  border-radius: 4px 4px 0 0;
}
.emor-store-tabs .active a {
  background: var(--ast-global-color-0);
  border: 1px solid var(--ast-global-color-0);
  border-bottom: none;
  color: #fff;
}
.dokan-store-gallery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
  padding: 0;
  list-style: none;
}
.dokan-store-gallery-list li {
  width: 120px;
  height: auto;
}
.dokan-store-gallery-list img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  height: 120px;
  transition: all 0.3s ease;
}
.dokan-gallery-preview a.remove-image {
  background: #ff0000;
  color: #fff;
  width: 20px;
  height: 20px;
  position: absolute;
  right: 0;
  line-height: 1;
  text-align: center;
}
.sender-userlist {
  text-align: center;
  font-weight: 800;
  padding: 4px;
  background: #eee;
  margin-bottom: 5px;
  border: 1px solid #ccc;
}
ul.dokan-gallery-preview {
  margin: 25px 0;
}
input.dokan_upload_gallery_button {
  padding: 10px 20px;
}
button#insert-media-button {
  padding: 0px 7px !important;
}
.product-edit-new-container .dokan-catalog-mode {
  display: none;
}
button.edit-slug.button.button-small,
a.dokan-btn.dokan-btn-theme.dokan-btn-sm {
  font-size: 0.7rem;
  color: #fff;
  padding: 6px 10px !important;
}
body.dokan-store .ast-woocommerce-container {
  padding: 25px !important;
}
body.dokan-dashboard .ast-container div#primary article {
  padding: 10px 25px 25px 0px !important;
}
body.dokan-dashboard .entry-title {
  font-size: 1.5rem;
}
#request-quote-form .form-group input,
#request-quote-form .form-group select,
#request-quote-form .form-group textarea {
  width: 100%;
}
.dokan-store-settign-header-wrap,
.dokan-product-edit-form .dokan-price-container,
.dokan-product-edit-form .dokan-product-inventory,
.dokan-product-edit-form .dokan-product-shipping-tax,
.dokan-product-edit-form .dokan-geolocation-options,
.dokan-product-edit-form .dokan-linked-product-options {
  display: none !important;
}
.product-edit-new-container .dokan-attribute-variation-options .dokan-product-variation-wrapper .dokan-variations-container .dokan-product-variation-itmes .dokan-variable-attributes .thumbnail-checkbox-options .upload_image .upload_image_button.dokan-img-remove:before {
  content: 'X';
  display: none;
  position: absolute;
  font-size: 50px;
  top: 35%;
  left: 40%;
  color: var(--ast-global-color-0) !important;
}
.product-edit-container .dokan-product-title-alert,
.product-edit-container .dokan-product-cat-alert {
  color: var(--ast-global-color-0) !important;
  font-style: italic;
  margin-top: 5px;
}
.product-edit-container .dokan-product-less-price-alert {
  color: var(--ast-global-color-0) !important;
  font-style: italic;
  margin-top: 5px;
}
.range-slider-container,
.dokan-store-wrap .dokan-store-sidebar aside.widget {
  display: none;
}

.dokan-single-store .dokan-store-products-filter-area.dokan-show, 
.dokan-single-store .seller-items.dokan-show,
.dokan-single-store #nav-below.dokan-show {
  display: block !important;
}
.dokan-single-store .dokan-store-products-filter-area, 
.dokan-single-store .seller-items,
.dokan-single-store #nav-below,
.dokan-single-store .dokan-list-inline {
  display: none !important;
}
body:not(.home) .ast-separate-container .ast-woocommerce-container,
body:not(.home) .ast-container .ast-article-single {
  padding: 15px 25px;
}
.woocommerce-MyAccount-content ul.dokan-account-migration-lists {
  display: none;
}
a.list-group-item {
  position: relative;
  display: block;
  padding: .75rem .5rem;
  background-color: #fff;
  width: 100%;
  color: #495057;
  text-align: inherit;
}

.message-wrapper {
  position: relative;
  display: flex;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  border-radius: .25rem;
  border: 1px solid #dee2e6
}

.manage-sender-list {
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
  border-right: 1px solid #dee2e6
}

.sender_message_listing {
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%;
}

.active-chat-user {
  padding: 10px;
  font-weight: 800;
}

/* Chat message bubbles */
#chat-box {
  padding: 15px;
  margin-bottom: 10px;
  max-height: 300px;
  overflow: auto;
  line-height: 1.1;
}

#chat-box img.dokan-seller-avatar {
  border-radius: 50px;
}

.chat-message-left,
.chat-message-right {
  display: flex;
  align-items: flex-end;
  margin-bottom: 15px;
}

.chat-message-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.chat-message-right {
  display: flex;
  justify-content: flex-end;
  flex-direction: row;
  align-items: center;
}

.chat-message-left img,
.chat-message-right img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.chat-message-left .flex-shrink-1,
.chat-message-right .flex-shrink-1 {
  min-width: 120px;
  max-width: 70vw;
  word-break: break-word;
  color: #333;
  padding: 5px 12px;
}

.chat-message-left .flex-shrink-1 {
  background: #f1f0f0;
  margin-left: 10px;
  margin-right: 0px;
}

.chat-message-right .flex-shrink-1 {
  background: #dce9f8;
  text-align: right;
  margin-left: 0px;
  margin-right: 10px;
}

.font-weight-bold {
  font-weight: 600;
  margin-bottom: 5px;
}
.list-group-item.active {
  background: var(--ast-global-color-0);
  color: #fff;
}
.list-group-item.active::after {
  content: " ";
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 20px solid #fff;
  position: absolute;
  top: 15px;
  right: -1px;
}
.time-text {
  font-size: 9px;
  color: #888 !important;
  margin-top: 6px;
  text-align: center;
}
.date-text {
  font-size: 8px;
  color: #888 !important;
  margin-top: 6px;
  text-align: center;
}
.manage-sender-list .list-group-item img.dokan-seller-avatar,
.active-chat-user img.dokan-seller-avatar {
  border-radius: 50px;
}
.simple-login-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.simple-login-popup {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.simple-login-popup h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
}

.simple-login-popup a.button {
  display: inline-block;
  margin-top: 20px;
  background-color: var(--ast-global-color-0);
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.simple-login-popup a.button:hover {
  background-color: var(--ast-global-color-0);
}
@media (max-width: 600px) {
  .chat-message-left .flex-shrink-1,
  .chat-message-right .flex-shrink-1 {
    max-width: 90vw;
  }
}