/* Final sign in signup design  */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body.auth-body {
    background: #f4f5f7;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.auth-wrapper {
    display: flex;
    position: relative;
    width: 760px;
    min-height: 460px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
 
.auth-left {
    flex: 0 0 46%;
    position: relative;
    z-index: 1;
    overflow: visible;
    /* background: linear-gradient(160deg, #FDBB5C 0%, #843f38 60%, #d97f0f 100%); */
    background: linear-gradient(160deg, #a8564c 0%, #843f38 55%, #5e2b26 100%);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}
 
.auth-left::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    right: -45px;
    top: 15%;
    background: rgba(255, 255, 255, 0.25);
}
 
.auth-wrapper::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    left: calc(46% - 55px);
    top: 74%;
    background: linear-gradient(160deg, #a8564c 0%, #5e2b26 100%);
    box-shadow: 0 10px 25px rgba(94, 43, 38, 0.35);
}
 
.auth-wrapper::before {
    content: "";
    position: absolute;
    z-index: 4;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(160deg, #a8564c 0%, #5e2b26 100%);

}
 
.auth-left .tag {
    font-size: 18px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 8px;
}
 
.auth-left h2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}
 
.auth-left p.desc {
    font-size: 13px;
    opacity: 0.9;
    max-width: 270px;
    margin-top: 12px;
}
 
.auth-left .circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}
 
.auth-left .circle-1 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -80px;
}
 
.auth-left .circle-2 {
    width: 100px;
    height: 100px;
    bottom: 50px;
    left: 90px;
    background: rgba(255, 255, 255, 0.25);
}
 
.auth-left .circle-3 {
    width: 90px;
    height: 90px;
    top: -20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
}
 
.auth-right {
    position: relative;
    z-index: 3;
    background: #ffffff;
    flex: 1;
    padding: 2.75rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
 
.register-card {
    width: 100%;
}
 
.auth-wrapper--compact {
    min-height: auto;
}
 
.auth-wrapper--compact .auth-right {
    padding: 1.75rem 2.25rem;
}
 
.auth-wrapper--compact .field {
    margin-bottom: 8px;
}
 
.icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #a96860;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 18px;
}
 
.register-card h1 {
    font-size: 19px;
    font-weight: 600;
    text-align: center;
    color: #1a1a1a;
}
 
.register-card p.subtitle {
    font-size: 12px;
    color: #6b6b6b;
    text-align: center;
    margin: 4px 0 1.25rem;
}
  
.field {
    margin-bottom: 12px;
}
 
.field label {
    display: block;
    font-size: 12px;
    color: #6b6b6b;
    margin-bottom: 5px;
}
 
.field input {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
}
 
.field input:focus {
    outline: none;
    border-color: #843f38;
}
  
button {
    width: 100%;
    height: 40px;
    margin-top: 6px;
    background: #843f38;
    border: none;
    /* color: #010101; */
    color: #ffffff;
    font-weight: 800;
    font-size: 17px;
    border-radius: 8px;
    cursor: pointer;
    /* box-shadow: 0 4px 12px rgba(77, 48, 5, 0.4); */
}
 
button:hover {
    background: #c86055;
} 
.footer-link {
    text-align: center;
    font-size: 14px;
    color: #6b6b6b;
    margin-top: 12px;
}
 
.footer-link a {
    color: #2155f1;
    text-decoration: underline;
    
} 
.message {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    text-align: center;
      transition: opacity 0.3s ease;
}
 
.message.error {
    background: #FAECE7;
    color: #993C1D;
}
 
.message.success {
    background: #eafaf1;
    color: #1f7a45;
    border: 1px solid #b7e4c7;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.forgot-link {
    font-size: 14px;
    color: #6b6b6b;
    text-align: center;
    margin-top: 16px;
}

.forgot-link span  a {
     text-align: center;
    font-size: 14px;
    color: #2155f1;
    text-decoration: underline;
}

.forgot-link span  a:hover{
     text-align: center;
    font-size: 14px;
    color: #2155f1;
    text-decoration: underline;
}

.back-link {
    color: #6b6b6b;
    text-align: center;
    font-size: 14px;
    margin-top: 14px;
   
}

.back-link a{
    font-size: 14px;
    color: #2155f1;
   text-decoration: underline;
    
}
/* ___________________________________ */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
}
.toggle-password {
    position: absolute;
    margin-left: -25px;
    margin-top: 10px;
    cursor: pointer;
    color: #777;
    font-size: 13px;
}

.toggle-password:hover {
    color: #333;
}

/* ------------------------------ sidebr design -------------------------*/
 :root {
    --lte-sidebar-width: 180px;
    }
    .app-sidebar {
        background: #843f38 !important;
    }
    .sidebar-brand {
        border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    }
    .app-sidebar .nav-link,
    .app-sidebar .brand-text {
        color: #ffffff !important;
        font-weight: 700 !important;
        opacity: 1 !important;
    }
    .app-sidebar .nav-icon {
        color: #ffffff !important;
    }
    .app-sidebar .nav-link.active {
        background: rgba(255, 255, 255, 0.15) !important;
    }
    .app-sidebar .nav-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .brand-image {
        height: 50px !important;
        width: auto;
        margin-right: 8px;
    }

    /* ------- footer design------ */
    .app-footer {
        background: #843f38 !important;
        color: #ffffff !important;
        padding: 6px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
    }

  .app-footer .brand-image {
        height: 24px !important;
        width: auto !important;
        margin-right: 5px !important;
    }
    /* ------------- header design ------------ */
    .app-header .user-menu .nav-link i {
        color: #843f38 !important;
        font-size: 30px;
        margin-top: 30px;
        
    }

    .app-header .user-menu {
    list-style: none;
}

.app-header .user-menu::marker {
    content: none;
}

.welcome-heading {
    font-size: 25px;
    color: #1a1a1a;
    margin-left: 6px;
    /* letter-spacing: -0.02em; */
}

.profile-dropdown {
    min-width: 220px;
}

.required-field::after {
    content: " *";
    color: #c62828;
    font-weight: 700;
}
/* add edit button design  */

