@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700&display=swap");

/* Main page scrollbar styling */
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
    background: #2D5128;
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #1f3d1f;
}

:root{
    --pink: #142C14;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

html,
body {
    font-size: 62.5%; /*10px*/
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    display: none; /* Initially hidden */
    z-index: 999; /* Below the modal but above other content */
}

body{
    margin-bottom: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Add offset for anchor links to account for fixed navbar */
:target {
    scroll-margin-top: 60px;
}


.container {
    flex: 50%;
    padding: 1rem;
    font-size: 1.6rem;
    min-width: 350px;
}
  
.btn {
    margin-top: 1rem;
    padding: 1rem;
    letter-spacing: 1px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 20px;
    border: none;
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.2s ease;
}
  
.btn:hover {
    box-shadow: 0px 0px 15px rgb(13 76 146 / 20%);
    background-color: #0f3460;
}

  
/* button */
.bg-primary{
    background-color: var(--pink)!important;
}

.btn:not(.nav-btns button){
    background-color: #fff;
    color: rgb(85, 85, 85);
    padding: 10px 28px;
    border-radius: 25px;
    border: 1px solid rgb(85, 85, 85);
}
.btn:not(.nav-btns button):hover{
    background-color: var(--pink);
    color: #fff;
    border-color: var(--pink);
}

/* text color */
.text-primary{
    color: var(--pink)!important;
}

/* navbar */
.navbar{
    background: #2D5128;
    -webkit-box-shadow: 0 3px 9px 3px rgba(0, 0, 0, 0.1);
            box-shadow: 0 3px 9px 3px rgba(0, 0, 0, 0.1);
}
.navbar-brand img{
    width: 200px;
}

.nav-link:hover{
    color: var(--pink)!important;
}
.nav-item{
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.05);
}

.sign-in-btn {
    background-color: transparent;
    border: none;
    font-size: 20px;
    color: #f6f6f6;
    /* Adjust color */
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sign-in-btn i {
    color: inherit; /* Ensures the icon inherits the button's color */
}

.sign-in-btn i {
    font-size: 20px;
    color: aliceblue;
}

.sign-in-btn:hover {
    color: #1a3a1b; /* New hover color for both text and icon */
}

.sign-in-btn:hover i {
    color: #1a3a1b; /* Ensures icon also changes on hover */
}

/* header */
#header {
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Ensure the text and buttons stay on top of the video */
}

/* title */

.title h2 {
    font-weight: bold;
    text-transform: uppercase;
}
.title h2::before{
    position: absolute;
    content: "";
    width: 4px;
    height: 50px;
    background-color: var(--pink);
    left: -20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

/* collection */
#collection {
    padding-top: 100px;  /* Add space above collection section */
}
.active-filter-btn{
    background-color: var(--pink)!important;
    color: #fff!important;
    border-color: var(--pink)!important;
}
.filter-button-group .btn:hover{
    color: #fff!important;
}

/* about */
#about {
    background-color: #f9f9f9;
    /* Light background for contrast */
}

footer h5 {
    color: #fff;
}

footer .text-muted {
    color: #bbb !important;
    font-size: 0.9rem;
}

footer a{
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}
footer a:hover{
    color: var(--pink)!important;
}

/* Footer Credits Section */
.footer-credits {
    background: #2D5128;
    padding: 7px 0;
    border-top: 1px solid #333;
    margin-top: auto;
    margin-bottom: 0;
}

.footer-credits .row {
    align-items: center;
}

