/*dessbossa.com merchant styles august 2025 by md. atikur rahman, bangladesh*/

/*merchant login area right panel slide show*/

/* Slideshow container */
.merchant-login-panel-mySlides {display: none;}
.merchant-login-panel-pics {vertical-align: middle;}

/* Slideshow container */
.merchant-login-panel-slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  box-sizing: border-box;
  font-family: Verdana, sans-serif;
}

/* Caption text */
.merchant-login-panel-text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.merchant-login-panel-numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.merchant-login-panel-dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .merchant-login-panel-text {font-size: 11px}
}


/*section scroller*/
.section-scroller-panel {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
  background: #F5F7FA;
  border-radius: 6px;
  margin: 0 auto;
  max-width: 100%;
}

.section-scroller-panel a.section-scroller {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 0 1 auto;
  max-width: 150px;
}

.section-scroller-panel a.section-scroller:nth-child(1) {
  /*background: linear-gradient(45deg, #FF6B6B, #FF8787, #FFA8A8);*/
  background: linear-gradient(45deg, #E63946, #FF5555, #FF8787);
}

.section-scroller-panel a.section-scroller:nth-child(1):hover {
  background: linear-gradient(45deg, #E63946, #FF5555, #FF8787);
  transform: scale(1.02);
}

.section-scroller-panel a.section-scroller:nth-child(2) {
  /*background: linear-gradient(45deg, #4ECDC4, #6DE3DA, #96EDEB);*/
  background: linear-gradient(45deg, #35B7AA, #45D3C8, #6DE3DA);
}

.section-scroller-panel a.section-scroller:nth-child(2):hover {
  background: linear-gradient(45deg, #35B7AA, #45D3C8, #6DE3DA);
  transform: scale(1.02);
}

.section-scroller-panel a.section-scroller:nth-child(3) {
  /*background: linear-gradient(45deg, #A3BFFA, #B0C4DE, #D3E0EA);*/
  background: linear-gradient(45deg, #8DAFF5, #A3BFFA, #B0C4DE);
}

.section-scroller-panel a.section-scroller:nth-child(3):hover {
  background: linear-gradient(45deg, #8DAFF5, #A3BFFA, #B0C4DE);
  transform: scale(1.02);
}

.section-scroller-panel a.section-scroller:nth-child(4) {
  /*background: linear-gradient(45deg, #6B7280, #9CA3AF, #D1D5DB);*/
  background: linear-gradient(45deg, #4B5563, #6B7280, #9CA3AF);
}

.section-scroller-panel a.section-scroller:nth-child(4):hover {
  background: linear-gradient(45deg, #4B5563, #6B7280, #9CA3AF);
  transform: scale(1.02);
}


@media (max-width: 768px) {
  .section-scroller-panel {
    justify-content: center;
    align-items: center;
    padding: 12px;
  }
  .section-scroller-panel a.section-scroller {
    font-size: 13px;
    padding: 6px 12px;
    max-width: 120px;
  }
  a.section-scroller:nth-child(2) {
  max-width: 150px;
}
}


/*merchant products live now*/
 .merchant-products-live-now {
    display: inline-block;
    padding: 3px 6px;
    background-color: #E63946;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 10px;
    animation: blink 5s infinite, shake 5s infinite;
  }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
  }

  @keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
  }
  
  
  
/*product delete button*/
.product-delete-button {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(45deg, #FF6B6B, #E63946);
    border-radius: 8px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .product-delete-button:hover {
    background: linear-gradient(45deg, #E63946, #C9184A);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  
/*product unpublish button*/
.product-unpublish-button {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(45deg, #FF9800, #FFC107);
    border-radius: 8px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .product-unpublish-button:hover {
    background: linear-gradient(45deg, #F57C00, #FF9800);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  
/*product republish button*/  
.product-republish-button {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(45deg, #4CAF50, #00C4B4);
    border-radius: 8px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .product-republish-button:hover {
    background: linear-gradient(45deg, #43A047, #00B8A9);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  
 /*refresh response contents*/
 .refresh-panel {
    border: 1px solid #eee;
    background: linear-gradient(135deg, #F5F7FA, #E2E8F0);
    padding: 0px;
    border-radius: 0px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
  }

  .refresh-button {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(45deg, #4FC3F7, #42A5F5);
    border-radius: 6px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
  }

  .refresh-button:hover {
    background: linear-gradient(45deg, #39AEF5, #2E91E5);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .response-code {
    color: #6B7280;
    font-family: 'Consolas', monospace;
    font-size: 14px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
  }

/*   @media (max-width: 480px) {
    .refresh-panel {
      flex-direction: column;
      align-items: stretch;
      padding: 16px;
    }
    .refresh-button, .response-code {
      width: 100%;
      text-align: center;
    }
  }
   */
  
  
 /*merchant products stats table*/
 .stats-holder {
    background: linear-gradient(135deg, #F5F7FA, #E2E8F0);
    padding: 0px;
    border-radius: 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    margin: 0 auto;
  }

  .stats-table {
    width: 100%;
    font-family: 'Inter', sans-serif;
    border-collapse: collapse;
  }

  .stats-header {
    background: linear-gradient(90deg, #2D3748, #4A5568);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 2px solid #E2E8F0;
  }

  .stats-header th {
    padding: 12px;
    text-align: left;
  }

  .stats-header .stats-center {
    text-align: center;
  }

  .stats-row {
	width: 100%;
    background-color: #FFFFFF;
    transition: background 0.3s ease;
  }

  .stats-row.alt {
    background-color: #F9FAFB;
  }

  .stats-row td {
    padding: 10px 12px;
    font-size: 14px;
    border-bottom: 1px solid #E2E8F0;
  }

  .stats-center {
    text-align: center;
  }

 /*  .live-now {
    display: inline-block;
    padding: 4px 8px;
    background-color: #E63946;
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 4px;
    animation: blink 1s infinite;
  } */

  .stats-green { color: #2ECC71; }
  .stats-gray { color: #6B7280; }
  .stats-red { color: #E63946; }
  .stats-blue { color: #42A5F5; }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
  }

 /*  @media (max-width: 768px) {
    .stats-holder {
      padding: 16px;
    }
    .stats-table {
      font-size: 14px;
    }
    .stats-header th, .stats-row td {
      padding: 8px;
    }
    .stats-table {
      display: block;
      /* overflow-x: auto; *
    }
  } */
  
  
  
  
  
/*item condition*/ 
  
  .item-type-options {
  background: #f9f9f9;
  padding: 12px 16px;
  border-radius: 8px;
  width: 80%;
  margin: 0 auto; /* center */
  font-family: 'Inter', sans-serif;
}

.item-type-title {
  font-size: 14px;
  font-weight: 600;
  color: #56c6a9;
  margin-bottom: 8px;
}

.item-type-option {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.item-type-option:hover {
  background: #eee;
}

.item-type-option input[type="radio"] {
  accent-color: #800080; /* radio color */
  transform: scale(1.1);
}

.item-type-option span {
  font-size: 13px;
  color: #374151;
}

.item-type-option.do-not-show span {
  color: #eab308; /* yellowish for "Do not show" */
  font-weight: 600;
}



/*Dates ->manufacture/expiry*/
.date-fields-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  background: #f9f9f9;
  padding: 16px;
  border-radius: 8px;
  width: 80%;
  margin: 0 auto; /* center wrapper */
  justify-content: flex-start;
  position: relative;
  flex-direction: row;
}


.date-title {
  flex-basis: 100%;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.date-field {
  flex: 1 1 225px; /*width size*/
  display: flex;
  flex-direction: column;
}

.date-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  margin-bottom: 4px;
  text-align: left; /* left align label text */
}

.label-manufacture {
  color: #065F46;
}

.label-expiry {
  color: #B45309;
}

.date-input {
  outline: none;
  width: 100%;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.date-input:focus {
  border-color: #6366F1;
  box-shadow: 0 0 0 2px rgba(99,102,241,0.15);
}

.error-msg {
  font-size: 12px;
  color: #DC2626;
  margin-top: 2px;
  display: block;
}



/*Origin*/
.origin-fields-wrapper {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  background: #f9f9f9;
  padding: 16px;
  border-radius: 8px;
  width: 80%;
  margin: 0 auto; /* center */
}



/*product publish Placeholder design*/
.product-publish-PH-design::placeholder {
  color: #9c27b0;
  font-weight: bold;
}
.product-publish-PH-design::-ms-input-placeholder { /* Edge 12-18 */
  color: #9c27b0;
  font-weight: bold;
}

/*for market*/
.product-publish-PH-design-orng::placeholder {
  color: #ff9800;
  font-weight: bold;
}
.product-publish-PH-design-orng::-ms-input-placeholder { /* Edge 12-18 */
  color: #ff9800;
  font-weight: bold;
}

/*for origin*/
.product-publish-PH-design-grn::placeholder {
  color: #4caf50;
  font-weight: bold;
}
.product-publish-PH-design-grn::-ms-input-placeholder { /* Edge 12-18 */
  color: #4caf50;
  font-weight: bold;
}

/*for price, brand, description*/
.product-publish-PH-design-gry::placeholder {
  color: gray;
  font-weight: bold;
}
.product-publish-PH-design-gry::-ms-input-placeholder { /* Edge 12-18 */
  color: gray;
  font-weight: bold;
}


/*for name*/
.product-publish-PH-design-blu::placeholder {
  color: #4169e1;
  font-weight: bold;
}
.product-publish-PH-design-blu::-ms-input-placeholder { /* Edge 12-18 */
  color: #4169e1;
  font-weight: bold;
}


/*product publish input focus*/
.product-publish-input-focus:focus {
  
  
}