.module-heading {
    /* color: #843f38; */
     color: #080808;
    display: inline-block;
    position: relative;
    margin: left 40px;
    /* padding-bottom: 8px; */
     padding-top: 12px;
}

.module-heading-des {
    /* color: #843f38; */
     color: #080808;
    display: inline-block;
    position: relative;
    /* padding-bottom: 8px; */
     padding-top: 12px;
}

/* .module-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #1a1a1a;
    border-radius: 2px;
} */

.form-section-card {
    background: #ffffff;
    border: 0.5px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    margin-top:20px;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
}

.form-section-header i {
    color: #843f38;
    font-size: 16px;
}

.upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1.5px dashed #ccc;
    border-radius: 8px;
    padding: 18px;
    text-align: center;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.upload-box:hover {
    border-color: #843f38;
    background: #FFFBF3;
    color: #843f38;
}

.upload-box i {
    font-size: 18px;
    margin-bottom: 4px;
}

/* upload image  input section*/
.upload-box {
    position: relative;
}

.upload-preview {
    max-width: 160px !important;
    max-height: 160px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    margin-bottom: 8px;
    border-radius: 4px;
}
.upload-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    margin-top: 0;
}

.btn-upload-replace,
.btn-upload-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #843f38;
    background: #ffffff;
    color: #843f38;
    font-size: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.btn-upload-remove {
    border-color: #f5b5b0;
    color: #c62828;
}
/* use this button for index  */
.index-btn {
    background: #843f38;
    color: #ffffff!important;
    border: 1px solid #843f38;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 0 0 2px #ffffff, 0 3px 8px rgba(0, 0, 0, 0.15);
    padding: 5px 10px !important;
    display: inline-block;
    transition: all 0.2s ease;
}

.index-btn:hover {
    background: #c86055;
    border-color: #c86055;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 0 0 2px #ffffff, 0 4px 10px rgba(0, 0, 0, 0.2);
}

.index-back-btn {
    background: #908f8c;
    color: #ffffff!important;
    border: 1px solid #504f4e;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 0 0 2px #ffffff, 0 3px 8px rgba(0, 0, 0, 0.15);
    padding: 5px 10px !important;
    display: inline-block;
    transition: all 0.2s ease;
}

.index-back-btn:hover {
    background: #5e5d5c;
    border-color: #696866;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 0 0 2px #ffffff, 0 4px 10px rgba(0, 0, 0, 0.2);
}


/* end index */

/* Button design for global */