.footer-credits p {
    margin-bottom: 0;
    color: #ffffff;
    font-size: 1.5rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.group-btn {
    background-color: #142C14;
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    border: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.group-btn:hover {
    background-color: #1f411f;
    color: #fff;
}

/* media queries */
@media(min-width: 992px){
    .nav-item{
        border-bottom: none;
    }
}

/* Product Card Styles */
.collection-img {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-img:hover .product-overlay {
    opacity: 1;
}

.product-info {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.collection-img:hover .product-info {
    transform: translateY(0);
}

.quick-view-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s;
    margin-top: 10px;
}

.quick-view-btn:hover {
    background: white;
    color: var(--pink);
}

.product-img {
    width: 100%;
    height: 250px;
    /* Ensures uniform height */
    object-fit: contain;
    /* Ensures the full image is visible */
    display: block;
    margin: 0 auto;
    background-color: #f8f9fa;
    /* Optional: Adds a neutral background */
}

/* Header */
 /* Apply Google Fonts */
 .custom-h2 {
     margin-top: 150px;
     font-size: 70px;
     color: #fbfbfb;
     /* Tomato color */
     font-weight: bold;
 }

 .custom-h1 {
     font-size: 70px;
     color: #dddddd;
     /* OrangeRed color */
     font-weight: bold;
     letter-spacing: 2px;
     /* Add a little space between letters */
 }

 /* Blog Section Styling */
#blogs {
    padding-top: 150px; /* Add space above blogs section */
    margin-top: 50px;   /* Additional top margin */
}

 #blogs .title {
     text-align: center;
 }


 .text-justify {
     text-align: justify;
 }

 /* Responsive Adjustments */
 @media (max-width: 768px) {
     .title h2 {
         font-size: 1.8rem;
     }
 }

/* Custom search styling with high specificity to override existing styles */
.filter-button-group .search-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    margin: 0.5rem;
  }
  
  /* Search button styling to match filter buttons exactly */
  .filter-button-group .search-btn {
    background-color: #fff;
    color: rgb(85, 85, 85);
    padding: 10px 28px;
    border-radius: 25px;
    border: 1px solid rgb(85, 85, 85);
    min-width: 45px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin: 0;
  }
  
  /* Override any other button styling */
  .filter-button-group .search-btn:hover,
  .filter-button-group .search-btn.active {
    background-color: var(--pink) !important;
    color: #fff !important;
    border-color: var(--pink) !important;
  }
  
  /* Ensure icon stays visible with proper color */
  .filter-button-group .search-btn i {
    color: rgb(85, 85, 85);
    transition: color 0.3s;
  }
  
  .filter-button-group .search-btn:hover i,
  .filter-button-group .search-btn.active i {
    color: #fff !important;
  }
  
  /* Search input container animations */
  .filter-button-group .search-input-container {
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease-in-out;
  }
  
  /* Search input styling to match other buttons */
  .filter-button-group .search-input {
    height: 42px;
    width: 180px;
    padding: 10px 20px;
    border: 1px solid rgb(85, 85, 85);
    border-radius: 25px;
    outline: none;
    font-size: 1.2rem;
    color: rgb(85, 85, 85);
  }
  
  /* Active state with proper width */
  .filter-button-group .search-input-container.active {
    width: 200px;
    margin-left: 10px;
  }

/* ============= MODAL STYLES ============= */

/* Modal Styling Updates */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.4s ease-out forwards;
}

.modal-header {
    border-bottom: 1px solid #eaeaea;
    padding: 15px 25px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.btn-close {
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
}

.modal-image {
    max-height: 300px;
    object-fit: contain;
    padding: 10px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

/* Price styling */
.product-price {
    font-size: 1.2rem;
    padding: 5px 0;
    margin-top: 20px;
}

.product-price strong {
    color: #555;
}

.product-price .text {
    color: #333;
}

/* New Modal Buttons Container */
.modal-buttons-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.datasheet-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* DATASHEET button styling */
.datasheet-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 140px;
    text-align: center;
}

.datasheet-btn:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

/* Download button styling */
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    transition: all 0.3s ease;
}

.download-btn i {
    font-size: 1.2rem;
}

.download-btn:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
    color: #333;
}

/* Add to cart button styling */
.add-to-cart-btn {
    background-color: #2D5128;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.add-to-cart-btn i {
    font-size: 1.1rem;
}

.add-to-cart-btn:hover {
    background-color: #1f3d1f;
    transform: translateY(-2px);
}

/* Learn more button for non-logged in users */
.learn-more-btn {
    background-color: #2D5128;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
}

.learn-more-btn:hover {
    background-color: #1f3d1f;
}

/* Content Container with Dynamic Height */ 
.content-container {
    position: relative;
    min-height: 100px;
    transition: all 0.5s ease;
    overflow: hidden; /* Hide scrollbar by default */
}

/* Only show scrollbar when features section is active and user is logged in */
.content-container.show-features {
    max-height: 400px;
    overflow-y: auto;
}

