#add-product-form {
    padding: 10px;
}

.field_row {
    margin-bottom: 20px;
    display: block;
    width: 100%;
    clear: both;
}

.form_grid_2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.form_grid_3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.form_label {
    display: block !important;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
    text-align: left;
}

.product {
    width: 100% !important;
    height: 42px !important;
    padding: 8px 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    display: block !important;
    background-color: #fff !important;
}

.mt_5 { margin-top: 5px; }

/* For product settings page */
.settings-input-wrap { 
    display: flex; 
    gap: 5px; 
    margin-bottom: 10px; 
}
.settings-input-wrap input { 
    width: 100%; 
    padding: 5px; 
    border: 1px solid #ccc; 
}
.add-btn { 
    padding: 5px 10px; 
    cursor: pointer; 
    background: #0b9eca; 
    color: #fff; 
    border: none; 
    border-radius: 3px; 
}

.saved-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    text-align: left; 
}
.saved-list li { 
    background: #fff; 
    padding: 6px; 
    border: 1px solid #eee; 
    margin-bottom: 4px; 
    border-radius: 3px; 
}
.item-display { 
    display: flex; 
    justify-content: 
    space-between; 
    align-items: center; 
}
.item-actions { 
    display: flex; 
    gap: 5px; 
}

.action-btn { 
    background: none; 
    border: none; 
    cursor: pointer; 
    font-size: 12px; 
    padding: 2px 5px; 
    border-radius: 2px; 
}
.edit-btn { 
    color: #007bff; 
    border: 1px solid #007bff; 
}
.del-btn { 
    color: #dc3545; 
    border: 1px solid #dc3545; 
}

.edit-form { 
    display: none; 
    gap: 5px; margin-top: 5px; 
}
.edit-form input { 
    flex-grow: 1; 
    font-size: 12px; 
    padding: 2px; 
}

.select2-container .select2-selection--single {
    height: 40px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 7px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
    font-size: 12px;
}
button.btn.aud_submit.adproduct {
    margin-left: 0px !important;
}
button.btn.aud_submit.productname {
    margin-left: 0 !important;
    margin-top: 15px
}
.popup_title{
    text-align: center;
}
.pname{
    float: left;
    margin-bottom: 20px;
}



/* for product details page */