.btn-save,
.btn-save-2,
.btn-cancel,
/* .btn-edit,
.btn-delete, */
.btn-update {
    font-weight: 600;
    font-size: 16px;
    padding: 10px 26px !important;
    border-radius: 8px;
    width: auto !important;
    height: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-save {
    background: #843f38;
    color: #ffffff!important;
    border: 1px solid #843f38;
    font-weight: 800;
    box-shadow: 0 0 0 2px #ffffff, 0 3px 8px rgba(0, 0, 0, 0.15);
    padding: 7px 40px !important;
}

.btn-save-2 {
    background: #843f38;
    color: #ffffff!important;
    border: 1px solid #843f38;
    font-weight: 800;
    box-shadow: 0 0 0 2px #ffffff, 0 3px 8px rgba(0, 0, 0, 0.15);
    padding: 7px 20px !important;
}

.btn-save:hover {
    background: #843f38;
    border-color: #843f38;
    color: #ffffff !important;
}

.btn-cancel {
    background: transparent;
    color: #843f38 !important;
    border: 1.5px solid #843f38;
    box-shadow: none;
    padding: 7px 50px !important;


}

.btn-cancel:hover { 
    background: #c86055;
    color: #ffffff!important;
    border-color: #c86055;
}

.btn-update {
    background: #843f38;
    color: #ffffff !important;
    border: 1px solid #843f38;
    box-shadow: 0 3px 8px rgba(239, 159, 39, 0.3);
}
.btn-update:hover {
    background: #843f38;
    border-color: #843f38;
    color: #ffffff !important;
}

/* end button design*/

/* sucess message */
.alert-success {
    background: #EAF3DE;
    color: #3B6D11;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 20px;
    margin-bottom: 1rem;
    width: 100%;
}
/* end */
/* sweetalert design */
.swal-btn-spacing {
    margin: 0 6px;
    font-size: 13px !important;
    padding: 8px 22px !important;
}

.swal2-actions {
    gap: 4px;
}

/* Action button */
.action-btn {
    display: inline-block;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
    color: #ffff !important;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    margin-right: 4px;
    transition: all 0.2s ease;
}

.action-btn.edit-btn {
    background: #469769;
    border-color: #469769;
}

.action-btn.preview-btn {
    background: #3b6ece;
    border-color: #464a97;
}

.action-btn.edit-btn:hover {
    background: #80bf9b;
    border-color: #80bf9b;
}

.action-btn.delete-btn {
    background: #ef4444;
    border-color: #ef4444;
}

.action-btn.delete-btn:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.action-btn.view-btn {
    background: #2458a7;
    border-color: #082f6d;
}

.action-btn.view-btn:hover {
    background: #4d96c4;
    border-color: #1a63e0;
}

.action-btn.product-copy-btn {
    background: #82487b;
    border-color: #82487b;
}

.action-btn.product-copy-btn:hover {
    background: #82487b;
    border-color: #82487b;
}


.replace-btn{
   background: #5d66bb !important;
   border-color: #5d66bb !important;
}

/* end */
/* status buttons like active/inactive */
.status-badge {
    display: inline-block !important;
    padding: 5px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    border-radius: 999px !important;
    border: none !important;
    box-shadow: none !important;
}

.status-active {
    background: #e3f6e8 !important;
    color: #1f9254 !important;
}

.status-inactive {
    background: #fce8ec !important;
    color: #d63864 !important;
}

.table-list{
    font-size:14px !important;
}

.card-body {
    overflow-x: auto;
}

.table {
    width: 100%;
    table-layout: fixed;
}

.table th,
.table td {
    vertical-align: middle;
}

.table .description-col {
    width: 150px;
    max-width: 150px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Actions column */
.table .actions-col {
    width: 250px;
    min-width: 250px;
}

.table td.actions-col .d-flex {
    width: 100%;
    gap: 5px !important;
}

/* certificate Action column */
.table .actions-col-cert {
    width: 100px;
    min-width: 100px;
}

.table td.actions-col-cert .d-flex {
    width: 100%;
    gap: 5px !important;
}
/* end */

.action-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.page-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.back-btn{
    /* margin-right: 9%; */
    padding: 5px 15px;
    background: #f3f4f6;
    color: #000 !important;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin-top: 12px;
    /* margin-left: 70%;  */
}
.search-body .form-control{
    font-size:14px !important;
}
.form-select{
     font-size:14px !important;
     font-weight: 400;
    line-height: 1.5;
    color: #596169;
}

/* search button */
.search-btn {
    width: 90px !important;
    font-size: 15px !important;
    background: #6b96bb !important;
    font-weight: 200 !important;
}
.add-btn {
    width: 120px !important;
    font-size: 15px !important;
    background: #6b96bb !important;
    font-weight: 200 !important;
}
.reset-btn {
    /* width: 42%; */
    width: 90px !important;
    height: 40px;
    margin-top: 6px;
    background: #908f8c;
    border: none;
    font-weight: 200;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    padding-top: 7px;
    color: white;
     text-decoration: none !important;
}
/* end */
/* products module */
.site-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    /* border: 0.5px solid #e5e5e5; */
    /* border-radius: 12px; */
    padding: 14px 18px;
    margin-bottom: 12px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    box-shadow: var(--bs-box-shadow-inset);

}

.site-row-avatar {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
}

.site-row-avatar-fallback {
    background: #843f38;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.site-row-name {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
}

.site-row-domain {
    font-size: 13px;
    color: #6b6b6b;
}

.site-status-select {
    min-width: 110px;
    font-size: 13px;
    cursor: pointer;
}

.site-status-select:focus {
    box-shadow: none;
}

.sr-no-column {
    width: 35px !important;
    min-width: 15px !important;
    max-width: 45px !important;
    text-align: center !important;
    white-space: nowrap;
    padding-left: 5px !important;
    padding-right: 5px !important;
}
/* this only for product dont add others */
.product-action-column{
     width: 220px;
    white-space: nowrap;
}

/* product view page css */
 .product-view-card {
        border: 1px solid #e3e3e3;
        border-radius: 10px;
        padding: 30px;
    }
    .product-view-image-wrap {
        width: 100%;
        max-width: 240px;
        aspect-ratio: 1 / 1;
        border: 2px solid #6d2f2f;
        border-radius: 8px; 
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        margin: 0 auto;
    }
    .product-view-image-wrap img {
        max-width: 80%;
        max-height: 80%;
        object-fit: contain;
    }

    .product-view-title {
        color: #6d2f2f;
        font-weight: 700;
        margin-bottom: 12px;
    }
    .product-view-section-title {
        font-weight: 700;
        font-size: 1.05rem;
        margin-top: 20px;
        margin-bottom: 8px;
    }
    .product-props-table th,
    .spec-table th {
        background-color: #6d2f2f;
        color: #fff;
        font-weight: 600;
        vertical-align: middle;
    }
    .product-props-table td,
    .spec-table td {
        vertical-align: middle;
    }
    .meta-box {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 16px 20px;
    }
    .more-btn{
        border: 1px solid #7B3931;
        color: #0f254e;
        background: transparent;
        font-weight: 600;
        padding: 10px 20px;
        border-radius: 10px;
        cursor: pointer;
        transition: 0.3s ease;
    }
    .more-btn:hover{
        background: #7B3931;
        color: #ffffff; 
    }
    .ql-toolbar.ql-snow {
    border-radius: 6px 6px 0 0;
    background: #f8f9fa;
}
.ql-container.ql-snow {
    border-radius: 0 0 6px 6px;
    min-height: 100px;
}
.content-field {
    margin-bottom: 1.5rem;
}
.section-label{
    color: brown;
font-weight: 400;
}
.section-label-btn{
    color: Black;
font-weight: 600;
}
.site-row-avatar {
    width: 150px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.rich-text-display p {
    margin: 0 0 10px 0;
}
.rich-text-display p:empty,
.rich-text-display p:has(br:only-child) {
    display: none;
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 45px;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #666;

    cursor: pointer;
}

.toggle-password-ad {
    position: absolute;
    right: 0px;
    top: 0%;
    transform: translateY(-0%);
    width: 30px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
      z-index: 5;
}

.input-group .form-control#password,
.input-group .form-control#confirm_password {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.toggle-password:hover {
    color: #323fcc;
    border-color: orange;
}

.toggle-password i {
    font-size: 14px;
}

/* loader */
.button-loader {
    display: none;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: buttonSpin 0.7s linear infinite;
    vertical-align: middle;
}

button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

@keyframes buttonSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* ==========================================================
   ABOUT US SECTIONS
========================================================== */
.rich-editor {
    min-height: 180px;
    background: #fff;
}

.rich-editor.ql-container {   /* no space — same element */
    height: auto !important;
    min-height: 140px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0 0 6px 6px;
}

.rich-editor.ql-toolbar,           /* in case it's ever placed here */
#about-description-editor + .ql-toolbar,  /* won't match, toolbar comes BEFORE, see note below */
.col-12.mb-3 > .ql-toolbar {       /* target via the shared parent instead */
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px 6px 0 0;
    z-index:10;
}

.rich-editor .ql-editor {
    min-height: 140px;
    max-height: 400px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
}

#short_description_editor{
    min-height: 80px;
    height: 80px;
}

#sections-container {
    width: 100%;
}

.section-card {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    overflow: visible;
}

/* Section Header */

.section-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.section-number {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #005295;
}

/* ==========================================================
   DELETE SECTION BUTTON
========================================================== */

.delete-section {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    padding: 0 !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    border: 1px solid #dc3545;
    border-radius: 6px;
    background: #fff;
    color: #dc3545;

    cursor: pointer;
    flex-shrink: 0;
}

.delete-section:hover {
    background: #dc3545;
    color: #fff;
}

.delete-section i {
    font-size: 14px;
    margin: 0;
}

