/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 2.0.0
*/

/* ---------------------------------------------
   General Styles
--------------------------------------------- */

.dynamic-footer{
	display:none !important;
}

body {
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

/* === General Buttons === */
.button-primary {
  background-color: #145DA0;
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.button-primary:hover {
  background-color: #2D8BBA;
}

/* === Section Containers === */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* ---------------------------------------------
   ACF Forms Styling (Add/Edit Customer)
--------------------------------------------- */

#acf-form,
.slice-customer-form-container{
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin: 2rem auto;
  max-width: 800px;
}

#acf-form label,
.slice-customer-form-container label{
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#acf-form input[type="text"],
#acf-form input[type="email"],
#acf-form input[type="number"],
#acf-form textarea,
#acf-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9fafb;
  margin-bottom: 1.5rem;
  font-size: 15px;
}

#acf-form input:focus,
#acf-form textarea:focus,
#acf-form select:focus {
  border-color: #145DA0;
  background: #fff;
}

/* === Submit Button === */
#acf-form input[type="submit"],
#acf-form .acf-button {
  background-color: #145DA0;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  cursor: pointer;
}
#acf-form input[type="submit"]:hover,
#acf-form .acf-button:hover {
  background-color: #2D8BBA;
}

/* ---------------------------------------------
   Slice Customer Cards (Customer Dashboard)
--------------------------------------------- */

.customer-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 2rem auto;
}

.customer-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.customer-card h2 {
  font-size: 22px;
  margin-bottom: 1rem;
  color: #145DA0;
  text-decoration:none !important;
}

.customer-card p{
	margin-bottom:0px !important
}

.customer-info {
  margin-bottom: 20px;
}

.customer-info div {
  margin-bottom: 5px;
  font-size: 15px;
}

.customer-card .view-customer-button {
  background-color: #145DA0;
  color: #ffffff !important;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none !important;
}
.view-customer-button:hover {
  background-color: #2D8BBA;
}

/* No Customers Message */
.no-customers-message {
  text-align: center;
  font-size: 18px;
  margin-top: 2rem;
  color: #777;
}

/* ---------------------------------------------
   Single Slice Customer (View Page)
--------------------------------------------- */

.single-customer-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
}

