/* Fonts Included */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body{font-family: "Poppins", serif; background: var(--background-color);}
a {color: var(--primary-color);}
h1{margin: 0;}
.bg-grey{background: #f5f5f5}
/* Colors */
:root {--primary-color: #008290;--secondary-color: #ff0019;--dark-grey-color: #63656A;--light-grey-color: #E6E7E8;--orange:#DE5A2F;--text-color: #333333;--background-color: #ffffff;--black-color: #000000;}


/* forms style */
.form-group label {display: block;margin-bottom: 0.5rem;color: var(--text-color);font-weight: 600;}
.form-group input, .form-group textarea, .form-group select {width: 100%;padding: 1rem;border: 2px solid #e1e1e1;border-radius: 5px;font-size: 1rem;transition: all 0.3s ease;}
.form-group textarea{resize: vertical;min-height: 100px;}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {outline: none;border-color: #008290;box-shadow: 0 0 5px rgba(0, 130, 144, 0.2);}
.form-group {margin-bottom: 16px;}
.form-row {display: flex;gap: 20px;margin-bottom: 24px;}
.form-col {flex: 1;}
label {display: block;font-size: 14px;font-weight: 500;margin-bottom: 8px;color: #333;}
.required::after {content: "*";color: #e53935;margin-left: 4px;}
input[type="text"],input[type="password"],input[type="tel"],input[type="date"], input[type="email"],textarea {width: 100%;padding: 10px;border: 1px solid #ddd;border-radius: 4px;font-size: 14px;transition: border-color 0.2s;}
input[type="text"]:focus,input[type="date"]:focus,textarea:focus {outline: none;border-color: #009688;}

/* Error Messages */
span.err {display:none; background: var(--orange);color: #fff;padding: 5px 11px;margin-bottom: 5px;}

/* Button Styles */
.btn-primary {width: 100%;padding: .8rem;background-color: #008290;color: white;border: none;border-radius: 5px;font-size: 1rem;font-weight: 600;cursor: pointer;transition: all 0.3s ease; display: flex; justify-content: center; align-items: center;}
.btn-primary:hover {background-color: #006d78;transform: translateY(-1px);}
.btn-primary:active {transform: translateY(0);}
.btn-group {display: flex;}
.btn-group .btn + .btn {margin-left: 16px;}
@media(max-width:768px){
  .btn-group {display: flex; flex-direction: column;}.btn-group .btn {margin-left: 0; margin-top: 10px;}
}

/* Header Styles */
.header{box-shadow: rgba(0, 0, 0, 0.1) 0px 14px 28px, rgba(0, 0, 0, 0.1) 0px 10px 10px; background: linear-gradient(135deg, #008290 0%, #0d5964 100%);}
.header .nav{display: flex;height: 72px; justify-content: space-between;}
.header .nav .logo img {height: 72px;}
.nav-item-container {display: flex;align-items: center;}
.nav-item {position: relative;padding: 10px 20px;cursor: pointer;}
.nav-item + .nav-item {margin-left: 8px;}
.nav-item.active, .nav-item:hover{background: var(--secondary-color); border-radius: 3px;}
.nav-title {color: var(--background-color);font-size: 16px;}
.dropdown-menu {position: absolute;top: 100%;left: 0;min-width: 200px;background: #fff;box-shadow: 0 2px 5px rgba(0,0,0,0.1);border-radius: 4px;display: none;z-index: 1000;}
.dropdown-menu-item {display: flex;align-items: center;padding: 12px 20px;color: #333;text-decoration: none;transition: background 0.3s;}.dropdown-menu-item:hover {background: #f5f5f5;}
.dropdown-menu-item i {margin-right: 10px;width: 16px;}
.dropdown-divider {height: 1px;background: #eee;margin: 5px 0;}
.user-info {display: flex;align-items: center;gap: 10px;}
.user-avatar .icon{width: 35px;height: 35px;background: #f0f0f0;border-radius: 50%;display: flex;align-items: center;justify-content: center;}
.user-avatar .fa-user{
    color: #fff;
}
.user-name {color: var(--background-color);}
.mobile-menu-btn {display: none;font-size: 24px;background: none;border: none;cursor: pointer;padding: 10px;}
.res-table th, .res-table td {
    padding: 1rem;
}
/* .user-status {display: none;} */
@media (max-width: 768px) {
  .mobile-menu-btn {display: block; color:#fff}
  .user-name{
    color: #000000;
  }
  .user-avatar{
    display: none;
  }
  .dropdown-menu-cust {
    display: block !important;
    position: relative !important;
    width: 100%;
    box-shadow: unset !important;
    background: transparent !important;
  }
  .nav-item.user-status.show {
    background: #f5f5f5;
  }
  .dropdown-menu-cust .dropdown-menu-item,
  .dropdown-menu-cust .dropdown-menu-item span {
    padding: 0;
  }
  .dropdown-divider {
    background:#008290;
  }
  .user-status a.dropdown-menu-item {
    padding: 10px 0!important;
    background: transparent!important;
}
a.nav-item.active .nav-title,  a.nav-item.show .nav-title:hover{
    color: #fff !important;
}
.dropdown-menu-cust .icon{margin-right: 10px;}
  .nav-item-container {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 72px;
    background: #fff;
    z-index: 9;}
    .nav-item {
        padding: 0;
    }
    .nav-item.show{
        padding: 10px 8px;
        margin: 4px;
    }
    .nav-item.show{
        border-bottom: 1px solid #008290;
    }
    .nav-item.user-status.show:last-child{
        border:0
    }
    .nav-item.show:first-child{
        margin-top: 14px;

    }
    .nav-title {
        color: #000000;
    }
  .nav-item:not(:first-child) {display: none;}.nav-item.show {display: block;}.dropdown-menu {position: static;box-shadow: none;border-left: 3px solid #007bff;margin: 5px 0;}
}

/* Footer Styles */
.footer {background: linear-gradient(135deg, #116972 0%, #202e30 100%);color: #ffffff;padding:20px;font-family: 'Segoe UI', Arial, sans-serif;position: relative;overflow: hidden;}
.footer-content {max-width: 1200px;margin: 0 auto;display: grid;grid-template-columns: repeat(3, auto);gap: 40px;position: relative;}
.footer-section {padding: 20px 0;backdrop-filter: blur(10px);transition: transform 0.3s ease;}
.footer-section + .footer-section {padding-left: 20px;}
.footer-section h3 {color: #ffffff;font-size: 20px;margin-bottom: 16px;position: relative;padding-bottom: 10px;}
.footer-section h3::after {content: '';position: absolute;bottom: 0;left: 0;width: 50px;height: 3px;background: #00A1B2;border-radius: 2px;}
.footer-section .social-links h3::after {left:39%}
.footer-section ul {list-style: none;padding: 0;}
.footer-section ul li {margin-bottom: 12px; margin-right: 40px;}
.footer-section ul li a {color: #ffffff;text-decoration: none;font-size: 15px;transition: all 0.3s ease;display: inline-block;padding: 3px 0;opacity: 0.9;}
.footer-section ul li a:hover {opacity: 1;transform: translateX(5px);color: #B2E8ED;}
.footer-logo {text-align: center;margin-bottom: 30px;}
.footer-logo img {max-width: 100%;box-shadow: 0 5px 15px rgba(0,0,0,0.2); width: 180px;}
.footer-logo h2 {margin-top: 20px;font-size: 24px;color: #ffffff;text-shadow: 0 2px 4px rgba(0,0,0,0.2);}
.social-links {text-align: center;}
.social-icons {display: flex;gap: 15px;margin-top: 20px;}
.social-icons a {color: #ffffff;background: rgba(0, 130, 144, 0.6);width: 40px;height: 40px;display: flex;align-items: center;justify-content: center;border-radius: 50%;transition: all 0.3s ease;border: 1px solid rgba(255, 255, 255, 0.2);}
.social-icons a:hover {background: #00A1B2;transform: translateY(-3px);color: #ffffff;box-shadow: 0 5px 15px rgba(0,0,0,0.2);}
.footer-bottom {text-align: center;margin-top: 20px;padding-top: 30px;border-top: 1px solid rgba(255, 255, 255, 0.1);font-size: 14px;opacity: 0.9;}
.footer-bottom p {line-height: 2;}
@media (max-width: 768px) {
  .footer {padding: 40px 20px 30px;}.footer-section {text-align: center;}.footer-section h3::after {left: 50%;transform: translateX(-50%);}.social-icons {flex-wrap: wrap;justify-content: center;}.footer-bottom {margin-top: 40px;}
}

/* Carrousel Design */
.carousel-container {max-width: 100%; position: relative; overflow: hidden; min-height:300px;}
.carousel {display: flex; transition: transform 0.5s ease-in-out;}
.carousel-slide {min-width: 100%; position: relative;}
.carousel-slide img {width: 100%; height: 400px; object-fit: cover;}
.carousel-caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.5); color: white; padding: 10px; text-align: center;}
.carousel-btn {position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.5); color: white; padding: 10px 15px; border: none; cursor: pointer; z-index: 1; transition: background 0.3s;}
.carousel-btn:hover { background: rgba(0, 0, 0, 0.8); }
.prev-btn { left: 10px; }
.next-btn { right: 10px; }
.carousel-indicators {position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 1; }
.indicator { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: background 0.3s;}
.indicator.active { background: white;}

/* Cards */
.card-container {width:100%;}
.title {text-align: center;font-size: 2.5rem;font-weight: 800;color: #1e293b;margin-bottom: 4rem;letter-spacing: -0.5px;}
.steps-grid {display: grid;grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));gap: 2rem;position: relative; padding-right: 24px;}
.step-card {background: white;border-radius: 16px;padding: 2rem;position: relative;transition: all 0.3s ease;box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);overflow: hidden;}
.step-card::before {content: '';position: absolute;top: 0;left: 0;right: 0;height: 4px;background: linear-gradient(90deg, #008290 0%, #0d3c41 100%);transform: scaleX(0);transform-origin: left;transition: transform 0.3s ease;}
.step-card:hover {transform: translateY(-5px);box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);}
.step-card:hover::before {transform: scaleX(1);}.step-number {font-size: 4rem;font-weight: 800;color: #e2e8f0;position: absolute;top: 1rem;right: 1.5rem;line-height: 1;z-index: 0;}
.step-card.active-card .step-number{color: var(--primary-color);}
.step-card.active-card .step-icon {background: var(--primary-color); color: var(--background-color);}
.step-content {position: relative;z-index: 1;}
.step-icon {background: #f1f5f9;width: 56px;height: 56px;border-radius: 12px;display: flex;align-items: center;justify-content: center;margin-bottom: 1.5rem;color:var(--primary-color);transition: all 0.3s ease;}
.step-card:hover .step-icon {background: var(--primary-color);color: white;}

.step-title {font-size: 1.25rem;font-weight: 600;color: #1e293b;margin-bottom: 0.75rem;}
.step-description {color: #64748b;line-height: 1.6;font-size: 0.95rem;}
@media (min-width: 768px) {
  .steps-grid {grid-template-columns: repeat(2, 1fr);}.content-horizonatal .steps-grid {grid-template-columns: repeat(1, 1fr);}
}
@media (max-width: 768px) {
  .title {font-size: 2rem;margin-bottom: 2rem;}.step-card {padding: 1.5rem;}
}

/* Custom radio *//* Custom Radio Button Styles */.radio-group {display: flex;gap: 20px;margin-top: 8px;}
.radio-label {display: flex;align-items: center;gap: 8px;cursor: pointer;position: relative;padding-left: 28px;user-select: none;}
.radio-label input[type="radio"] {position: absolute;opacity: 0;cursor: pointer;height: 0;width: 0;}
.radio-checkmark {position: absolute;left: 0;height: 20px;width: 20px;background-color: var(--background-color);border: 2px solid var(--light-grey-color);border-radius: 50%;transition: all 0.2s ease-in-out;}
.radio-label:hover input ~ .radio-checkmark {border-color: var(--primary-color);}
.radio-label input:checked ~ .radio-checkmark {border-color: var(--primary-color);}
.radio-checkmark:after {content: "";position: absolute;display: none;top: 3px;left: 3px;width: 10px;height: 10px;border-radius: 50%;background: var(--primary-color);transition: all 0.2s ease-in-out;}
.radio-label input:checked ~ .radio-checkmark:after {display: block;}
.file-input {display: none;}
.file-label {display: inline-block;padding: 8px 16px;background: #f5f5f5;border: 1px solid #ddd;border-radius: 4px;cursor: pointer;font-size: 14px;}
.file-name {margin-left: 8px;color: var(--text-color);font-size: 14px;}
/* Custom Modal */ /* Modal Styles */ .modal-overlay {position: fixed;top: 0;left: 0;right: 0;bottom: 0;background-color: rgba(0, 0, 0, 0.5);display: none;justify-content: center;align-items: center;z-index: 1000;}
.modal {background: white;border-radius: 8px;padding: 32px;max-width: 600px;width: 90%;max-height: 90vh;overflow-y: auto;position: relative;animation: modalSlideIn 0.3s ease-out;}
@keyframes modalSlideIn {from {  transform: translateY(-20px);  opacity: 0;}to {  transform: translateY(0);  opacity: 1;}}
.modal-close {position: absolute;top: 20px;right: 20px;background: none;border: none;font-size: 24px;cursor: pointer;color: #666;padding: 5px;line-height: 1;}
.modal-close:hover {color: #333;}
/* Trigger Link Styles */.modal-trigger {display: inline-block;padding: 12px 24px;background: #009688;color: white;text-decoration: none;border-radius: 4px;font-weight: 500;transition: background-color 0.2s;}
.modal-trigger:hover {background: #00897b;}

/* Custom code */
.wrapper {display: flex; display: flex; flex-direction: column;min-height: 100vh;}
.wrapper .main-content {padding: 80px 0; flex: 1;}
.container {max-width: 1200px; margin: 0 auto;}
.wrapper .main-content .left-side, .wrapper .main-content .right-side{width: 50%; flex: 1; align-items: flex-start; display: flex}
.wrapper .main-content .right-side{display: flex; justify-content: flex-end;align-items: center;}
.auth-container {width: 100%;}
.content-info {display: flex; flex-direction: column; justify-content: center;}
.content-info h1 {margin-top: 16px;}
.card-s {height:100%; background-color: var(--background-color); padding: 2rem;border-radius: 10px;box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);width: 500px;max-width: 500px; display: flex; justify-content: center; align-items: center;}
.content-horizonatal .card-s{width: calc(100% - 2rem); max-width: calc(100% - 2rem);}
.auth-header {text-align: center;margin-bottom: 1.5rem;}
.auth-header h1 {color: #008290;font-size: 2rem;margin-bottom: 0.5rem;}
.auth-header p {color: #666;font-size: 0.95rem;}
.auth-links {text-align: center;margin-top: 1.5rem;display: flex;flex-direction: column;gap: 0.5rem;}
.auth-links a {color: #008290;text-decoration: none;font-size: 0.9rem;transition: color 0.3s ease;}
.auth-links a:hover {color: #006d78;text-decoration: underline;}
.content {display: flex; align-items: stretch;}
.content h1 {text-transform: uppercase; font-weight: 600; color: var(--primary-color); text-align: center;}
.wrapper .main-content .content-horizonatal .left-side{min-width: 300px; width: 30%; max-width: 25%; height: 100%;}
.wrapper .main-content .content-horizonatal .right-side{width: 100%;max-width: calc(100% - 2rem);height: 100%;position: relative;}
.content-horizonatal .right-side {display: flex; flex-direction: column;}
.content-horizonatal .card-s + .card-s {margin-top: 2rem;}
.addmore-btn-groups.btn-groups {display: flex;width: calc(100% - 2rem);justify-content: flex-end;align-items: flex-end;margin: 1.2rem 0; position: absolute; top:-72px}
.addmore-btn-groups.btn-groups a{font-size: 1.1rem; font-weight: 300; text-transform: uppercase; position: relative;}
.addmore-btn-groups .btn-link{max-width: 180px;padding: 10px 0px;}
.btn-groups a + a {margin-left: 2rem;}
.added-details{width: 100%;}
.added-details .t-row{ display: flex; justify-content: space-between; width: 100%; padding: 1rem 0;}
.added-details .t-row + .t-row{border-top: 1px solid var(--light-grey-color);}
.added-details .t-row .t-data{display: flex; flex-direction: column;}
.added-details .t-row .t-data:last-child{flex-direction: row; justify-content: center; align-items: center;}
.added-details .t-row .t-data:last-child a + a{margin-left: 10px;}
.added-details .t-row .t-data span:last-child{font-weight: 700; font-size: 1.2rem; color: var(--text-color);}
.content-horizonatal .submited-products{padding:0;/* display: flex; */flex-direction: column;justify-content: flex-start;align-items: flex-start; box-shadow:unset;}
@media(max-width:768px) {
  .wrapper .main-content {padding: 20px}.content {flex-direction: column-reverse;}.wrapper .main-content .left-side, .wrapper .main-content .right-side {width: 100%;}.content-info{margin-top: 1.5rem;}
}

/* Registration Page */
.steps-container {display: flex;justify-content: space-between;margin-bottom: 2rem;position: relative;max-width: 450px;margin-left: auto;margin-right: auto;}
.steps-container::before {content: '';position: absolute;top: 32%;left: 0;right: 0;height: 2px;background: #e1e1e1;transform: translateY(-50%);z-index: 1;}
.step {display: flex;flex-direction: column;align-items: center;position: relative;z-index: 2;background: white;padding: 0 10px;}
.step-circle {width: 60px;height: 60px;border-radius: 50%;background: #e1e1e1;display: flex;align-items: center;justify-content: center;margin-bottom: 0.5rem;transition: all 0.3s ease;}
.step-circle.active {background: #008290;color: white;}
.step-circle.completed {background: #00b2a9;color: white;}
.step-text {color: #666;font-size: 0.9rem;text-align: center;margin-top: 0.5rem;}
.step-form {display: none;}
.step-form.active {display: block;}
.otp-inputs {display: flex;gap: 0.5rem;margin: 1rem 0 5px 0;}
.otp-inputs input {width: 50px;height: 50px;text-align: center;font-size: 1.25rem;border: 1px solid #e1e1e1;border-radius: 5px;}
.contact-info {margin-top: 2rem;padding-top: 1rem;border-top: 1px solid #e1e1e1;font-size: 0.9rem;color: #666;}
.contact-info p {margin-bottom: 0.5rem;}
.contact-info a {color: #008290;text-decoration: none;}
.contact-details span {font-size: 13px;font-weight: 700;display: inline-block;width: 134px;}
#productForm{margin-top: 0; box-shadow: unset;}
.f-col{display: flex;}
.f-col .form-group{width: 100%;}
.f-col .form-group + .form-group{margin-left: 8px;}

/* Scan Form */
.upload-area {border:2px dashed var(--primary-color); min-height: 200px; display: flex; justify-content: center; align-items: center; cursor: pointer; border-radius:8px; padding: 8px;}

/* Custom Dropdown */
.custom-select-container {position: relative;width: 100%;margin: 0 auto;}
.custom-select-input {width: 100%;padding: 12px 40px 12px 16px;border: 2px solid #e1e1e1;border-radius: 8px;cursor: pointer;background: white;font-size: 16px;transition: all 0.2s ease;color: #333;}
.custom-select-input:focus {outline: none;border-color: #2196F3;box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);}
.custom-select-dropdown {position: absolute;top: 100%;left: 0;right: 0;background: white;border-radius: 8px;max-height: 300px;overflow-y: auto;display: none;z-index: 1000;box-shadow: 0 4px 20px rgba(0,0,0,0.15);border: 1px solid #e1e1e1;margin-top: 5px;}
.custom-select-dropdown.opening {display: block;opacity: 0;transform: translateY(-10px);transition: opacity 0.2s ease, transform 0.2s ease;}
.custom-select-dropdown.open {opacity: 1;transform: translateY(0);}
.search-box {width: 100%;padding: 12px 16px;border: none;border-bottom: 1px solid #eee;font-size: 16px;background-color: #f8f9fa;border-radius: 8px 8px 0 0;}
.search-box:focus {outline: none;background-color: white;border-bottom-color: #2196F3;}
.options-container {padding: 8px 0;}
.option-item {padding: 10px 16px;cursor: pointer;transition: all 0.2s ease;display: flex;align-items: center;}
.option-item:hover, .option-item.highlighted {background-color: var(--primary-color);color: var(--background-color);}
.dropdown-arrow {position: absolute;right: 16px;top: 50%;transform: translateY(-50%);width: 0;height: 0;border-left: 6px solid transparent;border-right: 6px solid transparent;border-top: 6px solid #666;transition: transform 0.2s ease;}
.custom-select-container.active .dropdown-arrow {transform: translateY(-50%) rotate(180deg);}
.no-results {padding: 16px;color: #666;font-style: italic;text-align: center;}

/* Custom scrollbar */
.custom-select-dropdown::-webkit-scrollbar {width: 8px;}
.custom-select-dropdown::-webkit-scrollbar-track {background: #f1f1f1;border-radius: 0 8px 8px 0;}
.custom-select-dropdown::-webkit-scrollbar-thumb {background: #ccc;border-radius: 4px;}
.custom-select-dropdown::-webkit-scrollbar-thumb:hover {background: #999;}

/* Loading animation */
@keyframes shimmer {0% { background-position: -468px 0 }100% { background-position: 468px 0 }}
.loading .option-item {background: linear-gradient(to right, #f6f7f8 8%, #edeef1 18%, #f6f7f8 33%);background-size: 800px 104px;animation: shimmer 1.2s linear infinite;height: 40px;}

/* Responsive styles */
@media screen and (max-width: 480px) {
  .custom-select-container {    max-width: 100%;}
  .custom-select-input,.search-box {    padding: 10px 35px 10px 12px;    font-size: 15px;}
  .option-item {    padding: 8px 12px;    font-size: 15px;}
  .custom-select-dropdown {    max-height: 250px;}
}

/* Product Details form */
textarea {min-height: 100px;resize: vertical;}
span.plus-iocn {
  font-size: 29px;
  background: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  line-height: 2;
}
.add-more-dd a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.addmore-btn-groups.btn-groups.j-center{
  justify-content: center;
  position: relative;
  top:0;
}
.submited-products .table-container{width: 100%;}


/* Warranty Tabs */

        /* Dashboard Header */
        .dashboard-header {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 2rem;
      }

      .dashboard-title {
          font-size: 1.5rem;
          color: var(--text-color);
          width: 100%;
          font-weight: 700;
      }
      .dashboard-header .btn{width: 300px; font-weight: 300;}

      /* Stats Grid */
      .stats-grid {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
          gap: 1.5rem;
          margin-bottom: 2rem;
      }

      .stat-card {
          background: white;
          padding: 1.5rem;
          border-radius: 12px;
          box-shadow: 0 2px 4px rgba(0,0,0,0.04);
          transition: transform 0.2s;
          max-width: 240px;
      }

      .stat-card:hover {
          transform: translateY(-2px);
      }

      .stat-title {
          color: var(--gray-600);
          font-size: 0.875rem;
          margin-bottom: 0.5rem;
      }

      .stat-value {
          font-size: 1.5rem;
          font-weight: 600;
      }

      /* Card Styles */
      .card {
          background: white;
          border-radius: 12px;
          box-shadow: 0 2px 4px rgba(0,0,0,0.04);
          margin-bottom: 2rem;
          overflow: hidden;
      }

      .card-header {
          padding: 1.5rem;
          border-bottom: 1px solid var(--gray-200);
          display: flex;
          justify-content: space-between;
          align-items: center;
      }

      .card-title {
          font-size: 1.25rem;
          font-weight: 600;
      }

      /* Table Styles */
      .table-container {
          overflow-x: auto;
      }

      table {
          width: 100%;
          border-collapse: collapse;
      }

      th, td {
          padding: 1rem 1.5rem;
          text-align: left;
          border-bottom: 1px solid var(--gray-200);
      }

      th {
          background: var(--primary-color);
          font-weight: 600;
          color: var(--background-color);
      }

      tbody tr {
          cursor: pointer;
          transition: background-color 0.2s;
      }
      tbody tr + tr{border-top: 1px solid var(--light-grey-color);}

      tbody tr:hover {
          background: var(--gray-100);
      }

      .mobile-hide {
          display: table-cell;
      }

      /* Status Badge */
      .status-badge {
          padding: 0.25rem 0.75rem;
          border-radius: 20px;
          font-size: 0.875rem;
          font-weight: 500;
      }

      .status-diagnosing {
          background: #fff3cd;
          color: #856404;
      }
      .status-warranty {
          background: #d1f9e0;
          color: #08692d;
      }

      .detail-grid {
          display: grid;
          grid-template-columns: auto 1fr;
          gap: 1rem;
      }

      .detail-label {
          font-weight: 600;
          color: var(--gray-600);
      }

      .detail-value {
          color: var(--gray-800);
      }

      /* Responsive Design */
      .modal-content {
         margin-top: 1rem;
      }
      @media (max-width: 768px) {
          .dashboard-header {
              flex-direction: column;
              gap: 1rem;
              align-items: flex-start;
          }

          .mobile-hide {
              display: none;
          }

          .modal-content {
              width: 95%;
              margin: 1rem 0;
          }
          .dashboard .cards-container {
            grid-template-columns: repeat(1, minmax(300px, 1fr)) !important;
            gap: 0 !important;
          }
          .header h1{
            font-size: 24px;
          }
          .dashboard .header{
            margin-bottom: 10px;
          }
          .status-badge {
            font-size: 12px;
          }
          .res-table td, .res-table th{
            padding: 13px 5px;
            font-size: 14px;
          }
          .modal{
            padding: 16px;
          }
          .card-s{
            padding: 1rem;
          }
          .addmore-btn-groups.btn-groups {
            position: relative;
            top: 0;
          }
          .wrapper .main-content .content-horizonatal .right-side, .addmore-btn-groups.btn-groups, .content-horizonatal .card-s {
            max-width: 100%;
            width: 100%;
          }
          .card-header {
            padding: .5rem;
          }
          .card-header .card-title{
            font-size:14px
          }
      }
.warranty-tabs {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--primary-color);
}

.warranty-tab {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--background-color);
  font-weight: 500;
  transition: all 0.2s;
}

.warranty-tab.active {
  background: var(--background-color);
  color: var(--text-color);
}

.warranty-content {
  padding: 1.5rem;
}

.examples-list {
  list-style: none;
}

.examples-list li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.examples-list li:last-child {
  border-bottom: none;
}

.examples-list li i {
  color: var(--primary);
}

@media (max-width: 768px) {

  .dashboard-header {
      flex-direction: column;
      gap: 1rem;
      align-items: flex-start;
  }

  .stat-card {
      padding: 1rem;
  }
}

/* Dashboard */
.dashboard .header{
  background: transparent;
  box-shadow: unset;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.dashboard .cards-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 24px;
}

.dashboard .card {
  background: var(--background-color);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.dashboard .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.dashboard .card-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

.dashboard .card-description {
  font-size: 20px;
  color: var(--dark-grey-color);
  margin-bottom: 15px;
}

.dashboard .card-link {
  text-decoration: none;
  color: #008290;
  font-weight: bold;
  font-size: 20px;
  display: inline-block;
}

.dashboard .card-link:hover {
  text-decoration: underline;
}


div#scanForm {
  min-height: 150px;
  border: 2px dashed #008290;
  border-radius: 8px;
  padding: 8px;
}
div#scanForm h1{font-size: 1.2rem;}
#scanPage .controls {
  display: flex;
}
#scanModal .controls {display: flex;}
#scanPage .controls .btn, #scanModal .controls .btn{margin-top: 10px;}
#scanPage .controls .btn + .btn, #scanModal .controls .btn + .btn {margin-left: 10px;}
.dropdown-menu-cust {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    display: none;
    z-index: 1000;
}
.dropdown-menu-item span{
    padding-left: 12px;
}
.error-msg-common {
    background: #ff0018;
    padding: 4px 8px;
    margin: 0 16px 16px 0;
    color: #fff;
    font-size: 12px;
    display: none;
}
.error-message {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.error-notice{
    margin:5px; /* Make sure to keep some distance from all sides */
  }

  .oaerror{
    width:100%;
    background-color: #ffffff;
    padding:20px;
    border:1px solid #eee;
    border-left-width:5px;
    border-radius: 3px;
    margin:10px auto;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    text-align: left;
  }
  .warranty-box h3 {
      font-weight: 600;
      color: #444;
      display: flex;
      align-items: center;
      margin-bottom: 9px;
      margin-left: -5px;
      line-height: 1;
  }
  .warranty-box span.plus-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background: green;
    color: #fff;
    padding: 5px;
    line-height: 1;
    border-radius: 50%;
    margin-right: 6px;
    padding: 3px 5px 2px 6px;
  }
  .oaerror:has(.warranty-box){
    padding: 14px;
  }
  #serviceModal .oaerror:has(.warranty-box){
    display: none !important;
  }
  .scan-title {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 24px;
      background: #008290;
      color: #fff !important;
      padding: 10px;
  }
  #product-modal .modal-close, #serviceModal .modal-close{
    top: 35px;
    right: 38px;
    color: #fff;
  }
  #serviceModal .modal-header {
    position: relative;
  }
  #serviceModal .modal-close {
    top: 3px;
    right: 3px;
}
  .warranty-box .model-name,   .warranty-box .w-period {
    font-weight: 600;
    line-height: 1.4;
  }
  .warranty-box p {
    font-size: 14px;
  }
  .warranty-box ul {
    padding-left: 18px;
    padding-top: 7px;
  }
  .warranty-box ul li {
    list-style: disc;
  }
  .danger{
    border-left-color: #d9534f;
    background-color: rgba(217, 83, 79, 0.1);
    color: #a50404;
  }

  #scanPage .error-msg-common{
    padding: 9px 8px;    
    font-size: 14px;
  }

  .danger strong{
    color:#d9534f;
  }

  .warning{
    border-left-color: #f0ad4e;
    background-color: rgba(240, 173, 78, 0.1);
  }

  .warning strong{
    color:#f0ad4e;
  }

  .info {
    border-left-color: #5bc0de;
    background-color: rgba(91, 192, 222, 0.1);
  }

  .info strong {
    color: #5bc0de;
  }

  .success {
    border-left-color: #36b342;
    background-color: rgba(37, 187, 40, 0.1);
    color:#1b3410;
  }

  .success strong {
    color: #2b542c;
  }
  #password-message{
    color: red;
    font-size: 12px;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
  }
button#resend-btn {
  font-size: 14px;
  margin-top: 10px;
  background: #008290;
  color: #fff;
  padding: 10px 16px;
  border-radius: 5px;
  cursor: pointer;
  display: none;
}
button#resend-btn.enabled{
  display: block;
}
#timer {
  font-size: 14px;
  margin-left: 2px;
}
#countdown{
  font-weight: 700;
  width: 17px;
  display: inline-block;
  text-align: center;
}
#otpprocess, #wrongotp {
  font-size: 14px;
  margin-bottom: 10px;
  margin-left: 2px;
}
.password-message-item.valid{
  color: #0eb84f;
}
.password-message-item{
  margin-bottom: 4px;
  margin-left: 9px;
}
#password-message h3{
    font-size: 14px;
    font-weight: 700;
    margin: 10px 0;
}
.addmore-btn-groups.register-more .btn-link{
  max-width: 300px;
}
input::placeholder{
  color: #555       
}

.otp-inputs:has(.otp-error){
  margin-bottom: 32px;
  position: relative;
}
.otp-inputs .otp-error {
  position: absolute;
  bottom: -18px;
}

/* Spinner using ::before pseudo-element */
.load-spiner-btn::before {
  content: "";
  left: 18px;
  width: 0; /* Initially hidden (width 0) */
  height: 0; /* Initially hidden (height 0) */
  border: 0px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  opacity: 0;
  transition: opacity 0.2s, width 0.2s, height 0.2s, border-width 0.2s;
  margin-right: 0;
}
.load-spiner-btn.loading::before{
  margin-right: 8px;
}

/* When loading class is applied */
.load-spiner-btn.loading {
  pointer-events: none; /* Prevent clicks when loading */
  opacity: 0.8; /* Visual indication that it's not clickable */
}


.load-spiner-btn.loading::before {
  width: 16px; /* Show spinner with width */
  height: 16px; /* Show spinner with height */
  border-width: 2px; /* Add border */
  opacity: 1;
  animation: spin 0.8s linear infinite;
}


.load-spiner-btn:disabled {
  cursor: not-allowed;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.res-table th, .res-table td{
  font-size: 14px;
}
.res-table th {
  font-size:12px
}


@media(max-width:600px){
  .f-col,.form-row{
    flex-direction: column;
  }
  .f-col .form-group + .form-group{
    margin-left:0
  }
  .auth-header h1{
    font-size: 1rem;
    text-align: left;
  }
  .wrapper .main-content .content-horizonatal .left-side{
    min-width: 100%;
    width: 100%;
    max-width: 100%;
  }
  .footer-content{
    grid-template-columns: 1fr;
  }
  .footer-section ul {
    display: block;
  }
  .footer-section + .footer-section{
    padding-left: 0;
  }
  .footer-section ul li{
    margin-right: 0;
  }
}