/* Modal Content Scrollbar - Only visible when needed */
.modal-content::-webkit-scrollbar {
    width: 6px;
    display: none; /* Hide by default */
}

/* Show scrollbar only when features section is active */
.content-container.show-features::-webkit-scrollbar {
    width: 6px;
    display: block;
}

.content-container.show-features::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.content-container.show-features::-webkit-scrollbar-thumb {
    background: #2D5128;
    border-radius: 10px;
}

.content-container.show-features::-webkit-scrollbar-thumb:hover {
    background: #1f3d1f;
}

.content-section {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    width: 100%;
    transition: opacity 0.3s ease, visibility 0.3s;
    top: 0;
    left: 0;
}

.content-section.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Description specific styles */
.desc-section {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

/* Ensure description text is always preserved in the DOM */
.desc-section p {
    margin: 0;
    padding: 0;
    white-space: pre-line; /* Preserves line breaks */
}


/* Features section specific styles */
.features-section {
    padding-right: 10px;
}

/* Features List */
.features-list, .additional-info {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.features-list li, .additional-info li {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Footnotes Styling */
.additional-info {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.additional-info li {
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 12px; /* Increased spacing between items */
  font-weight: normal; /* Changed from bold to normal */
  display: flex;
  align-items: flex-start;
}

/* Create indented effect by styling the symbol separately */
.footnote-symbol {
  font-size: 1.1rem;
  display: inline-block;
  min-width: 25px; /* Fixed width for the symbol column */
  margin-right: 10px; /* Space between symbol and explanation */
  vertical-align: top;
}

.footnote-explanation {
  font-size: 1.1rem;
  display: inline-block;
  flex: 1;
}

/* Ensure asterisks have proper spacing */
.footnote-symbol-asterisk {
  letter-spacing: 1px;
}

/* Specifications Table Styling */
.specs-table {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.spec-name {
    font-size: 1.1rem;
    background-color: #f8f9fa;
    width: 65%;
    font-weight: 500;
}

.spec-value {
    font-size: 1.1rem;
    text-align: center;
    font-weight: 500;
}

/* Modal Fade Effects */
.modal.fade .modal-dialog {
    transition: all 0.3s ease-in-out;
    opacity: 0;
    transform: scale(0.7);
}

.modal.show .modal-dialog {
    opacity: 1;
    transform: scale(1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure smooth transitions */
.to-features, .to-description {
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Keyframes for initial modal open image fade-in */
@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Prevent image dragging and selection */
img {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

/* Prevent text selection */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.partner-section {
    background-color: #f8f9fa;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00a6ff);
    margin: 0 auto;
}

.partner-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.partner-image {
    height: 200px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #f8f9fa, white);
}

.partner-image img {
    max-height: 160px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-image img {
    transform: scale(1.05);
}

.partner-content {
    padding: 25px;
}

.partner-description {
    color: #6c757d;
    margin: 15px 0;
    line-height: 1.6;
}

/* Update partner badge styles */
.partner-badge1,
.partner-badge2 {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Target Sister Company badge specifically */
.partner-badge1 {
    background: linear-gradient(90deg,rgb(255, 196, 0),rgb(255, 221, 30));
    color: #000;
}

/* Target Exclusive Distributor badge specifically */
.partner-badge2 {
    background: linear-gradient(90deg,rgb(17, 153, 17), #006400);
    color: #fff;
}

/* Modal Animation */
@keyframes authModalFadeIn {
  0% { 
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.9);
  }
  100% { 
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Input Focus Animation */
@keyframes authFocusPulse {
  0% { box-shadow: 0 0 0 0 rgba(160, 228, 203, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(160, 228, 203, 0); }
  100% { box-shadow: 0 0 0 0 rgba(160, 228, 203, 0); }
}

/* Button Animation */
@keyframes authButtonGlow {
  0% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.4); }
  100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.2); }
}

/* Section Animations */
@keyframes authSlideInLeft {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes authSlideInRight {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.auth-modallog {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  background-color: #2D5128;
  border-radius: 15px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  padding: 2.5rem;
  z-index: 1200;
  width: 90%;
  max-width: 450px; /* Reduced width for single modal */
  max-height: 90vh;
  overflow-y: auto; /* Allow scrolling for register form */
  animation: authModalFadeIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-close-icon {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1201;
  border-radius: 50%;
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.2);
}

.auth-close-icon:hover {
  color: #ff1e00;
  transform: rotate(90deg);
  background-color: rgba(0, 0, 0, 0.3);
}

.auth-section {
  flex: 1;
  padding: 2rem;
  font-size: 1.6rem;
  position: relative;
  transition: all 0.5s ease;
  width: 100%;
}

.auth-login-section {
  animation: authSlideInLeft 0.6s ease-out forwards;
  padding: 1rem;
}

.auth-register-section {
  animation: authSlideInRight 0.6s ease-out forwards;
  padding: 1rem;
}

.auth-form-header {
  margin-bottom: 2rem;
  text-align: center;
}

.auth-header {
  font-size: 2.6rem;
  font-weight: 700;
  margin: 1rem 0;
  text-align: center;
  color: #fff;
  position: relative;
  display: inline-block;
}

.auth-header::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #a0e4cb, transparent);
  bottom: -8px;
  left: 15%;
}

.auth-subtext {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin: 1.5rem 0;
  text-align: center;
}

.auth-form {
  font-size: 14px;
  justify-content: center;
}

/* Register form specific styles */
.auth-form-register {
  max-width: 400px;
  margin: 0 auto;
}

.auth-form-field {
  display: flex;
  flex-direction: column;
  height: 7rem;
  margin-bottom: 0.5rem;
}

/* Fields for Name and Password rows */
.auth-name-row,
.auth-password-row {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.auth-form-field-half {
  flex: 1;
  min-width: 0; /* Allows flex items to shrink below content size */
}

.auth-input-wrapper {
  position: relative;
  width: 100%;
}

.auth-input-full {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.auth-input-half {
  width: 100%;
}

.auth-input-wrapper label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 5px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.auth-input-wrapper input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.07);
  border: 2px solid rgba(255, 255, 255, 0.2);
  outline: none;
  border-radius: 10px;
  font-size: 16px;
  color: #fff;
  transition: all 0.3s ease;
}

.auth-input-wrapper input:focus,
.auth-input-wrapper input:valid {
  border-color: #a0e4cb;
  background: rgba(255, 255, 255, 0.1);
}

.auth-input-wrapper input:focus {
  animation: authFocusPulse 1.5s infinite;
}

.auth-input-wrapper input:focus ~ label,
.auth-input-wrapper input:valid ~ label {
  top: 0;
  left: 15px;
  font-size: 12px;
  background: #2D5128;
  color: #a0e4cb;
  padding: 0 8px;
}

/* Footer section for switching between modals */
.auth-switch-container {
  margin-top: 1.5rem;
  text-align: center;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}

.auth-switch-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 300;
  margin: 0;
}

.auth-switch-btn {
  background: none;
  border: none;
  color: #a0e4cb;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.auth-switch-btn:hover {
  color: #ffffff;
}

/* New custom class for button container with no extra height */
.auth-form-field-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}

.auth-checkbox-label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.auth-login-btn {
  margin-top: 1rem !important;
  padding: 1.2rem;
  color: #ffffff; /* Ensures high contrast */
  font-size: 16px;
  font-weight: 700; /* Increases boldness for readability */
  cursor: pointer;
  border-radius: 30px;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #4f914e, #376c37);
  box-shadow: 0 4px 15px rgba(58, 106, 57, 0.4);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); /* Adds a subtle outline */
  width: 100%;
  max-width: 400px;
}

.auth-login-btn:hover {
  background: linear-gradient(135deg, #3c7538, #285e27);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(58, 106, 57, 0.6);
}

.auth-register-btn {
  margin-top: 1.5rem;
  padding: 1.2rem;
  color: #ffffff; /* Ensures high contrast */
  font-size: 16px;
  font-weight: 700; /* Increases boldness for readability */
  cursor: pointer;
  border-radius: 30px;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #4f914e, #376c37);
  box-shadow: 0 4px 15px rgba(58, 106, 57, 0.4);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); /* Adds a subtle outline */
  width: 100%;
  max-width: 400px;
  margin: 1.5rem auto 0;
}

.auth-register-btn:hover {
  background: linear-gradient(135deg, #395536, #054601);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(48, 68, 44, 0.6);
}

.auth-login-btn::before,
.auth-register-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(255, 255, 255, 0.6), 
    transparent
  );
  transition: left 0.7s;
}

.auth-login-btn:hover::before,
.auth-register-btn:hover::before {
  left: 100%;
}

.auth-login-btn i,
.auth-register-btn i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.auth-login-btn:hover i,
.auth-register-btn:hover i {
  transform: translateX(5px);
}

/* Options Row (Remember Me & Forgot Password) */
.auth-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 8px 0;
}

/* Remember Me Checkbox Styling */
.auth-remember-me {
  display: flex;
  align-items: center;
}

.auth-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.auth-checkbox-label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  user-select: none;
  margin: 0;
}

.auth-checkbox-label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.auth-checkbox:checked + .auth-checkbox-label:before {
  background: #a0e4cb;
  border-color: #a0e4cb;
}

.auth-checkbox-label:after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s;
}

.auth-checkbox:checked + .auth-checkbox-label:after {
  opacity: 1;
}

/* Forgot Password Link */
.auth-forgot-password {
  text-align: right;
}

.auth-forgot-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 300;
}

.auth-forgot-link:hover {
  color: #a0e4cb;
}

/* Hide the divider for separate modals */
.auth-divider {
  display: none;
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
  .auth-modallog {
    max-width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
  }
  
  .auth-section {
    min-width: auto;
    padding: 1.5rem;
  }
  
  .auth-name-row,
  .auth-password-row {
    flex-direction: column;
    gap: 0;
  }
  
  .auth-form-field-half {
    width: 100%;
  }
  
  .auth-input-half {
    max-width: 100%;
  }
}

/* Prevent modal from getting too small */
@media only screen and (max-width: 380px) {
  .auth-header {
    font-size: 2.2rem;
  }
  
  .auth-input-wrapper input {
    padding: 10px 12px;
  }
}

/* Cart Sidebar Styles - Add to your index.css file */

/* Cart Toggle Button */
.cart-toggle-btn {
  position: fixed;
  left: 100%;
  transform: translateX(-100%);
  top: 120px;
  background: linear-gradient(135deg, #FECD3B, #E6A317);
  padding: 15px 0;
  border-radius: 10px 0 0 10px;
  display: flex;
  height: 80px;
  width: 35px;
  align-items: center;
  justify-content: center;
  transition: width 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), background-color 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: -3px 0 15px rgba(0, 0, 0, 0.2);
  z-index: 100;
  border: none;
  cursor: pointer;
}

.cart-icon-wrapper {
  position: relative;
  display: inline-block;
}

.cart-toggle-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out 0.1s;
}

/* Hover effect adjustments */
.cart-toggle-btn:hover {
  width: 70px;
}

.cart-toggle-btn:hover .cart-icon-wrapper {
  opacity: 0.5;
}


.cart-toggle-btn i {
  font-size: 24px;
  color: #000;
  position: relative; /* Changed from absolute to relative */
  transition: opacity 0.3s ease;
}


.cart-toggle-btn .cart-count {
  position: absolute;
  top: -10px;
  right: -5px;
  background-color: #ff0000;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  z-index: 10;
  border: 2px solid #FECD3B; /* Matches the button's gradient background */
}

.cart-toggle-btn:hover i,
.cart-toggle-btn:hover span{
  opacity: 0.5;
}

.cart-toggle-btn:hover::before {
  content: "CART";
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 5px;
  font-size: 18px;
  font-weight: 600;
  opacity: 1;
  color: #000;
}

/* Updated cart count badge positioning */
.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #ff0000;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  z-index: 10;
  border: 2px solid #FECD3B;
}

/* Cart Overlay */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: #f8f8f8;
  z-index: 1200;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.open {
  right: 0;
}

/* Cart Header */
.cart-header {
  padding: 31.5px;
  background-color: #3a6934;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0; /* Stick to the top of the container */
  z-index: 1001; /* Ensure it stays above other content */
}

.cart-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
  color: #ffffff;
}