/* ==========================================================
   SECTION FORM ELEMENTS
========================================================== */

.section-card .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.section-card .form-control {
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================
   SECTION IMAGE UPLOAD
========================================================== */


.section-upload-box {
    position: relative;
    width: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 2px dashed #ced4da;
    border-radius: 8px;
    background: #f8f9fa;

    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
}

.section-upload-box:hover {
    border-color: #005295;
    background: #f5f9fc;
}

.section-preview {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    border-radius: 6px;
}

.section-filename {
    margin-top: 8px;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================
   SECTION UPLOAD ACTIONS
========================================================== */

.section-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.section-actions button {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

/* ==========================================================
   SECTION QUILL EDITOR
========================================================== */

.section-editor {
    width: 100%;
    min-height: 180px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.section-editor .ql-toolbar {
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
    border-radius: 6px 6px 0 0;
}

.section-editor .ql-container {
    width: 100%;
    min-height: 140px;
    box-sizing: border-box;
    border-radius: 0 0 6px 6px;
}

.section-editor .ql-editor {
    min-height: 140px;
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================
   ADD SECTION BUTTON
========================================================== */

#add-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 22%;
    margin-top: 4px;
    margin-left: auto;
    background-color: #843f38;
    border: 1px solid #f39c12;
    color: #fff;
}

#add-section:hover {
    background-color: #c86055;
    border-color: #c86055;
    color: #fff;
}
/* ==========================================================
   ABOUT US FORM CARD
========================================================== */

.form-section-card {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.form-section-card .row {
    position: relative;
    width: 100%;
}

/* Prevent columns from overflowing */

.form-section-card .col-md-6,
.form-section-card .col-12 {
    min-width: 0;
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .section-card {
        padding: 15px;
    }

    .section-card-header {
        margin-bottom: 15px;
    }

    .section-editor {
        min-height: 160px;
    }

    .section-editor .ql-editor {
        min-height: 120px;
    }

    .section-upload-box {
        min-height: 150px;
    }

}

    /* ==========================================================
   WEBSITE SELECT2
========================================================== */
/* ==========================================================
   WEBSITE SELECT2
========================================================== */

/* Original select is hidden by Select2 */
/* ==========================================================
   WEBSITE SELECT2
========================================================== */

#oursite_id + .select2-container {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Select2 main box */
#oursite_id + .select2-container .select2-selection--single {
    height: 38px !important;
    min-height: 38px !important;

    border: 1px solid #ced4da !important;
    border-radius: 6px !important;

    padding: 0 12px !important;
    margin: 0 !important;

    background: #fff !important;
    box-sizing: border-box !important;
}

/* Selected text */
#oursite_id + .select2-container
.select2-selection--single
.select2-selection__rendered {
    line-height: 36px !important;

    padding-left: 0 !important;
    padding-right: 25px !important;

    color: #212529 !important;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#oursite_id option:disabled {
    color: #999;
    background-color: #f1f1f1;
}

/* Arrow */
#oursite_id + .select2-container
.select2-selection--single
.select2-selection__arrow {
    height: 36px !important;
    top: 0 !important;
    right: 8px !important;
}

/* Search field */
.select2-container--default
.select2-search--dropdown
.select2-search__field {
    width: 100%;
    padding: 7px 10px;

    border: 1px solid #ced4da;
    border-radius: 5px;
    outline: none;
    box-sizing: border-box;
}

.select2-container--default
.select2-search--dropdown
.select2-search__field:focus {
    border-color: #005295;
}

/* Dropdown */
.select2-dropdown {
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
    overflow: hidden;
}

/* Hover option */
.select2-container--default
.select2-results__option--highlighted[aria-selected] {
    background-color: #005295;
    color: #fff;
}

/* Selected option */
.select2-container--default
.select2-results__option[aria-selected="true"] {
    background-color: #e9f2fa;
    color: #005295;
}

/* ==========================================================
   SEARCH INPUT
========================================================== */

.select2-container--default
.select2-search--dropdown
.select2-search__field {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #ced4da;
    border-radius: 5px;

    padding: 7px 10px;
    outline: none;
}

.select2-container--default
.select2-search--dropdown
.select2-search__field:focus {
    border-color: #005295;
}

/* ==========================================================
   DROPDOWN
========================================================== */

.select2-dropdown {
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
    overflow: hidden;
}

/* Highlighted option */
.select2-container--default
.select2-results__option--highlighted[aria-selected] {
    background-color: #005295;
    color: #fff;
}

/* Selected option */
.select2-container--default
.select2-results__option[aria-selected="true"] {
    background-color: #e9f2fa;
    color: #005295;
}

/* ==========================================================
   FORM GROUP FIX
========================================================== */

#oursite_id + .select2-container + .text-danger {
    margin-top: 5px !important;
}

/* Prevent Bootstrap/global CSS from adding spacing */
#oursite_id + .select2-container::after {
    display: none !important;
}

/* listing design */
.table-list .table {
    table-layout: auto;
    width: 100%;
}

.table-list .table .col-fit {
    width: 1%;
    white-space: nowrap;
}

.table-list .table .col-wrap {
    word-break: break-word;
}

.product-action-column {
    white-space: nowrap;
}

.product-action-column .action-btn {
    display: inline-block;
    margin: 2px;
}

/* about-us-preview section design */
.disabled-select-wrapper {
    cursor: not-allowed !important;
}

.disabled-select-wrapper select:disabled {
    pointer-events: none !important;
}
.variant-card-img{
    height: 150px;
    width: 100%;
    object-fit: contain;
    display: block;
}
/* About us preview page */

 body.preview-body {
            font-family: 'Segoe UI', Roboto, Arial, sans-serif;
            background: #ffffff;
            color: #333;
        }
 /* ==========================================================
       ADMIN PREVIEW BAR
    ========================================================== */

        .preview-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #fff;
            color: #fff;
            padding: 10px 20px;
            font-size: 14px;
            margin-bottom: 20px;
        }

        .preview-bar a {
            color: #ffd35a;
            text-decoration: none;
            font-weight: 600;
        }

        /* ==========================================================
       ADMIN FIELD LABELS
       Small tags overlaid on / attached to each dynamic block so
       the admin can tell which DB field is which while previewing.
    ========================================================== */

        .field-label-wrap {
            position: relative;
        }

        .field-label {
            position: absolute;
            top: 8px;
            left: 8px;
            z-index: 5;
            background: rgba(0, 0, 0, 0.75);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 4px 10px;
            border-radius: 4px;
            pointer-events: none;
        }

        /* For blocks where an overlay doesn't make sense (plain text
       areas), use an inline tag above the content instead. */
        .field-label-inline {
            display: inline-block;
            background: rgba(0, 0, 0, 0.75);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 3px 8px;
            border-radius: 4px;
            margin-top: 16px;
            margin-bottom: 12px;

        }

        /* preview about us page */
        .preview-bar {
            background: #1a1a1a;
            color: #fff;
            padding: 10px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 13px;
        }

        .preview-bar span {
            opacity: 0.75;
        }

        .preview-bar a {
            color: #843f38;
            text-decoration: none;
            font-weight: 600;
        }

        .preview-bar a:hover {
            text-decoration: underline;
        }

        /* ==========================================================
       BANNER
    ========================================================== */
        .banner-frame {
            margin: auto;
            width: 97%;
            border-radius: 8px;
            border: 1px solid #6d2f2f;
            padding: 5px;  
        }

        .banner {
            position: relative;
            height: 280px;
            width:100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #fff;
            background-color: #7c8aa5;
            background-size: cover;
            background-position: center;       
            border-radius: 6px;
            overflow: hidden;
        }

        .banner::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(rgba(130, 58, 55, 0.38));
            border-radius: 6px;   
        }

        .banner-content {
            position: relative;
            z-index: 1;
        }

        .banner h1 {
            font-size: 48px;
            font-weight: 800;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            text-align: center;
        }

        .breadcrumb {
            display: block !important;
            margin-top: 10px;
            font-size: 14px;
            opacity: 0.95;   
            text-align: center !important;         
        }

        .breadcrumb a {
            color: #fff;
            text-decoration: none;
        }

        .breadcrumb .current {
            font-weight: 700;
        }

        /* ==========================================================
       INTRO
    ========================================================== */

        .intro-wrap {
            max-width: 1200px;
            margin: 60px auto;
            padding: 0 24px;
            display: flex;
            gap: 48px;
            align-items: flex-start;
            flex-wrap: wrap;
        }

        .intro-image {
            flex: 0 0 420px;
            max-width: 100%;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        }

        .intro-image img {
            width: 100%;
            height: 200%;
            object-fit: cover;
            display: block;
        }

        .intro-text {
            flex: 1;
            min-width: 280px;
        }

        .intro-text h2 {
            color: #7a2b2b;
            font-size: 26px;
            font-weight: 800;
            letter-spacing: 0.02em;
            margin-bottom: 18px;
            text-transform: uppercase;
        }

        .intro-text .about-description {
            color: #3a5a8a;
            font-size: 15px;
            line-height: 1.8;
        }

        .intro-text .about-description p {
            margin-bottom: 14px;
        }

        /* ==========================================================
       SECTIONS (Mission / Vision / Value style cards)
    ========================================================== */
    .about-sections-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 24px;
    width: 100%;
        max-width: 1100px;   /* NEW — caps total width so 3 cards + gaps center as one block */
    margin: 0 auto 50px; 
    margin-bottom : 50px;
}

