/* :root {
  --primary-color: #1976D2;
  --primary-hover: #1565C0;
  --secondary-color: #B0BEC5;
  --background-color: #F5F7FA;
  --card-background: #FFFFFF;
  --success-color: #00ACC1;
  --success-hover: #008C9E;
  --warning-color: #FFC107;
  --warning-hover: #FFA000;
  --error-color: #FF5252;
  --error-hover: #C62828;
  --text-primary: #263238;
  --text-secondary: #546E7A;
} */




:root {
  --primary-color: #6A89CC;
  /* Soft Blue */
  --primary-hover: #4A69BB;
  /* Deeper Blue */
  --secondary-color: #A8C0D4;
  /* Muted Pastel Blue */
  --background-color: #EAF2F8;
  /* Lightest Blue/Gray */
  --card-background: #FDFDFD;
  /* Almost White */
  --success-color: #6ABF69;
  /* Calm Green */
  --success-hover: #5A9F58;
  /* Deeper Green */
  --warning-color: #F4D03F;
  /* Soft Yellow */
  --warning-hover: #E6B800;
  /* Muted Golden */
  --error-color: #E57373;
  /* Gentle Red */
  --error-hover: #C74C4C;
  /* Deeper Red */
  --text-primary: #37474F;
  /* Soft Dark Gray */
  --text-secondary: #607D8B;
  /* Muted Blue-Gray */
}

.subcategory-list .collection-item:hover {
  background-color: var(--primary-hover);
  /* Keep background change */
}

.subcategory-list .collection-item:hover .subcategory-link {
  color: white !important;
  /* Ensure the text turns white */
}


.collection-item:hover {
  background-color: var(--primary-hover);
  color: var(--background-color) !important;

  /* Keep background change */
}

.collection-item:hover .category-link {
  color: white !important;
  /* Ensure the text turns white */
}

/* Modal styles */
#cartErrorModal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
}

#cartErrorModal .modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}

#cartErrorModal .modal-footer {
  margin-top: 20px;
}

#cartErrorModal .modal-footer button {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#cartErrorModal .modal-footer button:hover {
  background-color: #0056b3;
  color: #fff;

}

.sticky {
  position: fixed;
  bottom: 0;
  /* left: 0; */
  right: 0;
  width: 300px;
  /* Make it span the entire width of the viewport */
  background-color: yellow;
  padding: 10px;
  font-size: 20px;
  z-index: 1000;
  /* Ensure it appears above other elements */
}


.rubber {
  box-shadow: 0 0 0 3px red, 0 0 0 2px #eaf5ec inset;
  border: 2px solid transparent;
  border-radius: 4px;
  display: inline-block;
  padding: 5px 2px;
  line-height: 32px;
  color: red;
  font-size: 48px;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.4;
  width: auto;
  transform: rotate(-5deg);
  position: absolute;
  top: 650;
  left: 250px;
}

/* Modal Styles */
.appointment-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  z-index: 1000;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 400px;
  max-width: 90%;
  padding: 20px;
}

.appointment-modal .modal-content {
  max-height: 600px;
  /* Adjust height as needed */
  overflow-y: auto;
  /* Enable vertical scrolling */
  padding: 20px;
}


hr {
  width: 70%;
  background-color: var(--hr-line);
  opacity: 0.3;
}


.modal-content {
  padding: 20px;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.modal-footer {
  text-align: right;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
}

.btn {
  cursor: pointer;
  border: none;
  border-radius: 4px;
  color: white;
  font-weight: bold;
}

.btn.green {
  background-color: #4caf50;
}

.btn.red {
  background-color: #f44336;
}

.btn.grey {
  background-color: #9e9e9e;
}

/* Modal Styles */
.custom-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  /* Black background with transparency */
}

/* Modal Content */
.custom-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 900px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Close Button */
.custom-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #000;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.custom-modal-close:hover {
  color: #ff0000;
}




/*  */


/* Ensure the <a> fills the entire <li> */
.collection-item .full-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  /* Remove underline */
  color: inherit;
  /* Inherit the text color */
  padding: 10px;
  /* Optional: add padding for spacing */
  box-sizing: border-box;
  /* Include padding in width/height calculations */
}

