/*Lead table Valid */
.leadStatus_invalid {
    text-decoration: none !important;
    padding: 4px 8px 4px 8px;
    border: 1px solid #ffeeee;
    border-radius: 6px;
}
.leadStatus_valid {
    text-decoration: none !important;
    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;
  margin-bottom: 15px;
}

.upload-icon {
  font-size: 35px;
  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 UI (filter.css)
   
   Purpose: Styles for search bar, filter button, 
   filter dropdown menu, date pickers, and export button.
   
   Components:
   - Search bar with icon
   - Filter button with dropdown
   - Filter menu (page size, source, status, date range)
   - Reset/Apply buttons
   - Export button
******************************/

/* ========================================
   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 {
  width: max-content;
  border-radius: 50px;
  font-size: 14px;
  padding: 8px 15px 10px 15px;
  font-weight: 600;
  /* background-color: #2ECC71;
  color: #fff; */
}

.action-button:hover {
  /* background-color: #2ECC71 !important;
  color: #fff !important; */
}

.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; */
}

/* ========================================
   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;
}

.filter-button.reset,
.filter-button.apply {
  /* background-color: #2ECC71;
  color: #fff; */
  font-size: 14px;
  line-height: 20px;
  border-radius: 50px;
  font-weight: 600;
}

/* CTA Color for Apply Button Active State */
.filter-button.apply:hover,
.filter-button.apply:focus {
  /* background-color: #2ECC71;
  color: #fff; */
}

/* ========================================
   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;
  }

  .action-button {
    font-size: 14px;
    padding: 8px 12px;
  }
}

@media (max-width: 992px) {
  .leadSearchDiv {
    min-width: 200px;
  }
}
/******************************
   Dashboard UI (dashboard.css)
   
   Purpose: Modern, clean styles for lead dashboard table,
   user details, status badges, edit buttons, sortable columns,
   and responsive table layout.
   
   Updated with modern UI standards:
   - Enhanced visual hierarchy
   - Better spacing and typography
   - Improved interactive elements
   - Subtle shadows and borders
   - Smooth hover effects
******************************/

/* ========================================
   TABLE STRUCTURE & MODERN STYLING
======================================== */

.leadTableDiv th {
  padding: 15px !important;
  font-size: 17px;
  /* background-color: #F8F2F3; */
  position: relative;
}
.leadTableDiv td {
  padding: 5px 15px !important;
}
.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; */
}

/* ========================================
   SORTABLE COLUMN ICONS - Enhanced
======================================== */

