File: /home/salamatk/public_html/wp-content/plugins/woodmart-plus/assets/admin/css/customer-tab.css
.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;
}
.wallet-charge-section {
background: #f9f9f9;
padding: 15px;
border: 1px solid #ddd;
border-radius: 4px;
}
#charge-wallet-btn {
font-size: 14px;
padding: 8px 16px;
height: auto;
}
.wallet-popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
}
.wallet-popup-content {
background: white;
border-radius: 8px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
width: 90%;
max-width: 600px;
max-height: 90vh;
overflow-y: auto;
direction: rtl;
}
.wallet-popup-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
border-bottom: 1px solid #eee;
background: #f8f9fa;
border-radius: 8px 8px 0 0;
}
.wallet-popup-header h3 {
margin: 0;
color: #333;
font-size: 18px;
}
.wallet-popup-close {
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: #666;
padding: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all 0.3s ease;
}
.wallet-popup-close:hover {
background: #f0f0f0;
color: #333;
}
.wallet-popup-body {
padding: 20px;
}
.wallet-form-group {
margin-bottom: 20px;
}
.wallet-form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #333;
}
.wallet-form-group input[type="text"],
.wallet-form-group input[type="number"] {
width: 100%;
padding: 12px;
border: 2px solid #ddd;
border-radius: 4px;
font-size: 14px;
transition: border-color 0.3s ease;
box-sizing: border-box;
}
.wallet-form-group input[type="text"]:focus,
.wallet-form-group input[type="number"]:focus {
outline: none;
border-color: #0073aa;
box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}
.form-help {
display: block;
margin-top: 5px;
color: #666;
font-size: 12px;
}
.user-search-container {
position: relative;
}
.search-results {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: white;
border: 1px solid #ddd;
border-top: none;
border-radius: 0 0 4px 4px;
max-height: 200px;
overflow-y: auto;
z-index: 1000;
display: none;
}
.search-result-item {
padding: 12px;
cursor: pointer;
border-bottom: 1px solid #f0f0f0;
transition: background-color 0.2s ease;
}
.search-result-item:hover {
background: #f8f9fa;
}
.search-result-item:last-child {
border-bottom: none;
}
.search-result-item .user-info {
font-weight: 600;
color: #333;
}
.search-result-item .user-details {
font-size: 12px;
color: #666;
margin-top: 4px;
}
.selected-user-info {
margin: 15px 0;
}
.user-info-card {
background: #f8f9fa;
border: 1px solid #e9ecef;
border-radius: 6px;
padding: 15px;
}
.user-info-card h4 {
margin: 0 0 10px 0;
color: #333;
font-size: 14px;
}
.user-details p {
margin: 5px 0;
font-size: 13px;
}
.user-details strong {
color: #555;
}
.wallet-form-actions {
display: flex;
gap: 10px;
justify-content: flex-end;
margin-top: 25px;
padding-top: 20px;
border-top: 1px solid #eee;
}
.wallet-form-actions .button {
padding: 10px 20px;
font-size: 14px;
}
#apply-charge-btn {
background: #28a745;
border-color: #28a745;
}
#apply-decrese-charge-btn {
background: #e20c5a;
border-color: #e20c5a;
}
#apply-charge-btn:hover {
background: #218838;
border-color: #1e7e34;
}
/* انیمیشنها */
.wallet-popup-overlay {
animation: fadeIn 0.3s ease;
}
.wallet-popup-content {
animation: slideIn 0.3s ease;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-50px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 768px) {
.wallet-popup-content {
width: 95%;
margin: 20px;
}
.wallet-form-actions {
flex-direction: column;
}
.wallet-form-actions .button {
width: 100%;
}
}