.about-section-card-wrap {
    position: relative;
    width: 340px;
    flex: 0 0 320px;
}

.about-section-number-badge {
    position: absolute;
    top: 0;
    left: 45%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 2px solid #999;
    border-radius: 6px;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    z-index: 2;
}

.about-section-card {
    width: 90%;
    height: 480px;
    border: 2px solid #ddd;
    border-radius: 16px;
    padding: 32px 10px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

        .about-section-card .about-section-icon {
            min-width: 160px;
            height: 150px;
            border-radius: 10%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f4f4f4;
            flex: 0 0 auto;
        }

        .about-section-card .about-section-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .about-section-card .about-section-icon .no-image {
            font-size: 34px;
            color: #bbb;
        }

        .about-section-card h3 {
            font-size: 36px;
            font-weight: 800;
            margin: 18px 0 16px;
            color: #1a1a1a;
            flex: 0 0 auto;
            overflow-wrap: anywhere;
              display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            overflow: hidden;
        }

        .about-section-card .about-section-description {
            font-size: 14px;
            line-height: 1.7;
            color: #000;
            overflow-y: auto;
            overflow-wrap: break-word;
            flex: 1 1 auto;
            width: 100%;
        }

        .about-section-card .about-section-description::-webkit-scrollbar {
    width: 2px;
            }

            .about-section-card .about-section-description::-webkit-scrollbar-thumb {
                background: #ccc;
                border-radius: 10px;
            }

           .about-section-card .about-section-description::-webkit-scrollbar-track {
                background: transparent;
            }

        .about-section-card .about-section-description p {
            margin-bottom: 8px;
        }

        .about-no-sections {
            text-align: center;
            color: #999;
            padding: 40px 0;
            max-width: 1200px;
            margin: 0 auto 60px;
        }

        @media (max-width: 768px) {
    .about-sections-wrap {
        gap: 30px 16px;
        padding: 0 16px;
    }

    .about-section-card-wrap {
        width: 100%;
        max-width: 420px;   /* comfortable width instead of fixed 340px */
        flex: 0 0 auto;
    }

    .about-section-number-badge {
        left: 50%;          /* center properly instead of the odd 45% offset */
        padding: 5px 14px;
        font-size: 11px;
    }

    .about-section-card {
        width: 100%;
        height: 420px;       /* shorter than desktop's 480px */
        padding: 28px 12px 20px;
    }

    .about-section-card .about-section-icon {
        min-width: 110px;
        height: 110px;
    }

    .about-section-card h3 {
        font-size: 26px;
        margin: 14px 0 10px;
    }

    .about-section-card .about-section-description {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 400px) {
    .about-section-card-wrap {
        max-width: 100%;    /* fill nearly the full screen on very small phones */
    }

    .about-section-card {
        height: 400px;
    }
}

        /* ==========================================================
   PAGE HEADER BAR (title + action buttons)
========================================================== */

        .page-header-bar {
            max-width: 1500px;
            margin: 10px 0 12px;
            padding: 0 24px;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 16px;
        }

        .page-header-bar h1 {
            font-size: 28px;
            font-weight: 800;
            color: #1a1a1a;
            text-shadow: none;
        }

        .page-header-bar .page-subtitle {
            font-size: 24px;
            font-weight: 600;
            color: #000;
            margin-top: 4px;
        }

        .page-header-actions {
            display: flex;
            gap: 10px;
        }

        .preview-btn-action {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 700;
            text-decoration: none;
            border: none;
            cursor: pointer;
        }

        .preview-btn-action-2 {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 20px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 700;
            text-decoration: none;
            border: none;
            cursor: pointer;
        }

        .btn-back-list {
            background:  #843f38;
            color: #fff;
        }

        .btn-back-list:hover {
            background: #c86055;
            color: #fff;
        }

        .btn-edit-action {
            background: #2f9e6e;
            color: #fff;
        }

        .btn-edit-action:hover {
            background: #268758;
            color: #fff;
        }

        .btn-back-action {
            background: #8a8f98;
            color: #fff;
        }

        .btn-back-action:hover {
            background: #75797f;
            color: #fff;
        }      

        /* ==========================================================
   DETAIL CARD (image box + label/value table)
========================================================== */

        .detail-card {
            max-width: 1200px;
            margin: 24px auto 60px;
            padding: 24px;
            border: 1px solid #e2e2e2;
            border-radius: 10px;
            display: flex;
            gap: 32px;
            align-items: flex-start;
            flex-wrap: wrap;
        }

        .detail-image-col {
            flex: 0 0 320px;
            text-align: center;
        }

        .detail-image-box {
            border: 1px solid #7a2b2b;
            border-radius: 8px;
            overflow: hidden;
            padding: 6px;
        }

        .detail-image-box img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 4px;
            display: block;
        }

        .detail-image-box .no-image {
            width: 100%;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #bbb;
            font-size: 34px;
            background: #f7f7f7;
        }

       .detail-image-caption {
            margin-top: 10px;
            font-size: 14px;
            font-weight: bold;
            color: #555;
        }

        .detail-table {
            flex: 1;
            min-width: 280px;
            border: 1px solid #e2e2e2;
            border-radius: 8px;
            overflow: hidden;
        }

        .detail-row {
            display: flex;
            border-bottom: 1px solid #eee;
        }

        .detail-row:last-child {
            border-bottom: none;
        }

        .detail-label {
            flex: 0 0 220px;
            padding: 16px 20px;
            font-weight: 700;
            color: #1a1a1a;
            background: #fafafa;
            border-right: 1px solid #eee;
        }

        .detail-value {
            flex: 1;
            padding: 16px 20px;
            color: #333;
            line-height: 1.6;
        }

        .detail-value p {
            margin-bottom: 14px !important;
        }

        @media (max-width: 767px) {
            .detail-card {
                flex-direction: column;
            }

            .detail-row {
                flex-direction: column;
            }

            .detail-label {
                border-right: none;
                border-bottom: 1px solid #eee;
            }
        }



        /* ==========================================================
       MOBILE
    ========================================================== */

        @media (max-width: 767px) {

            .banner {
                height: 200px;
            }

            .banner h1 {
                font-size: 32px;
            }

            .intro-wrap {
                margin: 36px auto;
                gap: 24px;
            }

            .intro-image {
                flex: 1 1 100%;
            }
        }

/* certificate checkbox styling */
      .form-check-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: 2px solid #c86055;
}