.leadTableDiv th i.fas.fa-sort-asc.col-asc {
  position: absolute;
  right: 15px;
  top: 20px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.leadTableDiv th i.fas.fa-sort-desc.col-desc {
  position: absolute;
  right: 15px;
  bottom: 20px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.leadTableDiv th i:hover {
  cursor: pointer;
  opacity: 1;
  /* color: #2ECC71; */
  transform: scale(1.15);
}

/* ========================================
   USER INFORMATION DISPLAY - Enhanced
======================================== */

.userStatusDiv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.leadUserName {
  margin-bottom: 6px;
  /* font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.4; */
}

.phoneNumber,
.emailId {
  margin-bottom: 4px;
  /* font-size: 13px;
  color: #6c757d;
  line-height: 1.5; */
}

/* .emailId a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
} */

/* ========================================
   EDIT & STATUS SECTION - Enhanced
======================================== */

.editStatusDiv span {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-weight: 500;
  gap: 2px;
}

/* ========================================
   STATUS BADGES - Modern, Rounded Design
======================================== */

/* Base Badge Style */
/* .orderStatus_processing,
.orderStatus_pending,
.orderStatus_complete {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: all 0.2s ease;
} */

/* Valid/Complete Status - CTA Green */
/* .orderStatus_complete {
  color: #1e7e34 !important;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  cursor: inherit;
  text-decoration: none !important;
}

.leadStatus_valid:hover {
  background-color: #c3e6cb;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(46, 204, 113, 0.2);
} */

/* Processing Status */
/* .orderStatus_processing {
  background-color: #e7f3ff;
  color: #004085;
  border: 1px solid #b8daff;
} */

/* Pending Status - Orange/Yellow */
/* .orderStatus_pending {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
} */

/* ========================================
   NO LEADS MESSAGE
======================================== */

/* #no-leads-message {
  text-align: center;
  padding: 40px 20px !important;
  color: #6c757d;
  font-size: 15px;
  font-style: italic;
} */

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 992px) {
  .leadTableDiv {
    overflow-x: auto;
    border-radius: 0;
  }

  .editStatusDiv span {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .userStatusDiv {
    flex-wrap: wrap;
    gap: 12px;
  }

  .leadTableDiv th {
    min-width: 150px;
  }

  .leadTableDiv thead th {
    font-size: 17px!important;
  }
}

@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) {
  .leadTableDiv {
    font-size: 12px;
  }

  .editStatusDiv span {
    gap: 8px;
  }

  .leadTableDiv tbody tr:hover {
    transform: none;
  }
}

/******************************
   Pagination UI (pagination.css)
   
   Purpose: Styles for pagination controls including
   page numbers, navigation arrows, active states,
   and disabled states.
   
   Components:
   - Page number links
   - Previous/Next arrows
   - Active page indicator
   - Disabled state for arrows
   - Dots separator
******************************/

/* ========================================
   PAGINATION CONTAINER
======================================== */

div#paginationStructure {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  /* font-weight: 500 !important; */
  margin-top: 30px;
}

/* ========================================
   PAGINATION ELEMENTS (Reusable)
======================================== */

.pageArrow,
.pageLink,
.dots {
  cursor: pointer;
  /* font-size: 16px; */
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
}

/* ========================================
   PAGE ARROWS (Previous/Next)
======================================== */

span#prevPage,
span#nextPage {
  width: auto;
  border: none;
}

.pageArrow i {
  font-size: 16px !important;
}

/* ========================================
   DISABLED STATE
======================================== */

.pageArrow.disabled {
  pointer-events: none;
  opacity: 0.5;
  /* color: grey !important; */
}

.pageArrow.disabled i {
  /* color: #82828a !important; */
}

/* ========================================
   ACTIVE PAGE STATE - CTA Color
======================================== */

.pageLink.active {
  /* color: #2ECC71 !important; */
  font-weight: 600;
  /* border-bottom: 2px solid #2ECC71; */
}

/* ========================================
   HOVER STATES
======================================== */

.pageLink:hover:not(.active) {
  opacity: 0.7;
}

.pageArrow:hover:not(.disabled) {
  opacity: 0.8;
}

/* ========================================
   DOTS SEPARATOR
======================================== */

.dots {
  cursor: default;
  pointer-events: none;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 768px) {
  div#paginationStructure {
    gap: 8px;
    margin-top: 20px;
  }

  .pageArrow,
  .pageLink,
  .dots {
    font-size: 14px;
    width: 35px;
    height: 35px;
    line-height: 35px;
  }

  span#prevPage,
  span#nextPage {
    font-size: 13px;
  }

  .pageArrow i {
    font-size: 14px !important;
  }
}

@media (max-width: 576px) {
  div#paginationStructure {
    gap: 6px;
  }

  .pageArrow,
  .pageLink,
  .dots {
    font-size: 13px;
    width: 32px;
    height: 32px;
    line-height: 32px;
  }

  span#prevPage,
  span#nextPage {
    font-size: 12px;
  }
}

/******************************
   Lead Form UI (leadform.css)
   
   Purpose: Styles for lead creation/edit forms,
   form groups, input fields, textareas, submit buttons,
   and success/error message displays.
   
   Components:
   - Form row layout
   - Form groups and inputs
   - Textarea styling
   - Submit button
   - Success messages (CTA green)
   - Error messages
******************************/

/* ========================================
   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;
  }
}