/*Lead table Valid */
.leadStatus_invalid {
  color: #ff5050 !important;
  text-decoration: none !important;
  background-color: #ffeeee;
  padding: 4px 8px 4px 8px;
  border: 1px solid #ffeeee;
  border-radius: 6px;
}
.leadStatus_valid {
  color: green !important;
  text-decoration: none !important;
  background-color: #d8f7d4;
  padding: 4px 8px 4px 8px;
  border: 1px solid #d8f7d4;
  border-radius: 6px;
}

/* Import New */
/* Box */
.upload-box {
max-width: 800px;
margin: 0px auto;
text-align: center;
}

/* Header */
.upload-header h3 {
margin: 10px 0 0;
font-size: 18px;
font-weight: bold;
}

.subtitle {
font-size: 14px;
color: #666;
margin-bottom: 15px;
}

.upload-icon {
font-size: 35px;
color: #f05584;
background: #f0f7ff;
border-radius: 50%;
padding: 12px;
display: inline-block;
}

/* Drop Zone */
.drop-zone {
border: 2px dashed #ccc;
padding: 30px;
border-radius: 6px;
cursor: pointer;
}

.drop-zone:hover {
border-color: #2ecc71;
}

.drop-icon {
font-size: 35px;
color: #f05584;
margin-bottom: 10px;
}

.file-link {
color: #2ecc71;
cursor: pointer;
font-weight: bold;
}

.file-name {
display: block;
margin-top: 10px;
color: #666;
font-size: 13px;
}

/* Buttons */
.upload-actions {
display: flex;
justify-content: center;
gap: 10px;
margin-top:10px;
}

.upload-btn {
background-color: #2ecc71!important;
padding: 14px 36px!important;
border-radius: 50px!important;
border-color: #2ecc71!important;
box-shadow: (0, 0, 0, 0.1) 0px 5px 20px 0px;
}

.upload-btn:hover {
background: #28a745;
}
/* Page Title */
.woocommerce-account h1.alignwide.wp-block-post-title {
margin: 0px !important;
max-width: 100% !important;
text-align: center;
}
.woocommerce h2 {
text-align: center;
}

/* ========================================
 FILTER CONTAINER & LAYOUT
======================================== */

.app-content-actions {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 15px;
}

.app-content-actions-wrapper {
display: flex;
align-items: center;
}

/* ========================================
 SEARCH BAR
======================================== */

.leadSearchDiv {
flex: 1;
position: relative;
}

.leadSearchDiv i {
position: absolute;
right: 0;
top: 0;
height: 100%;
width: 45px;
color: #fff;
line-height: 40px;
text-align: center;
}

.search-bar {
margin-bottom: 0;
}

.search-bar:focus-visible {
outline: none;
}

/* ========================================
 ACTION BUTTONS (Reusable)
======================================== */

.action-button svg {
margin-left: 5px;
}

.button-text-align {
display: unset !important;
}

/* Add visual indicator for active sorting */
.col-asc, .col-desc {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  margin-left: 5px;
}

.col-asc:hover, .col-desc:hover {
  opacity: 0.8;
}

.col-asc.active-sort, .col-desc.active-sort {
  opacity: 1;
  color: #007bff; /* or your theme color */
}

/* ========================================
 FILTER BUTTON & DROPDOWN
======================================== */

.filter-button-wrapper {
position: relative;
}

.filter-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
background-color: white;
padding: 15px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
z-index: 10;
width: 200px;
}

.filter-menu.show {
display: block !important;
padding: 15px;
}

/* ========================================
 FILTER MENU INPUTS
======================================== */

.filter-menu label {
display: block;
margin-bottom: 5px !important;
font-size: 13px;
}

.filter-menu select,
.filter-menu input[type="date"] {
height: 30px !important;
padding: 5px !important;
margin-bottom: 10px;
font-size: 13px;
line-height: 20px;
}

input[type="date"]::placeholder {
color: #000 !important;
}

/* ========================================
 FILTER BUTTONS (Reset & Apply)
======================================== */

.filter-menu-buttons {
display: flex;
justify-content: space-between;
gap: 10px;
}