.customer-box, .customer-checklist {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* Checklist */
.customer-checklist ul {
  list-style: none;
  padding: 0;
}
.customer-checklist li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.customer-checklist li span {
  width: 12px;
  height: 12px;
  background: green;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
}

/* Action Buttons Under Single Customer */
.single-customer-actions {
  text-align: center;
  margin-top: 2rem;
}
.single-customer-actions a {
  display: inline-block;
  margin: 0 10px;
  padding: 10px 20px;
  background: #145DA0;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}
.single-customer-actions a:hover {
  background: #2D8BBA;
}

/* ---------------------------------------------
   Delete Confirmation Template
--------------------------------------------- */

.delete-confirmation {
  max-width: 600px;
  margin: 4rem auto;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.delete-confirmation h2 {
  margin-bottom: 1.5rem;
  font-size: 24px;
  color: #c0392b;
}

.delete-confirmation p {
  margin-bottom: 2rem;
  font-size: 16px;
}

.delete-actions a {
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  margin: 0 10px;
}

.btn-delete {
  background: #c0392b;
  color: #fff !important;
}
.btn-delete:hover {
  background: #e74c3c;
}

.btn-cancel {
  background: #bbb;
  color: #333;
}
.btn-cancel:hover {
  background: #999;
}

/* ---------------------------------------------
   Success Messages
--------------------------------------------- */

.acf-success-message,
.success-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-left: 5px solid #28a745;
  margin-bottom: 2rem;
  border-radius: 8px;
}

/* ---------------------------------------------
   Mobile Responsive
--------------------------------------------- */

@media (max-width: 768px) {
  .customer-cards-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .customer-card {
    width: 90%;
  }
  .info-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .single-customer-container {
    padding: 1.5rem;
  }
  .customer-box, .customer-checklist {
    padding: 1.5rem;
  }
  .single-customer-actions a {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}


/* === Slice Member Login Form === */
.slice-login-page-wrapper {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.slice-login-form .form-group {
    margin-bottom: 1.5rem;
}

.slice-login-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.slice-login-form input[type="email"],
.slice-login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    transition: border-color 0.3s;
}

.slice-login-form input[type="email"]:focus,
.slice-login-form input[type="password"]:focus {
    border-color: #145DA0;
    background: #fff;
}

.slice-login-button {
    width: 100%;
    padding: 12px;
    background-color: #145DA0;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slice-login-button:hover {
    background-color: #2D8BBA;
}

.slice-login-error {
    margin-top: 1rem;
    color: #c00;
    font-weight: bold;
    text-align: center;
}


/* === Slice Member Logout Button === */
.slice-logout-wrapper {
    margin-top: 10px;
    text-align: center;
}

.slice-logout-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #145DA0;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
	line-height: 1rem !important;
}

.slice-logout-button:hover {
    background-color: #2D8BBA;
}

.slice-member-full-name{
	font-size:40px;
	font-weight:700;
	color:#000000;
}

.acnt-social a {
    margin: 0px 5px;
}

/* Traning Library form and page styling */
.training-library-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.training-library-table {
  width: 100%;
  border-collapse: collapse;
}

.training-library-table th,
.training-library-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.training-library-table th {
  background-color: #f7f7f7;
  font-weight: 600;
}

.training-library-table a {
  color: #145DA0;
  font-weight: bold;
}

/* Custerom Status Styles */
.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-yes { background: #008000; }
.status-in-progress { background: #FFA500; }
.status-no { background: #ff0000; }

/* === Customer Filter Search Bar Styling === */
.customer-filters {
  max-width: 1200px;
  margin: 2rem auto 1rem auto;
  padding: 1rem 1.5rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
}

.customer-filters input[type="text"],
.customer-filters select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
  background: #fff;
}

.customer-filters select {
  min-width: 180px;
}

.customer-filters input[type="text"] {
  flex: 1 1 250px;
}

/* Toggle Buttons */
.toggle-btn {
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
  border: none;
  cursor: pointer;
  background: #eee;
  color: #333;
  border-radius: 4px;
}

.toggle-btn.active,
.toggle-btn:hover{
  background-color: #145DA0;
  color: #fff;
}

/* Card Container View Modes */
.grid-wrapper {
    display: flex
;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap !important;
}

.customer-cards-container.grid-view .customer-card {
  width: 31%;
  display: inline-block;
  vertical-align: top;
  margin: 1%;
}

.customer-cards-container.list-view .customer-card {
  display: block;
  width: 100%;
  margin: 1rem 0;
}


/* Mobile adjustments */
@media (max-width: 768px) {
  .customer-filters {
    flex-direction: column;
    gap: 0.75rem;
  }

  .customer-filters input,
  .customer-filters select {
    width: 100%;
  }
}

/* Slice Corporate All Customer View */
.corporate-customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.corporate-customer-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.status-dot.green { background: green; }
.status-dot.orange { background: orange; }
.status-dot.red { background: red; }
.status-dot.gray { background: gray; }

.checklist-box ul {
    padding-left:0rem;
    margin: 0 0 1rem;
	list-style-type: none !important;
}

.edit-btn {
    display: inline-block;
    background: #145DA0;
    color: #ffffff !important;
    padding: 8px 12px;
    text-decoration: none !important;
    border-radius: 4px;
    margin-top: 10px;
	align-self: baseline !important;
}

.edit-btn:hover {
    background: #0f4d85;
}

/* Customer SLICE Corporate Tabs */
.implementation-tabs {
  text-align: center;
  margin: 1.5rem 0;
}

.implementation-tabs .imp-tab {
  display: inline-block;
  background-color: #f3f4f6;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px 18px;
  margin: 0 6px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.implementation-tabs .imp-tab:hover {
  background-color: #e2e8f0;
}

.implementation-tabs .imp-tab.active {
  background-color: #145DA0;
  color: #fff !important;
  border-color: #145DA0;
}

/* Slice Customer Table - Profile Page */
.slice-training-table-wrapper,
.slice-customer-table-wrapper,
.slice-compliance-table-wrapper,
.training-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
}

.slice-training-table,
.slice-customer-table,
.slice-compliance-table,
.training-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

/* Slice Member Registration Header Styles */
.slice-registration-header {
    background-color: #2c5eaa;
    color: #fff;
    padding: 2rem;
    text-align: center;
    font-size: 1.75rem;
    font-weight: bold;
    width:100% !important;
    max-width:100% !important;
}

.slice-registration-message {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1rem;
    text-align: center;
    line-height: 1.6;
    padding: 0 1rem;
}


/* Agent Approval Style Grid */
/* Container for agent cards */
.slice-agent-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 1rem;
  margin: 0 auto;
  box-sizing: border-box;
  max-width: 100%;       /* Prevents container from overflowing */
  overflow-x: hidden;    /* Removes any horizontal scroll */
}

/* Each agent card */
.agent-card {
  width: calc(50% - 2rem); /* Two per row with gap considered */
  min-width: 300px;
  max-width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.agent-card h3 {
  margin-top: 0;
  font-size: 1.2em;
}

.agent-card form {
  margin-top: 1em;
}

.agent-card input[type="text"],
.agent-card select {
  width: 100%;
  max-width: 100%;
  padding: 6px 10px;
  margin-top: 4px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.agent-card button {
  background: #0066cc;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.agent-card button:hover {
  background: #004a99;
}

.agent-card a {
  color: #0066cc;
  text-decoration: none;
}

.agent-card a:hover {
  text-decoration: underline;
}

/* Mobile responsive: one card per row */
@media screen and (max-width: 768px) {
  .agent-card {
    width: 100%;
  }
}
.agent-card h3 {
  margin-top: 0;
}

.agent-card form {
  margin-bottom: 1rem;
}



/* SLICE Agent Profile View for SLICE Coporate */
.agent-profile-view {
  max-width: 700px;
  margin: 50px auto;
  background: #fff;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.agent-profile-view h2 {
  margin-top: 0;
}

.agent-profile-view h3 {
  margin-top: 1.5em;
}

.agent-profile-view p,
.agent-profile-view li {
  margin: 0.5em 0;
}

.hidden {
    display: none !important;
}




/* Grid container default */
.customer-cards-container {
    display: block;
    margin-top: 1rem;
}



.hidden {
    display: none !important;
}

/* Optional: Table Styling for List View */
.customer-list-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.customer-list-table th,
.customer-list-table td {
    padding: 10px;
    border: 1px solid #eee;
    text-align: left;
}

.customer-list-table th {
    background: #f9f9f9;
    font-weight: 600;
}

/* View Toggle Buttons */
.export-btn{
	color:#000000 !important;
}
.toggle-btn,
.export-btn{
    padding: 8px 12px;
    margin-left: 5px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #fff;
}

.toggle-btn.active,
.export-btn:hover{
    background-color: #007cba;
    color: #fff !important;
    border-color: #007cba;
}

@media screen and (max-width:767px){
	.customer-cards-container.grid-view .customer-card {
  width: 48%;
	}
	.customer-filters input[type="text"] {
    flex: 1 1 50px;
}
}

@media screen and (max-width:451px){
	.customer-cards-container.grid-view .customer-card {
  width: 100%;
	}
}
	
/* Customer Parking Lot Photo Gallery */
.customer-photo-gallery {
    margin-top: 2rem;
}

.customer-photo-gallery .photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.customer-photo-gallery .photo-grid a img {
    border-radius: 5px;
    transition: transform 0.2s ease;
    max-width: 150px;
    height: auto;
}

.customer-photo-gallery .photo-grid a:hover img {
    transform: scale(1.05);
}


/* Styling Tables for Responsive Scroll */
/* Make table scrollable on smaller screens */
@media screen and (max-width:650px){
.responsivetable-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.responsivetable {
  width: 100%;
  min-width: 600px; /* Adjust as needed */
  border-collapse: collapse;
}
}