/* Add hover effect for the entire list item */
.collection-item:hover {
  background-color: #f5f5f5;
  /* Light background color on hover */
  cursor: pointer;
  /* Pointer cursor for better user experience */
}


/* Modal Container */
.modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: var(--card-background, #fff);
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  width: 300px;
  display: flex;
  flex-direction: column;
}

/* Modal Header */
.modal-header {
  background: var(--primary-color, #1976D2);
  color: #fff;
  padding: 10px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Close Button */
.close-button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* Modal Content */
.modal-content {
  padding: 20px;
  text-align: center;
}

/* Keypad Grid */
.numpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.num-key {
  background: var(--primary-color, #1976D2);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}

.num-key:hover {
  background: var(--primary-hover, #1565C0);
}

/* Clear and Enter Buttons */
.num-key.clear {
  background: var(--error-color, #FF5252);
}

.num-key.enter {
  background: var(--success-color, #00ACC1);
}


.collection-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  /* Keep the text color */
}




/* Lightbox Modal Styling */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(38, 50, 56, 0.95);
  /* Dark semi-transparent overlay using --text-primary color */
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.lightbox-image {
  max-width: 90%;
  max-height: 80%;
  /* border: 5px solid var(--primary-color); */
  /* Add a border matching primary color */
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  /* Subtle shadow for depth */
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  color: var(--error-color);
  /* Close button color matching error color */
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--error-hover);
  /* Change color on hover */
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  /* Primary color for buttons */
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--primary-hover);
  /* Hover effect for buttons */
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}


/* Profile Icon Card */
.card-panel.blue {
  padding: 20px;
  border-radius: 8px;
  text-align: center;

}

.card-panel {
  border-radius: 8px;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

/* Contact Icons */
table.striped td a i.material-icons {
  margin-right: 10px;
}

/* Action Buttons */
.action-buttons a {
  margin: 10px 10px;
}


/* Increase the height of settings cards */
.settings-card {
  height: 250px;
  /* Increased height for better balance */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Ensures even spacing */
  padding: 20px;
}

/* Center the icon and title */
.settings-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
}

/* Style for the icon */
.settings-card-content i.material-icons {
  font-size: 48px;
  margin-bottom: 10px;
}

/* Card title styling */
.settings-card-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

/* Button styling */
.settings-card-action a {
  /* padding: 12px 20px; */
  font-size: 18px;
  border-radius: 6px;
  width: 100%;
}


/* div.row>div.col.s12>ul.tabs li.tab {
  height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
}

div.row>div.col.s12>ul.tabs li.tab a {
  line-height: 70px !important;
  padding: 0 30px !important;
  text-transform: none !important;
} */



.sales-report-link .title {
  font-weight: bold;
  font-size: 20px;
  color: var(--text-primary);
}

.sales-report-link p {
  margin: 0;
  font-size: 16px;
  color: gray;
}

#draggable-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  cursor: grab;
}


/* Product List Styles */
.collection-item {
  padding: 20px 15px;
  /* Larger padding for touch devices */
  font-size: 18px;
  /* Increased font size for readability */
  border-radius: 8px;
  /* Rounded corners for a cleaner look */
}

.collection-item a.product-link {
  display: flex;
  align-items: center;
  gap: 15px;
  /* Space between image and text */
  text-decoration: none;
  color: var(--text-primary);
}

/* Product Image Styling */
.collection-item img.circle {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

/* Title and Text */
.collection-item .title {
  font-weight: bold;
  font-size: 20px;
  color: var(--text-primary);
}

.collection-item p {
  margin: 5px 0;
  font-size: 16px;
  color: black !important;
}



/* Search Input Field */
.input-field input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* Hover and Active States */
.collection-item:hover {
  background-color: var(--primary-hover);
  color: #fff;

  transition: background-color 0.3s ease;
}


/* Sidebar Menu Item */
.side-nav li a {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  /* Increase padding for better touch experience */
  font-size: 16px;
  /* Increase font size */
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

/* Icon and Text Spacing */
.side-nav li a i {
  margin-right: 15px;
  /* Space between icon and text */
  font-size: 22px;
  /* Larger icon size */
}

/* Hover and Active States */
.side-nav li a:hover,
.side-nav li a.active {
  background-color: var(--primary-hover);
  color: #ffffff;
  border-radius: 6px;
}

/* User View Section */
.user-view {
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 10px;
}

.user-view img.circle {
  width: 60px;
  /* Larger image for better visibility */
  height: 60px;
}

.user-view .name {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-primary);
}



/* Action Buttons Styling */
.action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

/* Profile Card */
.profile-card {
  padding: 15px;
  border-radius: 6px;
  background-color: var(--card-background);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

/* Profile Info */
.profile-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.profile-name {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-primary);
}

.invoice-type {
  font-size: 12px;
  font-weight: bold;
  color: var(--primary-color);
}

/* Pet Section */
.pet-section {
  margin-top: 10px;
}

.pet-section-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pet-item {
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.pet-name {
  font-weight: bold;
  color: var(--text-primary);
}

/* Add Pet Button Styling */
.add-pet-button {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.2s ease-in-out;
}

.add-pet-button i {
  font-size: 16px;
}

.add-pet-button:hover {
  background-color: var(--primary-hover);
}



/* Navbar Icon Buttons */
.nav-icon {
  color: #ffffff;
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  font-size: 24px;
}

.nav-icon:hover {
  color: var(--secondary-color);
}

.nav-wrapper .brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Icon Button Styles */
.icon-button {
  background: none;
  border: none;
  padding: 5px 10px;
  margin-left: 5px;
  font-size: 14px;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  transition: color 0.2s ease;
}

.icon-button:hover {
  color: var(--primary-hover);
}

/* Red Trash Icon Button */
.remove-button i {
  color: var(--error-color);
  /* Using the error color for red */
  font-size: 18px;
}

.remove-button:hover i {
  color: darkred;
}

/* Input Field Alignment */
.inputStyle {
  height: 30px;
  padding: 0 5px;
  border: 1px solid var(--secondary-color);
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
}

/* Search Bar Styling */
.inputStyle {
  padding: 10px 12px;
  border: 1px solid var(--secondary-color);
  border-radius: 6px;
  width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Scrollable Product List */
.product-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Product Item Styling */
.product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid var(--secondary-color);
  border-radius: 6px;
  margin-bottom: 10px;
  background-color: var(--card-background);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease-in-out;
}

.product-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Product Name and Quantity */
.product-name {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-primary);
}

.product-quantity {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Button Styling */
.product-item .btn {
  padding: 5px 10px;
  font-size: 12px;
}


body {
  background-color: var(--background-color);
  color: var(--text-primary);
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

/* Navbar */
.nav-wrapper {
  background-color: var(--primary-color);
}

/* Buttons */
.btn-large {
  width: 100%;
  margin-bottom: 20px;
  color: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.btn-large:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

/* Button Variants */
.btn-primary {
  background-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

/* Light Primary Button */
.btn-light-primary {
  background-color: #63A4FF;
  /* Lighter shade of primary */
}

.btn-light-primary:hover {
  background-color: #4285F4;
  /* Slightly darker on hover */
}

/* Dark Primary Button */
.btn-dark-primary {
  background-color: #0D47A1;
  /* Darker shade of primary */
}

.btn-dark-primary:hover {
  background-color: #0B3C91;
  /* Slightly darker on hover */
}


.btn-success {
  background-color: var(--success-color);
}

.btn-success:hover {
  background-color: var(--success-hover);
}

.btn-warning {
  background-color: var(--warning-color);
}

.btn-warning:hover {
  background-color: var(--warning-hover);
}

.btn-error {
  background-color: var(--error-color);
}

.btn-error:hover {
  background-color: var(--error-hover);
}

/* Cards */
.card {
  background-color: var(--card-background);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-title {
  color: var(--text-primary);
  font-weight: bold;
  margin-bottom: 10px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  margin-bottom: 10px;
  font-weight: bold;
}

p,
.collection-item {
  /* color: var(--text-secondary); */
  line-height: 1.6;
}

.section-title {
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--primary-color);
}

.section {
  margin-bottom: 50px;
}

/* Input Fields */
.inputStyle,
.inputInvalid {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  resize: vertical;
  background-color: var(--card-background);
  color: var(--text-primary);
  border: 1px solid var(--secondary-color);
}

.inputInvalid {
  border-color: var(--error-color);
}

.messageInvalid {
  color: var(--error-color);
  font-size: 14px;
}

/* Alerts */
.successAlert {
  background-color: var(--success-color);
  color: var(--card-background);
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.warningAlert {
  background-color: var(--warning-color);
  color: var(--text-primary);
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.errorAlert {
  background-color: var(--error-color);
  color: var(--card-background);
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}

/* Badge */
.badge {
  border-radius: 50%;
  padding: 5px 10px;
  font-size: 12px;
  background-color: var(--primary-color);
  color: var(--card-background);
}

/* Thumbnail Hover Effect */
.thumbnail {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.thumbnail:hover {
  transform: scale(1.2);
}

/* Price Style */
.priceStyle {
  font-size: 30px;
  font-weight: bold;
  color: var(--primary-color);
}

/* Responsive Views */
.desktopView {
  display: block;
}

.mobileView {
  display: none;
}

/* Dropdown Menu */
.topnavMenu {
  overflow: hidden;
  background-color: var(--card-background);
}

.topnavMenu a {
  float: left;
  display: block;
  color: var(--primary-color);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.dropdownMenu {
  float: left;
  overflow: hidden;
}

.dropdownMenu .dropbtnMenu {
  font-size: 17px;
  border: none;
  outline: none;
  color: var(--primary-color);
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdownMenu-content {
  display: none;
  position: absolute;
  background-color: var(--card-background);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.dropdownMenu-content a {
  float: none;
  color: var(--primary-color);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnavMenu a:hover,
.dropdownMenu:hover .dropbtnMenu {
  background-color: var(--primary-color);
  color: var(--card-background);
}

.dropdownMenu-content a:hover {
  background-color: var(--primary-hover);
  color: var(--card-background);
}

.dropdownMenu:hover .dropdownMenu-content {
  display: block;
}

/* Hide Elements */
.hideElement {
  display: none;
}

/* No Shadows */
.no-shadows {
  box-shadow: none !important;
  background: none !important;
}

@media print {

  /* Ensure everything is black and bold */
  body {
    font-family: "Courier New", Courier, monospace;
    font-size: 10px;
    font-weight: 900;
    /* Stronger than bold */
    color: black;
    /* Ensures no gray printing */
    width: 60mm;
    margin: 0;
    padding: 0;
  }

  @page {
    size: 60mm auto;
    margin: 0;
  }

  /* Table Formatting */
  table {
    width: 100%;
    border-collapse: collapse;
  }

  th,
  td {
    padding: 1px;
    border-bottom: 1px solid black;
    font-weight: 900;
    /* Ensure all text is bold */
    color: black;
  }

  th {
    text-align: left;
  }

  td {
    text-align: left;
  }

  /* Store Details */
  .store-info {
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    color: black;
    margin-bottom: 5px;
  }

  /* Invoice Title */
  .invoice-header {
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    color: black;
    margin: 5px 0;
  }

  /* Total Amount */
  .total {
    font-size: 14px;
    font-weight: 900;
    text-align: right;
    color: black;
  }

  /* Hide Elements That Shouldn't Be Printed */
  .no-print {
    display: none;
  }

  /* Footer and Barcode Styling */
  .barcode,
  .receipt-footer {
    font-family: "Lucida Console", Monaco, monospace;
    text-align: center;
    font-weight: 900;
    color: black;
  }

  /* Rubber Stamp Effect */
  .rubber {
    color: black;
    /* Make stamp print in black */
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    opacity: 1;
    /* Ensure full visibility */
    transform: rotate(-10deg);
    position: absolute;
    top: 100px;
    left: 50%;
    width: 80mm;
    text-align: center;
    margin-left: -40mm;
  }
}