/* ========================================
 FOCUS STATES (Reusable)
======================================== */

input:focus-visible,
select:focus-visible {
outline: none !important;
}

/* ========================================
 RESPONSIVE DESIGN
======================================== */

@media (max-width: 576px) {
.app-content-actions {
  flex-wrap: wrap;
}

input#searchInput {
  width: 100%;
}

.filter-menu {
  left: 0;
  right: 0;
}
}

@media (max-width: 768px) {
.app-content-actions {
  gap: 10px;
}
}

@media (max-width: 992px) {
.leadSearchDiv {
  min-width: 200px;
}
}

/* ========================================
 TABLE STRUCTURE & MODERN STYLING
======================================== */


.userStatusDiv p {
font-size: 15px!important;
}
.editStatusDiv .alert {
padding: 5px 15px!important;
width: max-content;
}
.editStatusDivButton .editButton{
  color: #4278bb!important;
  text-decoration: underline !important;
  cursor: pointer;
}
.alert-success a{
color: #28c874 !important;
}
.editStatusDiv .alert-danger a {
color: #e65656 !important;
}
.emailId a {
text-decoration: none!important;
} 

.emailId a:hover {
color: #2ECC71!important;
}


/* ========================================
 USER INFORMATION DISPLAY - Enhanced
======================================== */

.userStatusDiv {
display: flex;
justify-content: space-between;
align-items: center;
gap: 15px;
}

.leadUserName {
margin-bottom: 6px;
}

.phoneNumber,
.emailId {
margin-bottom: 4px;
}


/* ========================================
 EDIT & STATUS SECTION - Enhanced
======================================== */

.editStatusDiv span {
display: flex;
flex-direction: column;
align-items: flex-end;
font-weight: 500;
gap: 2px;
}


/* ========================================
 RESPONSIVE DESIGN
======================================== */

@media (max-width: 992px) {

.editStatusDiv span {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.userStatusDiv {
  flex-wrap: wrap;
  gap: 12px;
}


}

@media (max-width: 768px) {


.userStatusDiv {
  gap: 10px;
}

.leadUserName {
  margin-bottom: 4px;
}


.editButton {
  font-size: 12px;
  padding: 5px 10px;
}
.orderStatus_processing,
.orderStatus_pending,
.orderStatus_complete {
  font-size: 11px;
  padding: 5px 12px;
}
}

@media (max-width: 576px) {
.editStatusDiv span {
  gap: 8px;
}

}

/* ========================================
 FORM LAYOUT
======================================== */

.leadFormRow {
display: flex;
align-items: center;
gap: 10px;
}

.formGroup {
width: 100%;
margin-bottom: 0 !important;
}

/* ========================================
 TEXTAREA STYLING
======================================== */

.formGroup textarea {
min-height: 70px;
padding: 12px;
}

.formGroup textarea:focus-visible {
outline: none;
}

/* ========================================
 SUBMIT BUTTON
======================================== */

input#submitNewLeadForm {
margin-top: 20px;
}

/* ========================================
 SUCCESS MESSAGE - CTA Color
======================================== */

.successMessage {
margin-top: 0 !important;
padding: 10px;
font-weight: 500;
background-color: #f1fbec;
color: #54b783;
border-color: #cce8b3;
}

/* ========================================
 ERROR MESSAGE
======================================== */

.errorMessage {
margin-top: 0 !important;
margin-bottom: 16!important;
padding: 10px;
background-color: #fbf1f1;
color: #e65656;
border-color: #efe1e3;
}

.errorMessage ul {
font-weight: 400;
position: relative;
margin-bottom: 0;
}

/* ========================================
 RESPONSIVE DESIGN
======================================== */

@media (max-width: 768px) {
.leadFormRow {
  flex-wrap: wrap;
  gap: 0;
}

.formGroup {
  margin-bottom: 10px !important;
}

.formGroup textarea {
  min-height: 60px;
  padding: 10px;
}
}

@media (max-width: 576px) {
input#submitNewLeadForm {
  width: 100%;
  margin-top: 15px;
}

.successMessage,
.errorMessage {
  font-size: 14px;
  padding: 8px;
}
}