.form-check-input:checked {
    background-color: #6a994e;
    border-color: #386641;
}

.form-check-input:focus {
    border-color: #386641;
    box-shadow: 0 0 0 0.10rem #a7c957;
}

.form-check-input:checked:focus {
    border-color: #386641;
    box-shadow: 0 0 0 0.10rem #a7c957;
}

/* certificate sucess tooltip */
    .checkbox-success-tooltip {
        position: absolute;
        background: #67b792;
        color: #fff;
        font-size: 12px;
        padding: 5px 9px;
        border-radius: 4px;
        white-space: nowrap;
        z-index: 9999;
        animation: tooltipFade 2s ease forwards;
        pointer-events: none;
    }

    .checkbox-success-tooltip::after {
        content: "";
        position: absolute;
        top: 50%;
        left: -5px;
        transform: translateY(-50%);
        border-width: 5px 5px 5px 0;
        border-style: solid;
        border-color: transparent #9ce1c1 transparent transparent;
    }

    @keyframes tooltipFade {
        0% {
            opacity: 0;
            transform: translateY(-50%) translateX(5px);
        }

        15% {
            opacity: 1;
            transform: translateY(-50%) translateX(0);
        }

        80% {
            opacity: 1;
        }

        100% {
            opacity: 0;
        }
    }
/* certificate sucess tooltip end */

/* dashboard style */
.dashboard-stat-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 150px;
    padding: 24px;

    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);

    transition: all 0.25s ease;
}

.dashboard-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
}


/* Text */

.stat-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #50575d;

    margin-bottom: 8px;
}

.stat-value {
    margin: 0;

    font-size: 32px;
    font-weight: 700;

    color: #212529;
}

.stat-label {
    display: block;

    margin-top: 6px;

    font-size: 12px;
    color: #8a8f98;
}


/* Icon */

.stat-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(245, 130, 32, 0.12);
    color: #843f38;

    font-size: 28px;
}

.stat-icon i {
    line-height: 1;
}

/* logo upload box in Oursite module */
#logo-upload-box {
    background-color: #e9ecef;
    border: 1px dashed #94a3b2;
}

#logo2-upload-box {
    background-color: #e9ecef;
    border: 1px dashed #94a3b2;
}

#logo-preview {
    background-color: #b3bfcb;
    padding: 12px;
    border-radius: 8px;
}

#logo2-preview {
    background-color: #b3bfcb;
    padding: 12px;
    border-radius: 8px;
}