.close-cart-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #777;
}

.close-cart-btn:hover {
  color: #000;
}

/* Cart Items Container */
.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}

.cart-items-container::-webkit-scrollbar {
  width: 6px;
}

.cart-items-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.cart-items-container::-webkit-scrollbar-thumb {
  background: #2D5128;
  border-radius: 10px;
}

.cart-items-container::-webkit-scrollbar-thumb:hover {
  background: #1f3d1f;
}

/* Cart Item */
.cart-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.11);
}

.cart-item-image {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  object-fit: contain;
  background-color: #f1f1f1;
  margin-right: 15px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 2px 0;
  color: #000;
}

.cart-item-type {
  font-size: 14px;
  color: #777;
  margin: 0 0 5px 0;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin: 0;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  border: none;
  background-color: #345e2e;
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.quantity-btn:hover {
  background-color: #1f3d1f;
}

.cart-item-quantity {
  width: 30px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

/* Cart Footer */
.cart-footer {
  padding: 20px;
  background-color: #fff;
  border-top: 1px solid #eee;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
}

.total-amount {
  color: #000000;
  font-weight: 500;
}

.checkout-btn {
  width: 100%;
  padding: 15px;
  background-color: #f4d007e7;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.checkout-btn:hover {
  background-color: #1f3d1f;
}

/* Empty Cart State */
.empty-cart-message {
  text-align: center;
  padding: 40px 20px;
  color: #777;
}

.empty-cart-message i {
  font-size: 50px;
  color: #ddd;
  margin-bottom: 15px;
}

.empty-cart-message p {
  font-size: 16px;
  margin: 10px 0 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .cart-sidebar {
      width: 100%;
      right: -100%;
  }
}
/* Add these styles to your index.css file */

/* Cart Notification Styles */
.cart-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #2D5128;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 350px;
  width: auto;
}

.cart-notification.show {
  transform: translateX(0);
}

.cart-notification.error {
  background-color: #d9534f;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-content i {
  font-size: 18px;
}

.notification-content span {
  font-size: 14px;
  font-weight: 500;
}

/* Add to cart item styling */
.cart-item .trash-btn {
  background-color: #ff4444;
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cart-item .trash-btn:hover {
  background-color: #cc0000;
  transform: scale(1.1);
}

/* Close button animation */
.close-cart-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #777;
  transition: color 0.3s ease, transform 0.3s ease;
}

.close-cart-btn:hover {
  color: #000;
  transform: rotate(90deg);
}

/* Disabled checkout button style */
.checkout-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
}