.content-area {
    width: 100%;
    padding: 40px;
    min-height: 100vh;
    box-sizing: border-box;
}
.main-wrapper {
    display: flex;
    /* grid-template-columns: repeat(2, 1fr); */
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
    max-width: 1400px;
}
/* --- REUSABLE GLASS CARD --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 30px;
    flex: 1;
    max-width: 400px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 40%;
}
.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}
.card-title {
    margin: 0;
    font-size: 22px;
    color: #111;
    font-weight: 600;
}
/* --- SPEC ROWS & ICONS --- */
.spec-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(11, 157, 202, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
}
.label {
    display: block;
    font-size: 11px;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.value {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}
/* --- PILLS & COLOR DOTS --- */
.color-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.pill-box {
    background: rgba(11, 157, 202, 0.08);
    padding: 12px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.dot { width: 30px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); }
/* --- GRID STATS (3 COLUMNS) --- */
.grid-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: auto;
}
.stat-box {
    background: white;
    padding: 15px 5px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--glass-border);
}
.stat-box .value { font-size: 13px; margin-top: 5px; }
/* --- STATUS BADGE (WARRANTY) --- */
.status-badge {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
.status-badge.active {
    background: rgba(197, 53, 34, 0.15);
    color: red;
    border: 1px solid rgba(197, 34, 34, 0.4);
}
.action-btn {
    width: 100%;
    /* margin-top: 15px; */
    padding: 5px;
    border: none;
    border-radius: 12px;
    background: #007bff; 
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.action-btn:active {
    transform: translateY(0);
}
p.value_dt {
    font-size: 10px;
    line-height: 0px;
}
.glass-card.no_product {
    max-width: 100% !important;
}
.manual_search {
    float: right;
    margin-right: 45px;
}

.size-input-row { display: flex; gap: 5px; margin-bottom: 5px; }
.size-input-row input { width: 32% !important; text-align: center; height: 27px; border: 1px solid #ccc; border-radius: 4px; }
.settings-input-wrap .add-btn-full { width: 100%; margin-top: 5px; background: #00a8cc; color: white; border: none; cursor: pointer; padding: 8px; border-radius: 4px; font-weight: bold; }
.saved-list { padding: 0; list-style: none; margin-top: 15px; }
.item-display { display: flex; justify-content: space-between; align-items: center; background: #f9f9f9; padding: 8px; border: 1px solid #ddd; border-radius: 4px; margin-bottom: 5px; }
.edit-form { display: none; gap: 5px; margin-bottom: 5px; }
.action-btn { cursor: pointer; border: none; background: none; padding: 2px 5px; }
.del-btn { color: #dc3545; }
.edit-btn { color: #00a8cc; }
/* Container and Layout */
.bottom_content.edit_profile_page, .bottom_content.change_pass {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: #f4f7f6; /* Light background to contrast the white form */
    min-height: 80vh;
}
.eform {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
}

.eform h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Input Fields */
.input_wrap.edit {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    border: none;
    padding: 0;
}

.input_wrap.edit label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.input_field {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.input_field:focus {
    border-color: #0b9dca;
    box-shadow: 0 0 0 3px rgba(11, 157, 202, 0.1);
}

/* Error Messages */
.field-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
}

/* Button Styling */
.input_wrap.center {
    align-items: center;
    border: none;
    margin-bottom: 0;
    padding: 8px 0;
}

.input_button {
    background: #0b9dca;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.input_button:hover {
    background: #087fa4;
    transform: translateY(-1px);
}

.input_button:active {
    transform: translateY(0);
}

button.action-btn-wr {
    background: rgb(6, 147, 227);
    padding: 15px 0;
    border: navajowhite;
    border-radius: 12px;
    font-size: 17px;
    color: #fff;
    cursor: pointer;
}


/* for customers product details page */
.container {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}
/* Header */
.header-customers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.header-customers .logo img {
    height: 50px;
}

.header-customers .website-link {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.header-customers .website-link .icon {
    margin-right: 8px;
    height: 16px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    /* background-color: #fcebeb; */
    background: url("../images/Untitled-1.png") no-repeat center / cover;
    height: 400px;
    padding: 20px 40px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(26 17 12 / 13%) 0%, rgb(18 12 8 / 35%) 60%, rgb(18 12 8 / 29%) 100%);
    display: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 192, 203, 0.3);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    width: 500px;
    z-index: 1;
    margin: 10px 40px 40px;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #444;
}

.hero-content .red-text {
    color: #cb2027;
}

.hero-content p {
    font-size: 18px;
    color: #555;
    line-height: 1.5;
}

.hero-image {
    flex: 1;
    text-align: right;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
}

/* Product Details Card */
.product-details-card {
    display: flex;
    background-color: #fff;
    margin: -70px 0 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    position: relative;
    padding: 20px;
}

.product-details-card .details-section,
.product-details-card .purchase-date-section {
    display: flex;
    align-items: center;
    padding: 20px;
    flex: 1;
}

.product-details-card .details-section {
    border-right: 1px solid #eee;
}

.product-details-card .card-icon {
    height: 50px;
    margin-right: 20px;
}

.product-details-card h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}

.product-details-card p {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* Warranty Status Card */
.warranty-status-card {
    display: flex;
    background-color: #fcf7f7;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.warranty-status-card.not-active {
    margin: 0;
    border-radius: 15px;
    background: url("../images/warrantystatus.png") no-repeat center / cover;
    height: 500px;
}

.warranty-status-card.activated {
    background: url("../images/activated-warranty.png") no-repeat center / cover;
    height: 590px;
}

.warranty-status-card .status-indicator {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 1;
}

.warranty-status-card .status-icon {
    height: 90px;
}

.warranty-status-card .status-description {
    width: 400px;
    margin: 0 200px;
    padding: 40px 20px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.warranty-status-card h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #252525;
    background: aliceblue;
    text-align: center;
    padding: 3px 0;
    border-radius: 0 20px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.warranty-status-card .status-text {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.warranty-status-card.not-active .status-text {
    color: #cb2027;
    text-shadow: #e0e0e0 1px 1px 0, 4px 2px 4px rgba(0, 0, 0, 0.29);
}

.warranty-status-card.activated .status-text {
    color: #28a745;
    font-size: 25px;
    font-weight: 900 !important;
    margin: 0 !important;
}

.warranty-status-card.activated p {
    font-size: 16px;
    color: #202220;
    line-height: 1.5;
    margin-bottom: 20px;
}

.warranty-status-card.not-active p {
    color: white;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.warranty-status-card .activate-button {
    background-color: #cb2027;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.warranty-status-card .activate-button img {
    margin-right: 10px;
    height: 20px;
}

.warranty-status-card .card-image {
    flex-shrink: 0;
    width: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    right: -20px;
}

.warranty-status-card .card-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Activated Card Specifics */
.warranty-status-card.activated .expires-on {
    /* margin-bottom: 20px; */
    font-size: 16px;
    color: #666;
}

.warranty-status-card.activated .expires-date {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin-top: 5px;
}

.warranty-status-card.activated .expires-date .small-icon {
    height: 20px;
    margin-right: 10px;
}

.warranty-status-card.activated .time-remaining {
    /* margin-top: 20px; */
}

.warranty-status-card.activated .time-remaining h3 {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 15px;
}

.warranty-status-card.activated .time-blocks {
    display: flex;
    gap: 20px;
}

.warranty-status-card.activated .time-block {
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2px;
    width: 100px;
    font-size: 10px;
    font-weight: 600;
    color: #444;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    margin-bottom: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.warranty-status-card.activated .time-block img {
    height: 30px;
    margin-bottom: 10px;
}

.warranty-status-card.activated .time-block br {
    display: block;
    line-height: 1;
    content: "";
    padding: 0;
    margin: 0;
}


/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    background-color: #f7f7f7;
    border-top: 1px solid #eee;
}

.feature-item {
    text-align: center;
    flex: 1;
    padding: 0 15px;
}

.feature-item img {
    height: 60px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #444;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Footer */
.footer-customers {
    text-align: center;
    padding: 20px 40px;
    background-color: #eeeeee;
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-customers .info-icon {
    height: 14px;
    vertical-align: middle;
    margin-right: 5px;
}

.footer-customers a {
    color: #cb2027;
    text-decoration: none;
    font-weight: 600;
}

.footer-customers a:hover {
    text-decoration: underline;
}
.footer-logo {
    width: 200px;
}
.expires-label{
    font-size: 11px;
    margin: 0;
}
.glass-card.customer-map{
    max-width: 100%;
}
.glass-card.no_product.outbox{
    display: flex !important;
}

/* for pagination design */
.pagination {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
    padding: 10px 0;
}

.pagination a, 
.pagination span {
    display: inline-block;
    padding: 2px 14px;
    text-decoration: none;
    color: #333;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination span.current {
    background-color: #00a8cc;
    color: #fff;
    border-color: #00a8cc;
    font-weight: bold;
}

.pagination a:hover {
    background-color: #00a8cc;
    color: #fff;
    border-color: #00a8cc;
}

.pagination .next, 
.pagination .prev {
    font-weight: bold;
}
p.status-text {
    font-size: 54px !important;
}
p.expires-label {
    background: aliceblue;
    text-align: center;
    padding: 5px;
    border-radius: 14px;
    margin-top: 10px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.shadow-dance-text {
    font-size: 108px;
    font-style: italic;
    color: #ca2a2f;
    text-shadow: 5px 5px 0 #ff005e, 10px 10px 0 #00d4ff;
    animation: shadow-dance 2s infinite;
}

@keyframes shadow-dance {
    0%, 100% {
        text-shadow: 5px 5px 0 #dbfa7d, 10px 10px 0 #00d4ff;
    }
    50% {
        text-shadow: -5px -5px 0 #00d4ff, -10px -10px 0 #dbfa7d;
    }
}