/* logo style end */
.sidebar-wrapper {
    display: flex !important;
    flex-direction: column;

}

.sidebar-wrapper nav {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.all-items {
    flex: 1;
}

.logout {
    margin-top: auto;
}

/* sidebar scroller */
.sidebar-wrapper::-webkit-scrollbar {
    width: 6px;
}
.sidebar-wrapper::-webkit-scrollbar-thumb {
    background-color: #ffff;
    border-radius: 3px;
}
.sidebar-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-wrapper::-webkit-scrollbar {
        width: 6px;
    }
    .sidebar-wrapper::-webkit-scrollbar-thumb {
        background-color: #ffffff;
        border-radius: 3px;
    }
    .sidebar-wrapper::-webkit-scrollbar-thumb:hover {
        background-color: #e6e6e6;
    }
    .sidebar-wrapper::-webkit-scrollbar-track {
        background: transparent;
    }
    /* Firefox */
    .sidebar-wrapper {
        scrollbar-width: thin;
        scrollbar-color: #ffffff transparent;
    }

/* end */
/* select2 clear button style */
.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    padding-left: 12px !important;
    padding-right: 30px !important;
}

.select2-container .select2-selection--single .select2-selection__clear {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    width:5% !important;
    background-color : #3b3939 !important;
}

//for parent input styling 
/* Select2 - Bootstrap 5 style */
.select2-container--default .select2-selection--single {
    height: 38px !important;
    min-height: 38px !important;

    background-color: #964444 !important;
    border: 15px solid #dee2e6 !important;
    border-radius: 0.375rem !important;

    display: flex !important;
    align-items: center !important;

    box-shadow: none !important;
}

/* Selected text */
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    color: #212529 !important;
    line-height: 1.5 !important;
    padding-left: 0.75rem !important;
    padding-right: 2rem !important;
}

/* Arrow */
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 8px !important;
}

/* Focus */
.select2-container--default.select2-container--focus
.select2-selection--single,
.select2-container--default.select2-container--open
.select2-selection--single {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
    outline: 0 !important;
}

/* Dropdown */
.select2-container--default .select2-dropdown {
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
}

/* Search box inside dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    outline: none !important;
}

/* Highlighted option */
.select2-container--default
.select2-results__option--highlighted[aria-selected] {
    background-color: #0d6efd !important;
    color: #fff !important;
}

/* select all button */
.select-all-btn {
    padding: 4px 12px;
    font-size: 0.8rem;
    width: 100px !important;
    white-space: nowrap;
}

/* add product swell code */
.spec-row .remove-spec-row {
        height: 38px;
    }
     .swal-actions-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 10px !important;
        width: auto !important;
    }
    .swal-actions-row button.swal-btn-sm {
        display: inline-block !important;
        width: auto !important;
        flex: 0 0 auto !important;
        padding: 6px 18px !important;
        font-size: 0.9rem !important;
        min-width: 100px !important;
        margin: 0 !important;
    }

    /* permission form styling */
    .permission-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    accent-color: #386641;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

.col-md-3 .text-muted {
    display: block;
    margin-left: 28px;
    
}

.select-all-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.select-all-wrapper .form-check-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
}