.checkout-btn:disabled:hover {
  background-color: #ccc;
}

/* Customer Service Modal Styles */
.cs-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none; /* Changed to none initially */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.cs-modal-content {
    width: 700px;
    padding: 50px 40px;
    background-color: white;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.cs-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d532d;
    margin-bottom: 30px;
    line-height: 1.4;
}

.cs-modal-text {
    font-size: 15px;
    color: #000;
    margin-bottom: 40px;
    line-height: 1.5;
    text-transform: uppercase;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.cs-proceed-btn {
    padding: 15px 30px;
    background-color: #2d532d;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    width: 300px;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
}

.cs-proceed-btn:hover {
    background-color: #244724;
}

/* Pre-Order button styling */
.pre-order-btn {
  background-color: #FF9800;
  color: #fff;
  font-weight: bold;
  transition: all 0.3s ease;
}

.pre-order-btn:hover {
  background-color: #F57C00;
  color: #fff;
}

/* Pre-order label in cart */
.pre-order-label {
  display: inline-block;
  background-color: #FF9800;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: bold;
  margin-top: 2px;
  margin-bottom: 5px;
}

/* Add to your index.css file */
.checkout-btn.disabled {
  background-color: #6c757d !important;
  cursor: not-allowed;
  opacity: 0.65;
}

.checkout-message {
  font-size: 0.85rem;
  margin-top: 10px;
  padding: 8px;
  text-align: center;
}

/* Pre-Order button styling */
.pre-order-btn {
  background-color: #FF9800;
  color: #fff;
  font-weight: bold;
  transition: all 0.3s ease;
}

.pre-order-btn:hover {
  background-color: #F57C00;
  color: #fff;
}

/* Pre-order label in cart */
.pre-order-label {
  display: inline-block;
  background-color: #FF9800;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: bold;
  margin-top: 2px;
  margin-bottom: 5px;
}

/* Pre-order notice in cart */
.pre-order-notice {
  background-color: #fff3e0;
  border-left: 3px solid #FF9800;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 12px;
  color: #e65100;
}

/* Disabled buttons */
.add-to-cart-btn.zero-price, .pre-order-btn.zero-price {
  background-color: #6c757d !important;
  cursor: not-allowed;
  opacity: 0.65;
}

.add-to-cart-btn.zero-price:hover, .pre-order-btn.zero-price:hover {
  background-color: #6c757d !important;
}

/* Additional styles for civilian restrictions - ADD TO index.css */

/* Civilian restriction notices */
.civilian-restriction-notice {
  background-color: #fff3cd;
  border-left: 3px solid #ffc107;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #856404;
  border-radius: 4px;
}

.civilian-purchased-notice {
  background-color: #f8d7da;
  border-left: 3px solid #dc3545;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #721c24;
  border-radius: 4px;
}

/* Enhanced cart notification styles */
.cart-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #2D5128;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 400px;
  width: auto;
}

