.export-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.export-popup-content {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    min-width: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.popup-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.cart-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.cart-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.close-popup {
    cursor: pointer;
    font-size: 24px;
    color: #666;
}

.popup-body {
    display: grid;
    grid-gap: 20px;
}

.customer-info-section,
.cart-products-section,
.sms-section {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}
.customer-info-section{
    display: flex;
    gap: 253px;

}
span.customer-sms-status{
    color: white;
    padding: 3px 7px;
    border-radius: 5px;
    font-size: 12px;
}
span.customer-sms-status.status_faild {
    background: red;
}
span.customer-sms-status.status_success{
    background: #8bc34a;
}
span.customer-sms-status.status_no_send{
    background: #ffc107;
}
.products-list {
    display: grid;
    grid-gap: 15px;
}

.product-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.product-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.product-info h5 {
    margin: 0 0 5px 0;
}

.product-price {
    font-weight: bold;
    color: #2271b1;
}

#sms-content {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
}

.popup-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    text-align: left;
}

.popup-footer button {
    margin-left: 10px;
}

/* RTL Support */
html[dir="rtl"] .popup-footer {
    text-align: right;
}

html[dir="rtl"] .popup-footer button {
    margin-left: 0;
    margin-right: 10px;
}
.cart_detial {
    display: flex;
    justify-content: space-between;
}

.cart-products-section.loading .cart_detial{
  filter: blur(4px);
}

.lds-ripple,
.lds-ripple div {
  box-sizing: border-box;
}
.lds-ripple {
  display: none;
  position: absolute;
  width: 80px;
  height: 80px;
  right: 50%;
  top: 50%;
  transform: translate(50px, -50px);
}
.loading .lds-ripple{
    display: inline-block;
}

.lds-ripple div {
  position: absolute;
  border: 4px solid currentColor;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }
  100% {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}
.notic-war{
    background: #F44336;
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
}
.notic-succ{
    background: #4CAF50;
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
}

.lds-ripple2,
.lds-ripple2 div {
  box-sizing: border-box;
}
.lds-ripple2 {
  display: none;
  position: absolute;
  width: 80px;
  height: 80px;
  right: 50%;
  top: 50%;
  transform: translate(50px, -50px);
  z-index: 999;
}
.sms-section.loading .lds-ripple2{
    display: inline-block;
}
.sms-section{
    position: relative;
}
.sms-section.loading h4,.sms-section.loading #sms-content{
    filter: blur(3px);
}
.lds-ripple2 div {
  position: absolute;
  border: 4px solid currentColor;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

.sms-log-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100px;
    position: relative;
}

.sms-log-loading .lds-ripple {
    display: inline-block;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
}

.sms-log-popup-body.loading >div:not(.sms-log-loading) {
    display: none;
}

.tooltip-icon {
    position: relative;
    display: inline-block;
    margin-right: 5px;
    cursor: help;
}
.tooltip-icon svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 3px;
}
.tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    line-height: 1.4;
}
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}
.tooltip-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.status-success {
    color: green;
    font-weight: bold;
}
.status-failed {
    color: red;
    font-weight: bold;
}
.email-log-table-container {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.email-log-table-container h4 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}
.email-log-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.email-log-table th, 
.email-log-table td {
    padding: 8px;
    text-align: right;
    border-bottom: 1px solid #eee;
}
.email-log-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}
.email-log-table tr:hover {
    background-color: #f9f9f9;
}
.sms-log-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.sms-log-popup-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
    direction: rtl;
}

.sms-log-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.sms-log-popup-header h3 {
    margin: 0;
}

.close-sms-log {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.sms-log-popup-body {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.sms-log-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sms-log-error {
    display: none;
    color: #e74c3c;
    text-align: center;
}

.sms-log-popup-footer {
    margin-top: 15px;
    text-align: left;
}

.close-sms-log-btn {
    padding: 8px 15px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.sms-log-table {
    width: 100%;
    border-collapse: collapse;
}

.sms-log-table th, .sms-log-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: right;
}

.sms-log-table th {
    background-color: #f2f2f2;
}

.sms-status-success {
    color: #27ae60;
}

.sms-status-faild, .sms-status-failed {
    color: #e74c3c;
}

.sms-status-unknown {
    color: #7f8c8d;
}