/*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: wrap; /* nowrap → wrap */
    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;
}



/* 1. Publish Panel - Red */
.section-scroller-panel a.section-scroller:nth-child(1) {
  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);
}

/* 2. Suggestion Panel - Teal */
.section-scroller-panel a.section-scroller:nth-child(2) {
  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);
}

/* 3. Products Panel - Blue */
.section-scroller-panel a.section-scroller:nth-child(3) {
  background: linear-gradient(45deg, #5B8DEF, #8DAFF5, #B0C4DE);
}

.section-scroller-panel a.section-scroller:nth-child(3):hover {
  background: linear-gradient(45deg, #5B8DEF, #8DAFF5, #B0C4DE);
  transform: scale(1.02);
}

/* 4. Brand Panel - Purple */
.section-scroller-panel a.section-scroller:nth-child(4) {
  background: linear-gradient(45deg, #7C3AED, #9F67FF, #C4B5FD);
}

.section-scroller-panel a.section-scroller:nth-child(4):hover {
  background: linear-gradient(45deg, #7C3AED, #9F67FF, #C4B5FD);
  transform: scale(1.02);
}

/* 5. Megamall Panel - Orange */
.section-scroller-panel a.section-scroller:nth-child(5) {
  background: linear-gradient(45deg, #F97316, #FB923C, #FDBA74);
}

.section-scroller-panel a.section-scroller:nth-child(5):hover {
  background: linear-gradient(45deg, #F97316, #FB923C, #FDBA74);
  transform: scale(1.02);
}

/* 6. Compare Panel - Green */
.section-scroller-panel a.section-scroller:nth-child(6) {
  background: linear-gradient(45deg, #16A34A, #4ADE80, #86EFAC);
}

.section-scroller-panel a.section-scroller:nth-child(6):hover {
  background: linear-gradient(45deg, #16A34A, #4ADE80, #86EFAC);
  transform: scale(1.02);
}

/* 7. Account Panel - Dark Slate */
.section-scroller-panel a.section-scroller:nth-child(7) {
  background: linear-gradient(45deg, #334155, #475569, #94A3B8);
}

.section-scroller-panel a.section-scroller:nth-child(7):hover {
  background: linear-gradient(45deg, #334155, #475569, #94A3B8);
  transform: scale(1.02);
}




@media (max-width: 768px) {

    .section-scroller-panel {
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 12px;
        gap: 8px;
    }

    .section-scroller-panel a.section-scroller {
        font-size: 13px;
        padding: 6px 12px;
        max-width: 120px;
        flex: 0 1 auto;
    }
	
	/* 2. Suggestion Panel - Teal */
	.section-scroller-panel a.section-scroller:nth-child(2) {
		font-size:12px;
	}
	
	
}


/*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 {
  
  
}


/*Merchant Additional Info Box*/
/*additional tags*/

.tag-type-group-head {
  margin-top: 0;
  margin-bottom: 12px;
  padding-left: 0;
  text-align: left;
}

/* চেকবক্স এবং লেবেলকে সোজা এক লাইনে এবং অ্যালাইন রাখার জন্য */
.custom-checkbox-addi-tags {
  display: flex;
  align-items: center;
  margin-bottom: 8px; /* প্রতিটি আইটেমের মাঝে কিছু গ্যাপ তৈরি করতে */
}

/* চেকবক্সের নিজস্ব সাইজ ঠিক রাখতে */
.custom-checkbox-addi-tags input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0; /* যেন চেকবক্সের সাইজ ছোট না হয়ে যায় */
}

/* চেক করার পর গ্রিন ব্যাকগ্রাউন্ড */
.custom-checkbox-addi-tags input[type="checkbox"]:checked {
  background-color: #28a745;
  border-color: #28a745;
}

/* সাদা টিক মার্ক */
.custom-checkbox-addi-tags input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}



/*Per item body show/close*/
.product-header{
    display:flex;
    align-items:center;
    gap:12px;
    padding:5px 6px;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:8px;
    cursor:pointer;
    transition:.2s;
}



.product-header:hover{
    background:#f8fafc;
}

.product-image{
    width:70px;
    height:70px;
    object-fit:cover;
    border-radius:6px;
    border:1px solid #e5e7eb;
    flex-shrink:0;
}

.product-name{
    margin:0;
    font-size:15px;
    font-weight:600;
    color:#1e293b;
    line-height:1.4;
    flex:1;
	text-align:left;
    align-self:flex-start;   /* উপরে align হবে */
    padding-top:2px;
}




.product-info{
    flex:1;
    min-width:0;
}

/* .product-name{
    margin:0 0 6px 0;
    font-size:15px;
    font-weight:600;
    color:#1e293b;
    line-height:1.4;
} */

.product-meta{
    display:flex;
	flex-wrap: wrap;
    align-items:center;
    gap:10px;
    font-size:12px;
    color:#64748b;
}

.product-status{
    display:inline-block;
    padding:3px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
    border:1px solid;
    line-height:1.3;
}

/* Published - Green */
.status-published{
    background:#ecfdf5;
    color:#15803d;
    border-color:#86efac;
}

/* Pending - Amber */
.status-pending{
    background:#fffbeb;
    color:#b45309;
    border-color:#fcd34d;
}

/* Unpublished - Gray */
.status-unpublished{
    background:#f8fafc;
    color:#475569;
    border-color:#cbd5e1;
}

/* Rejected - Red */
.status-rejected{
    background:#fef2f2;
    color:#b91c1c;
    border-color:#fca5a5;
}

/* Suspended - Orange */
.status-suspended{
    background:#fff7ed;
    color:#c2410c;
    border-color:#fdba74;
}

/* Cancelled - Slate */
.status-cancelled{
    background:#f1f5f9;
    color:#334155;
    border-color:#94a3b8;
}

/* Deleted - Dark Red */
.status-deleted{
    background:#7f1d1d;
    color:#ffffff;
    border-color:#7f1d1d;
}

.product-time{
    color:#6b7280;
    white-space:nowrap;
}






.item-body-wrapper{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:99999;
}

.item-body-box{
    position:absolute;
    top:8px;          /* Screen top থেকে একটু নিচে */
    left:8px;
    right:8px;
    bottom:8px;
    overflow:auto;
	border:1px solid #E5E7EB;
	border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,0.05);
	background-color:#EEE;
}



.popup-header{
    position:sticky;
    top:0;
    display:inline;
    justify-content:space-between;
    align-items:center;
    padding:14px;
    background:#fff;
    border-bottom:1px solid #eee;
	cursor:pointer;
}

.popup-header span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:50%;
    color:#64748b;
    transition:.2s;
    cursor:pointer;
}

.popup-header span:hover{
    background:#ef4444;
    color:#ffffff;
}



/*market child tooltip*/
.market-name-with-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.market-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);

    transform: translateX(-50%);

    min-width: 180px;
    max-width: 280px;

    padding: 10px 12px;

    background: #222;
    color: #fff;

    border-radius: 8px;

    font-size: 13px;
    line-height: 1.5;

    box-shadow: 0 5px 20px rgba(0,0,0,.20);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .15s ease,
        visibility .15s ease;

    z-index: 9999;
}


/*
 * Arrow
 */
.market-tooltip::after {
    content: "";

    position: absolute;

    top: 100%;
    left: 50%;

    transform: translateX(-50%);

    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #222;
}


/*
 * Desktop hover
 */
.market-name-with-tooltip:hover .market-tooltip {
    opacity: 1;
    visibility: visible;
}


/*
 * Child item
 */
.market-tooltip-child {
    padding: 3px 0;
    white-space: nowrap;
}


/*
 * Optional bullet
 */
.market-tooltip-child::before {
    content: "• ";
    opacity: .7;
}


.market-name-with-tooltip.active .market-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}