.blue-badge{
    
    background-color: #7191b6;
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* permission action */
.role-action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.description-preview {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 420px
  }

  .website-link {
    color: #0d6efd;
    font-weight: 500;
    text-decoration: none;
    word-break: break-word
  }

  .website-link:hover {
    text-decoration: underline
  }
/* blog page design */
 .compact-action-btn{
        display:inline-flex !important;
        align-items:center;
        justify-content:center;
        width:auto !important;
        min-width:0 !important;
        padding:.32rem .7rem !important;
        font-size:.8rem !important;
        line-height:1.2 !important;
    }
    .form-actions-left{ display:flex; justify-content:flex-start; align-items:center; gap:.5rem; }

    .upload-box{
        position:relative;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:6px;
        min-height:170px;
        padding:14px;
        overflow:hidden;
        cursor:pointer;
        text-align:center;
        background:#fafafa;
        border:1.5px dashed #ccc;
        border-radius:10px;
    }
    .upload-box:hover, .upload-box:focus{ border-color:#6d1220; background:#fdf7f6; outline:none; }
    .upload-box .upload-preview{ max-width:100%; max-height:410px; border-radius:6px; object-fit:cover; }
    .upload-box i.bi-upload{ font-size:1.6rem; color:#999; }
    .upload-box .upload-file-name{ font-size:.8rem; color:#777; word-break:break-all; }
    .upload-actions{ position:absolute; top:8px; right:8px; display:none; gap:6px; }
    .btn-upload-replace{
        display:flex;
        align-items:center;
        justify-content:center;
        width:30px;
        height:30px;
        padding:0;
        color:#4a0c16;
        background:#fff;
        border:0;
        border-radius:50%;
        box-shadow:0 2px 6px rgba(0,0,0,.2);
    }
    .btn-upload-replace:hover{ color:#fff; background:#4a0c16; }
//In permision for  Hide button style
  .hide-wrapper {
    padding: 6px 12px;
    border-radius: 6px;
    background-color: #fff3cd;
    border: 1px solid #d00000;
}

.hide-wrapper .form-check-label {
    color: black;
    font-weight: 600;
    cursor: pointer;
}

.hide-wrapper .form-check-input {
    border-color: #000;
}

.hide-wrapper .form-check-input:checked {
    background-color: #d00000;
    border-color: #d00000;
}

.property-pair .d-flex {
    align-items: center;
}
.property-pair .remove-property-pair {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    border-radius: 10%;
    margin-bottom: 5px;
}
.property-pair label.form-label {
    flex: 0 0 auto;
    margin-bottom: 0;
}
/* dashboard card link styling */
.dashboard-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* permission child permission styling */

    .sub-permissions-box {
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 6px;
        padding: 10px 14px;
    }
    .sub-permissions-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
        padding-bottom: 6px;
        border-bottom: 1px solid #e2e2e2;
    }
    .sub-permissions-title {
        font-size: 13px;
        font-weight: 600;
        color: #555;
    }
    .sub-select-all-wrapper label {
        font-size: 12px;
        margin-left: 4px;
    }
    .sub-permissions-row {
        display: flex;
        flex-wrap: wrap;
        gap: 18px;
    }
    .sub-permission-item {
        min-width: 110px;
    }

/* DASHBORD NEW CARDS */
.website-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none !important;
    border: 1px solid #e9ecef;
    transition: all 0.15s ease;
    text-decoration: none !important;
    cursor: pointer;
}

.website-item:hover {
    border-color: #843f38;
    background: rgba(132, 63, 56, 0.04);
}

.website-item-active {
    background: rgba(132, 63, 56, 0.08) !important;
    border-color: #843f38 !important;
}

.website-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.website-item-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f0ee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #50575d;
    flex-shrink: 0;
}

.website-item-active .website-item-avatar {
    background: #843f38;
    color: #ffffff;
}

.website-item-name {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    color: #212529;
}

.website-item-domain {
    font-size: 12px;
    margin: 2px 0 0;
    color: #50575d;
}

.website-item i.bi-chevron-right {
    font-size: 16px;
    color: #adb5bd;
}

.website-item-active i.bi-chevron-right {
    color: #843f38;
}

.website-stat-tile {
    background: #faf7f6;
    border-radius: 12px;
    padding: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.website-stat-label {
    font-size: 12px;
    color: #000000;
    margin: 0;
}

.website-stat-value {
    font-size: 26px;
    font-weight: 700;
    margin: 4px 0 0;
    color: #212529;
}

.website-stat-icon {
    width: 35px;
    height: 37px;
    border-radius: 10px;
    background: rgba(132, 63, 56, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
    color: #843f38;
}

.website-item.loading {
    opacity: 0.6;
    pointer-events: none;
}

.enquiry-bar-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.enquiry-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.enquiry-bar-label span:first-child {
    color: #212529;
    font-weight: 500;
}

.enquiry-bar-label span:last-child {
    color: #50575d;
    font-weight: 600;
}

.enquiry-bar-track {
    background: #f1f0ee;
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
}

.enquiry-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.4s ease;
}

/* Rotating color scale for top products dashbaord*/
.enquiry-bar-fill.color-1 {
    background: #4caf6d;
}

.enquiry-bar-fill.color-2 {
    background: #ff8686; 
}

.enquiry-bar-fill.color-3 {
    background: #99beec; 
}

.enquiry-bar-fill.color-4 {
    background: #c28fcd; 
}

.enquiry-bar-fill-muted {
    background: #9a625c;
}
.enquiry-others-link {
    font-size: 12px;
    color: #843f38;
    text-decoration: underline;
    margin-left: 8px;
}

.enquiries-view-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    background: transparent;
    color: #843f38 !important;
    font-size: 13px;
    border: 1.5px solid #843f38;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.enquiries-view-all:hover {
    background: #9a625c;
    color: #ffffff !important;
}
.enquiries-breakdown-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529 !important;
    margin-right: 319px; 
    
}
.dashboard-section-heading {
    font-size: 1.75rem !important;
    font-weight: 500;
    color: #212529;
}
.action-btn.product-copy-btn {
    background: #82487b;
    border-color: #82487b;
}

.action-btn.product-copy-btn:hover {
    background: #82487b;
    border-color: #82487b;
}
/* scrolbar code */
.col-lg-5 .dashboard-stat-card,
.col-lg-7 .dashboard-stat-card {
    display: flex !important;
    flex-direction: column !important;
    height: 450px !important;
    overflow: hidden;          
    box-sizing: border-box;
}

#website-list,
#enquiries-breakdown-list {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;   
    overflow-x: hidden;       
    overflow-y: auto !important;
    padding-right: 10px;    
}

#website-list::-webkit-scrollbar,
#enquiries-breakdown-list::-webkit-scrollbar {
    width: 5px;             
}
#website-list::-webkit-scrollbar-thumb,
#enquiries-breakdown-list::-webkit-scrollbar-thumb {
    background-color: #c9a29d;
    border-radius: 10px;
}
#website-list::-webkit-scrollbar-track,
#enquiries-breakdown-list::-webkit-scrollbar-track {
    background: transparent;
}

#website-list,
#enquiries-breakdown-list {
    scrollbar-width: thin;
    scrollbar-color: #c9a29d transparent;
}
/* end scrolbar */

/* ---------- Trash module design---------- */
.trash-card {
    height: 100%;
    border: 1px solid #e5e2dc;
    border-left: 5px solid #9a625c;
    border-radius: 12px;
    background: #fff;
}
.trash-card .trash-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.trash-card .site-title { color: #8B4513; font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.trash-card .site-domain {
    display: block;
    max-width: 100%;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    margin-top: 3px;
}
.trash-card .trash-card-inner > div:first-child { min-width: 0; flex: 1; }
.trash-card a.site-domain,
.trash-card a.site-domain:visited { color: #4c93bf !important; font-size: 12px; }

.trash-card a.site-domain:hover,
.trash-card a.site-domain:focus {
    color: #437acb !important;
    text-decoration: underline;
}
.trash-card .trash-count-box { text-align: right; }
.trash-card .trash-count { font-size: 2.4rem; font-weight: 500; line-height: 1; }
.trash-card .trash-label { font-size: 0.85rem; color: #6c757d; margin-top: 4px; }
.trash-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 2px solid #9a625c;
    border-radius: 8px;
    color: #222;
    font-size: 0.9rem;
    text-decoration: none;
     background: #ffffff;
    padding: 5px;
    font-size: 12px;
}
.trash-view-btn:hover {
    background: #c1bcbc;
    color: #231c1c;
    border-color: #c7bcbc;
 }
.trash-btn-disabled { opacity: 0.5; pointer-events: none; cursor: not-allowed; }

/*  Trash restore popup  */
.swal-restore-text {
    font-size: 0.95rem !important;
    line-height: 1.5;
    color: #555;
}
.swal-restore-text a.swal-site-link,
.swal-restore-text a.swal-site-link:visited {
    color: #0d6efd !important;
    text-decoration: none !important;
    font-weight: 600;
}
.swal-restore-text a.swal-site-link:hover {
    color: #0a58ca !important;
}
/* End */