.cart-notification.show {
  transform: translateX(0);
}

.cart-notification.error {
  background-color: #dc3545;
}

.cart-notification.warning {
  background-color: #ffc107;
  color: #000;
}

.notification-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.notification-content i {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.notification-content span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* Disabled buttons for civilians */
.disabled-for-civilian {
  opacity: 0.5;
  cursor: not-allowed !important;
  background-color: #6c757d !important;
}

.disabled-for-civilian:hover {
  background-color: #6c757d !important;
  transform: none !important;
}

/* Cart item quantity info for hybrid orders */
.cart-item-quantity-info {
  display: flex;
  flex-direction: column;
  margin-top: 5px;
  font-size: 11px;
}

.regular-quantity {
  color: #28a745;
  font-weight: 600;
}

.preorder-quantity {
  color: #FF9800;
  font-weight: 600;
}

.quantity-divider {
  height: 1px;
  background-color: #eee;
  margin: 2px 0;
}

/* Enhanced cart item layout for hybrid orders */
.cart-item.hybrid {
  border-left: 3px solid;
  border-image: linear-gradient(to bottom, #28a745, #FF9800) 1;
}

/* Hybrid cart notification */
.hybrid-notification {
  background-color: #f8f9fa;
  border-left: 3px solid #17a2b8;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #333;
  border-radius: 4px;
}

/* Quantity indicator for hybrid items */
.quantity-indicator {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin: 0 5px;
  background: conic-gradient(#28a745 var(--regular-percent), #FF9800 var(--regular-percent));
  display: inline-block;
  vertical-align: middle;
}

/* Enhanced empty cart message */
.empty-cart-message {
  text-align: center;
  padding: 40px 20px;
  color: #777;
}

.empty-cart-message i {
  font-size: 50px;
  color: #ddd;
  margin-bottom: 15px;
}

.empty-cart-message h3 {
  color: #555;
  margin-bottom: 10px;
}

.empty-cart-message p {
  font-size: 16px;
  margin: 10px 0 0;
  color: #888;
}

/* Enhanced checkout button states */
.checkout-btn:disabled {
  background-color: #6c757d !important;
  cursor: not-allowed;
  opacity: 0.7;
}

.checkout-btn:disabled:hover {
  background-color: #6c757d !important;
  transform: none;
}

/* Checkout message styling */
.checkout-message {
  font-size: 0.85rem;
  margin-top: 10px;
  padding: 8px;
  text-align: center;
  border-radius: 4px;
}

.checkout-message.alert-warning {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
}

/* Enhanced cart toggle button for better civilian feedback */
.cart-toggle-btn.civilian-restricted {
  background: linear-gradient(135deg, #ffc107, #e0a800);
}

.cart-toggle-btn.civilian-restricted:hover::before {
  content: "1 ITEM LIMIT";
  font-size: 12px;
  letter-spacing: 2px;
}

/* Product modal enhancements for civilian users */
.modal-civilian-notice {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.modal-civilian-notice i {
  margin-right: 8px;
}

/* Responsive adjustments for notifications */
@media (max-width: 576px) {
  .cart-notification {
      right: 10px;
      left: 10px;
      max-width: none;
      transform: translateY(-120%);
  }
  
  .cart-notification.show {
      transform: translateY(0);
  }
  
  .notification-content {
      flex-direction: column;
      text-align: center;
      gap: 8px;
  }
  
  .notification-content i {
      margin-top: 0;
  }
}