:root {
    --body-background-color: #f6f7ff;
    --theme-background-color: #2b3991;
}

.card-header {
    border-bottom: 0px solid rgba(0, 0, 0, 0.125) !important;
}

.login-box .card,
.register-box .card {
    border-radius: 15px;
}

/* .login-box,
.register-box {
    width: 480px;
} */

.login-box-msg {
    font-weight: 500;
    /* Weight */
    font-size: 22px;
    /* Size */
    line-height: 100%;
    /* Line height */
    letter-spacing: 0;
    /* Letter spacing */
    vertical-align: middle;
}

.login-box-msg-2 {
    font-weight: 400;
    /* Weight */
    font-size: 15px;
    text-align: center;
    /* Size */
}

.settings-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.gear-icon {
    font-size: 18px;
    color: #E7E7E7;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.settings-menu {
    position: absolute;
    top: 56px;
    right: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 6px;
    width: 180px;
    display: none;
}

.settings-menu a {
    display: flex;
    align-items: center;
    color: black;
    text-decoration: none;
    font-size: 14px;
    padding: 6px;
    border-radius: 5px;
    transition: background 0.2s;
}

.settings-menu a:hover {
    background-color: var(--light-green);
    color: #fff;
    text-decoration: none;
}

.settings-menu a i {
    margin-right: 10px;
}

/* .form-control {
    height: 45px;
} */
/* .btn-primary {
    height: 52px;
} */
/* .btn {
    padding: 0.695rem 0.85rem;
} */
aside.main-sidebar.sidebar-dark-primary.elevation-4 {
    top: 8px !important;
    left: 5px !important;
    border-radius: 20px !important;
    background-color: var(--theme-background-color);
}

.main-sidebar {
    height: 98vh;
    overflow-y: unset;
    z-index: 1038;
}

[class*="sidebar-dark-"] .sidebar a {
    color: #ffffff;
}

.brand-link .brand-image {
    float: none;
    max-height: 74px;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #ffffff !important;
    color: #000;
}

img.img-size-50.img-circle {
    margin-top: -9px;
    width: 36px;
    height: 36px;
}

.dropdown-menu-lg {
    max-width: 300px;
    min-width: 280px;
    padding: 0;
    border-radius: 15px;
}

.table-header {
    background-color: #e1e1e1;
}

/* Smaller toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

/* Hide default checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Slider track */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

/* Slider knob */
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

/* When checked */
.switch input:checked+.slider {
    background-color: #28a745;
}

.switch input:checked+.slider:before {
    transform: translateX(20px);
}

.btn {
    padding: -0.305rem 0.85rem !important;
}

.modal-footer {
    border-top: 0px solid #e9ecef !important;
}

.modal-content {
    border-radius: 20px !important;
}

.circular-close {
    width: 40px;
    /* Width of the button */
    height: 40px;
    /* Height of the button */
    border-radius: 50%;
    /* Make it circular */
    background-color: red;
    /* Red background */
    color: white;
    /* White text color */
    border: none;
    /* Remove border */
    display: flex;
    /* Use flexbox to center the content */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    font-size: 20px;
    /* Font size for the close icon */
    cursor: pointer;
    /* Change cursor to pointer on hover */
    transition: background-color 0.3s;
    /* Smooth transition for hover effect */
}

.modal-header .close,
.modal-header .mailbox-attachment-close {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: red;
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-header .close,
.modal-header .mailbox-attachment-close {
    padding: 0rem !important;
    margin: 0rem 0rem -1rem auto !important;
}

button.btn.btn-primary.btn-block {
    border-radius: 12px;
}

.input-button-group {
    display: flex;
    /* Use Flexbox for layout */
    align-items: center;
    /* Center items vertically */
}

.form-control {
    flex: 1;
    /* Allow the input to take up available space */
    margin-right: 10px;
    /* Space between input and buttons */
}

.circular-button {
    width: 40px;
    /* Width of the button */
    height: 40px;
    /* Height of the button */
    border-radius: 50%;
    /* Make it circular */
    border: none;
    /* Remove border */
    display: flex;
    /* Use flexbox to center the content */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    font-size: 20px;
    /* Font size for the icon */
    cursor: pointer;
    /* Change cursor to pointer on hover */
    transition: background-color 0.3s;
    margin: 4px;
    /* Smooth transition for hover effect */
}

.plus-button {
    background-color: #ff9500;
    /* Yellow background for plus button */
    color: white;
    /* White text color */
}

.minus-button {
    background-color: black;
    /* Black background for minus button */
    color: white;
    /* White text color */
}

.circular-button:hover {
    opacity: 0.8;
    /* Slightly reduce opacity on hover */
}

label.switch.region_add {
    float: inline-end;
}

div#inputContainer {
    width: 100%;
}

div#cityinputContainer {
    width: 100%;
}

a.btn.btn-primary.btn-block {
    float: inline-end;
    background-color: var(--theme-background-color);
    width: 40%;
    padding-left: inherit;
}

.fa .fa-plus .plus-icon {
    margin: 5px !important;
}

.profile-image-container {
    width: 220px;
    height: 220px;
    border: 2px solid #e4dddd;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    margin: 0 auto;
    float: left;
}

.profile-image {
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    display: flex;
    /* Center content */
    justify-content: center;
    /* Center content horizontally */
    align-items: center;
    /* Center content vertically */
    position: relative;
    /* Position for absolute child elements */
    text-align: center;
    /* Center text */
    background-color: #f8f2f8;
}

.cloud-icon {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: auto;
}

.profile-image p {
    margin: 0;
    font-size: 14px;
    /* color: #007bff; */
    position: relative;
    top: 10px;
}

.click-text {
    font-size: 17px;
    color: blue;
}

/* .second_p{
    margin: 0;
    font-size: 14px;
    color: #007bff;
} */

.form-row {
    display: flex;
    /* Use flexbox for horizontal layout */
    align-items: flex-start;
    /* Align items at the start */
}

.form-group {
    margin-bottom: 15px;
    /* Space between input fields */
}

/*  */

.content-header h1 {
    font-size: 21px;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--theme-background-color);
    border-color: var(--theme-background-color);
}

.btn-custom {
    padding: 10px 0px;
}

.btn-default {
    background-color: #f8f2f8 !important;
    border-color: #f8f2f8;
}

.table-hover tbody tr:hover {
    color: #212529;
    background-color: #efefef;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #ffffff !important;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #efefef !important;
}

.page-link {
    background: #343434;
    color: white;
}

.button-position {
    position: absolute;
    top: 7px;
    right: 8px;
    padding: 8px 15px !important;
    z-index: 9;
}

div.dt-container .dt-search input {
    border: 1px solid #efefef !important;
    margin-left: 13px !important;
    height: 40px;
    width: 40%;
    padding: 0px 36px !important;
    border-radius: 9px !important;
    margin-bottom: 20px !important;
}

.dt-container .dt-search input {
    background: url("../../img/Vector.svg") no-repeat left;
    background-size: 15px;
    background-position: 10px;
}

.dt-info {
    float: left;
    padding-left: 13px;
    margin-top: 10px;
}

.dt-paging nav {
    margin: 10px 4px;
}

div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.current:hover {
    padding: 3px 12px;
    border-radius: 3px;
}

.btn-primary {
    color: #fff;
    background-color: var(--theme-background-color) !important;
    border-color: var(--theme-background-color) !important;
}

.content-wrapper {
    background-color: #ffffff !important;
}

body {
    background: var(--body-background-color);
}

.content-header {
    background: var(--body-background-color);
}

.content-wrapper>.content {
    background: var(--body-background-color);
}

.main-header {
    border-bottom: 0px solid #dee2e6;
    z-index: 1034;
    border-radius: 12px;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 500;
}

.add-heading {
    border-bottom: 1px solid #dee2e6 !important;
    padding: 17px 20px !important;
}

.add-heading .card-title {
    font-weight: 700;
}

.sub-heding h6 {
    font-weight: 700 !important;
    font-size: 17px;
    margin-bottom: 14px;
}

/* Overlay background */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    z-index: 9999;
}

/* Center loader container */
#loader-overlay .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/* Loader spin animation */
@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (min-width: 993px) {

    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper,
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer,
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
        margin-left: 273px;
    }
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: var(--theme-background-color) !important;
}

.nav-pills .btn-tab {
    background: white !important;
    color: #3f3f3f;
    border: 1px solid #cccccc !important;
    padding: 6px 14px !important;
    font-weight: 600 !important;
}

.card-header {
    background: white !important;
}

.nav-pills .btn-tab:hover {
    color: #000000;
}

.profile-view {
    width: 100%;
    height: 150%;
}

.card-title {
    margin-bottom: 0px !important;
}

.pdf_icon {
    width: 46px;
}

.top-back-btn {
    position: absolute;
    right: 8px;
    top: 16%;
}

.status-btn {
    padding: 1px 0px 3px !important;
}

.delete-icons {
    color: #d31f34 !important;
}

.edit-icon {
    color: var(--theme-background-color) !important;
}

.permissions-section {
    margin-bottom: 40px;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    border-color: #d7b1d7;
    background-color: #d7b1d7;
}

body {
    background: #f6f7ff !important;
}

.content-wrapper {
    background: #f6f7ff !important;
}

/* Custom CSS for Admin User Management Form */

.admin-container {
    padding: 10px 24px 0 24px;
    min-height: 100vh;
}

/* Header Styles */
.admin-header {
    width: 100%;
    height: 60px;
    border-radius: 10px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
    background-color: #fff;
}

.menu-btn {
    border: none;
    background: none;
}

.menu-icon {
    width: 28px;
    height: 28px;
}

.welcome-text {
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-left: 20px;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.admin-label {
    color: #000;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.settings-btn {
    border: none;
    background: none;
}

.settings-icon {
    width: 22px;
    height: 22px;
}

/* Page Title */
.page-title {
    color: #323232;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
}

/* Form Card */
.form-card {
    border-radius: 15px;
    box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);
    border: none;
}

.form-header {
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 17.6px;
    padding: 19px 20px;
    border-bottom: 1px solid #dcdcdc;
    background-color: #fff;
    border-radius: 15px 15px 0 0;
}

/* Form Elements */
/* Password Input */
.password-input-container {
    position: relative;
}

.password-field {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    padding: 0;
    width: 20px;
    height: 20px;
}

/* Image Upload */
.image-upload-container {
    display: flex;
    height: 50px;
    padding: 7px 7px 6px 12px;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    background-color: #fff;
}

.upload-placeholder {
    color: #797979;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.upload-btn {
    width: 160px;
    height: 37px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background-color: #e6e6e6;
    border: none;
    color: #323232;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 21px;
}

.upload-icon {
    width: 16px;
    height: 16px;
}

.eye-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0px;
    right: 3px;
}

.form-control {
    height: 42px;
}

.form-select {
    height: 42px;
}

/* Responsive Design */

@media (max-width: 640px) {
    .image-upload-container {
        height: 45px;
        padding: 12px;
    }

    .upload-btn {
        width: 120px;
        height: 32px;
    }

    .uploadafile {
        font-size: 11px;
    }

    .custom-select {
        font-size: 13px;
        height: 45px;
        padding: 12px;
    }
}

/* master page css start */
/* Category Sidebar */
.category-sidebar {
    margin-bottom: 2rem;
}

.category-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-tab {
    background-color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-tab:hover,
.category-tab:focus {
    background-color: var(--medium-gray);
}

.category-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Status Toggle */
.status-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-switch {
    width: 48px;
    height: 24px;
    background-color: var(--success-color);
    border-radius: 31px;
    cursor: pointer;
}


@media (max-width: 991.98px) {
    .category-sidebar {
        margin-bottom: 1rem;
    }

    .category-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
    }

    .category-tab {
        flex: 1;
        min-width: 120px;
        padding: 10px 8px;
        font-size: 12px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {

    .nav-item,
    .category-tab,
    .table-header,
    .table-cell {
        border: 1px solid;
    }

    .nav-item.active {
        border: 2px solid var(--text-color);
    }
}

.card {
    border: 0px solid rgba(0, 0, 0, 0.125) !important;
}

.form-content {
    padding: 24px;
}

.image-upload-section {
    margin-bottom: 40px;
}

.main-image-container {
    width: 100%;
    height: 250px;
    flex-shrink: 0;
}

.gallery-images-container {
    flex: 1;
}

.image-label {
    color: #323232;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.8px;
    margin-bottom: 10px;
}

.upload-area {
    display: flex;
    width: 100%;
    height: 188px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    background-color: #fff;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
}

.upload-content {
    display: flex;
    width: 100%;
    height: 170px;
    padding: 6px 6px 6px 6px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background-color: #f8f2f8;
    flex-direction: column;
    object-fit: contain;
}

.upload-multiple-icon {
    width: 150px;
    height: 90px;
    margin-bottom: 10px;
    text-align: center;
}

.upload-text {
    width: 149px;
    color: #323232;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.8px;
}

.upload-text .browse-link {
    color: #2b3991;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.gallery-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-upload {
    width: 19%;
    height: 220px;
}

.section-title {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    text-transform: uppercase;
    margin-bottom: 29px;
}

.textarea-field {
    height: 90px;
    padding: 8px 11px;
    resize: vertical;
}

.star {
    color: orange;
    font-size: 23px;
    margin: 12px 10px 0px 0px;
}

.star-table {
    color: orange;
    font-size: 15px;
    margin: 12px 10px 0px 0px;
}

.star-table-gray {
    color: rgb(235, 235, 235);
    font-size: 15px;
    margin: 12px 10px 0px 0px;
}

.document-card {
    border: 1px solid #cccccc;
    display: flex;
    flex-direction: column;
    padding: 15px 10px 10px;
    margin: 0px 6px 0px 0px;
    border-radius: 5px;
    justify-content: center;
}

.document-card i {
    font-size: 33px;
    margin-bottom: 7px;
    text-align: center;
}

.btn-rented {
    background: #09b5d4 !important;
    color: white !important;
}

.btn-yellow {
    background: #c0bb19 !important;
    color: white !important;
}

.btn-sold {
    background: #c554ff !important;
    color: white !important;
}


/* Responsive Design */
@media (max-width: 991px) {
    .gallery-upload {
        width: 48%;
        height: 185px;
    }

    .image-upload-section .row {
        flex-direction: column;
        gap: 20px;
    }

    .main-image-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .gallery-grid {
        justify-content: center;
    }

    .action-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .gallery-upload {
        width: 80%;
        height: 220px;
        display: flex;
        justify-content: center;
    }

    .form-header {
        padding: 12px;
    }

    .form-content {
        padding: 12px;
    }

    .image-upload-section {
        margin-bottom: 24px;
    }

    .upload-area {
        width: 100%;
        max-width: 280px;
        height: 200px;
    }

    .upload-content {
        width: 100%;
        height: 180px;
    }

    .gallery-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .section-title {
        margin-bottom: 16px;
    }

    .map-placeholder {
        margin-bottom: 24px;
    }
}

/* Subscription Plans Container */
.subscription-plans-container {
    border-radius: 10px;
    background-color: #fff;
    padding: 17px;
    overflow: hidden;
    margin-bottom: 24px;
}

.pricing-cards-wrapper {
    margin-bottom: 24px;
}

/* Subscription Cards */
.subscription-card {
    border-radius: 10px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    background-color: #fff;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}



.plan-header {
    margin-bottom: 40px;
}

.plan-title-section {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.plan-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 10px;
}

.plan-name {
    color: #000;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.plan-description {
    color: #323232;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
}

.pricing-section {
    text-align: center;
    color: #000;
}

.price-display {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.subscription-price {
    position: absolute;
    top: 5px;
    right: 5px;
}

.billing-period {
    font-size: 12px;
    font-weight: 400;
}



.renew-button {
    background-color: #2b3991;
    color: #fff;
}

.renew-button:hover {
    background-color: #1e2a6b;
}

.purchase-button {
    background-color: #2b3991;
    color: #fff;
}

.purchase-button:hover {
    background-color: #1e2a6b;
}

/* Subscription Dates */
.subscription-dates {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 14px;
    color: #323232;
    font-weight: 400;
    text-align: center;
    gap: 20px;
}

/* Features Section */
.features-section {
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    padding: 15px 20px;
    font-size: 14px;
    color: #323232;
    font-weight: 400;
}

.features-title {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.features-description-main {
    margin: 0 0 15px 0;
}

.features-description-secondary {
    margin: 0 0 15px 0;
}

.features-description-tertiary {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .subscription-plans-container {
        padding: 16px;
    }

    .subscription-card {
        margin-bottom: 40px;
    }

    .plan-title-section {
        flex-wrap: wrap;
    }

    .subscription-dates {
        flex-direction: column;
        gap: 10px;
    }

    .features-section {
        padding: 15px 20px;
    }

    .custom-pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .subscription-dates {
        font-size: 12px;
    }
}


/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .subscription-card {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .action-button,
    .pagination-link {
        transition: none;
    }
}

.chat-container {
    height: 100%;
}



.chat-box {
    height: 400px;
    overflow-y: auto;
    padding: 15px;
}

.message-chats-input {
    height: 70px;
    border-top: 1px solid #ccc;
}

.message-chats {
    margin-bottom: 15px;
    display: flex;
}

.message-chats.sent {
    text-align: right;
    width: 100%;
    display: block;
}

.message-chats .text {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 60%;
}

.message-chats.received .text {
    background-color: #e9ecef;
}

.message-chats.sent .text {
    background-color: #0d6efd;
    color: white;
}

.flag-icons {
    float: right;
    padding: 8px;
    font-size: 12px;
    border-radius: 23px;
    border: 1px solid #dde1f5;
}

.btn-send-arrow {
    padding: 12px 17px !important;
    background: orange;
    color: #ffffff !important;
}

.chat-time {
    font-size: 12px;
    margin-right: 10px;
}

.avtar_img {
    width: 40px;
    height: 40px;
    border-radius: 26px;

}

/* .model_size{
        width: 400px !important;
    } */
.select2-container--default .select2-selection--multiple {

    border: 1px solid #ced4da !important;

}

.select2-container .select2-selection--multiple {
    min-height: 41px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {

    margin-left: -1px;
    margin-right: -2px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #2b3991 !important;
    border: 1px solid #aaa !important;
    padding-left: 21px !important;
    max-width: 100%;
    font-size: 14px !important;
    line-height: 26px;
    Color: #ffffff !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    color: #ffffff !important;
}

.select2-container--default .select2-dropdown .select2-search__field:focus,
.select2-container--default .select2-search--inline .select2-search__field:focus {
    outline: 0;
    border: 1px solid transparent !important;
}

.select2-container .select2-search--inline .select2-search__field {
    box-sizing: border-box;
    border: none;
    font-size: 100%;
    margin-top: 8px !important;
    margin-left: 11px !important;
    padding: 0;
    max-width: 100%;
    resize: none;
    height: 25px !important;
    vertical-align: bottom;
    font-family: sans-serif;
    overflow: hidden;
    word-break: keep-all;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
    background-color: #daedff !important;
    color: #fff;
}

@media screen and (min-width: 1250px) and (max-width:1400px) {
    .gallery-upload {
        width: 24%;
        height: 220px;
    }
}

@media screen and (min-width: 1024px) and (max-width:1249px) {
    .gallery-upload {
        width: 30.5%;
        height: 220px;
    }
}

@media screen and (min-width: 994px) and (max-width:1023px) {
    .gallery-upload {
        width: 30.5%;
        height: 220px;
    }

    .upload-text {
        width: 133px;

    }
}

/* Logo container */
.brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.5s ease;
}

/* Add hover background color (optional) */
.brand-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Add hover zoom effect on logo images */
.brand-link img {
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.brand-link:hover img {
    transform: scale(1.1);
    opacity: 0.9;
}

/* Control logo visibility based on sidebar state */
.logo-sm {
    display: none;
}

.logo-lg {
    display: block;
}

body.sidebar-collapse .logo-sm {
    display: block;
}

body.sidebar-collapse .logo-lg {
    display: none;
}

@media (min-width: 992px) {

    .sidebar-mini.sidebar-collapse .main-sidebar,
    .sidebar-mini.sidebar-collapse .main-sidebar::before {
        margin-left: 0;
        width: 5.6rem !important;
    }

    .sidebar-mini.sidebar-collapse .content-wrapper,
    .sidebar-mini.sidebar-collapse .main-footer,
    .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 100px!important;
    }
}

.close,
.mailbox-attachment-close {
    line-height: 0 !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
    height: 40px !important;
    margin-top: 0px !important;
    margin-left: 0px !important;
    padding: 0px !important;
    padding-bottom: 0px !important;
    padding-right: 0px !important;
    align-content: center;
    border: none !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    cursor: default;
    padding-left: 6px !important;
    color: #fff !important;
}

.select2-container--default .select2-selection--multiple {
    padding-bottom: 0px !important;
    padding-right: 0px !important;
}

.upload-content img {
    object-fit: contain !important;
}

.profile-image-container1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    /* fixed width */
    height: 180px;
    /* fixed height */
    border: 2px solid #ddd;
    overflow: hidden;
    /* ensures image stays inside */
    background: #f9f9f9;
    position: relative;
}

.profile-image-container1 .file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* hides the default file input */
    cursor: pointer;
}

.profile-image-container1 .profile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* maintains aspect ratio, fills container */
    display: block;
}

.add-remove-button {
    border-radius: 100% !important;
    padding: 0px 8px 1px !important;
    height: 28px;
    width: 28px;
}

.btn-success-yellow {
    background-color: #FF9500 !important;
    color: white !important;
    border-radius: 50% !important;
}

.btn-danger-black {
    background-color: #000 !important;
    color: white !important;
    border-radius: 50% !important;
}

.subscription-slider {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.subscription-card-wrapper {
    scroll-snap-align: start;
}

.subscription-slider::-webkit-scrollbar {
    height: 8px;
    /* scrollbar height */
    background: #f1f1f1;
    /* track */
}





/* GLOBAL CUSTOM STYLE */

/* card border radius */
.card {
    border-radius: 15px !important;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.card-header {
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
}

/* Table header bg */
.table th {
    background-color: #DBDBDB !important;
}

/* override Bootstrap stripe variable */
.table {
    --bs-table-striped-bg: transparent !important;
}
.table > tbody > tr:nth-of-type(even) > * {
    background-color: #EFEFEF !important;
}
.table > tbody > tr:nth-of-type(odd) > * {
    background-color: transparent !important;
}

/* Changed bottom border color of header */
.table thead th,
.table tbody td {
    border-bottom-color: #DEE2E6 !important;
}

/* filter outline none */
div.dt-container .dt-search input {
    outline: none;
}

/* Global PAGINATION DESIGN */
.dt-paging-nav {
    display: inline-block !important;
    border-radius: 8px !important;
    padding: 6px 8px !important;
}

.dt-paging-button {
    padding: 8px 16px !important;
    margin: 0.8px !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: normal !important;
    cursor: pointer !important;
    text-decoration: none !important;
    border-radius: 0px !important;
    display: inline-block !important;
    background: #343434 !important;
}

.dt-paging-button.current {
    background: #0099FF !important;
    color: #ffffff !important;
    font-weight: normal !important;
    text-decoration: none !important;
}

.dt-paging-button.disabled {
    cursor: not-allowed !important;
}

.dt-paging-button.previous,
.dt-paging-button.next {
    font-weight: normal !important;
    color: #ffffff !important;
}

.dt-paging .previous {
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
}
.dt-paging .next {
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

/* text white always */
button.dt-paging-button {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

@media (max-width: 768px) {
    /* To make search, info & pagination in center */

    .button-position-div {
        display: flex;
        justify-content: center;
    }
    .button-position {
        position: relative;
        margin-bottom: 10px;
    }

    div.dt-container .dt-search input {
        width: auto !important;
    }

    .dt-search {
        text-align: center !important;
    }

    .dt-info {
        width: 100% !important;
        text-align: center !important;
        margin-top: 10px;
    }
    .dt-paging {
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 10px;
    }
}


/* owner dashboard */
/* payments stats card */
.card-shadow {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease;
}

/* Card hover */
.card-shadow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.payment-card {
    background: #fff;
    border-radius: 15px;
    padding: 18px;
    width: 100%;
}

/* Title */
.payment-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c2c2c;
}

/* Row */
.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    border-radius: 10px;
    transition: all 0.25s ease;
}

/* Row hover */
.payment-row:hover {
    background: #f9fafb;
}

/* Left section */
.payment-row .left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
}

/* Amount */
.payment-row .amount {
    font-weight: 600;
    font-size: 18px;
    color: #2c2c2c;
}

/* Icon base */
.payment-card .icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-card .icon svg {
    width: 16px;
    height: 16px;
}

/* Status colors */
.payment-card .success .icon {
    background: #e6f7ee;
    color: #22c55e;
}

.payment-card .warning .icon {
    background: #fff4e5;
    color: #f59e0b;
}

.payment-card .danger .icon {
    background: #fdecea;
    color: #ef4444;
}


/* owner's subscription page */
/* Plans Card (New design) */
.plan-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* HEADER */
.plan-card .plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.plan-card .plan-title {
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
}

/* PRICE */
.plan-card .plan-price {
    text-align: right;
}

.plan-card .plan-price h4 {
    margin: 0;
    font-weight: 800;
    font-size: 26px;
}

.plan-card .plan-price span {
    font-size: 12px;
    color: #888;
}

/* ICON */
.plan-card .plan-icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.plan-card .icon-basic {
    background: #ffe5b4;
    color: #d89b00;
}

.plan-card .icon-premium {
    background: #e0ecff;
    color: #2f6bff;
}

.plan-card .icon-gold {
    background: #fff4d6;
    color: #e0a800;
}

/* DESCRIPTION */
.plan-card .plan-desc {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* FEATURE BOX */
.plan-card .feature-box {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.plan-card .feature-box h6 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* CUSTOM BULLETS */
.plan-card .feature-box ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.plan-card .feature-box li {
    position: relative;
    padding-left: 18px;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.plan-card .feature-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #2f3e9e;
    font-weight: bold;
}

/* CONTENT TEXT */
.plan-card .plan-content {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

/* BUTTON */
.plan-card .plan-btn {
    background: #2f3e9e;
    color: #fff;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    font-weight: 500;
    transition: 0.3s;
    margin-top: auto; /* pushes footer down */
    cursor: pointer;
}

.plan-card .plan-btn:hover {
    background: #25328a;
}

/* FOOTER */
.plan-card .plan-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .plan-card .plan-price h4 {
        font-size: 22px;
    }

    .plan-card .plan-title {
        font-size: 16px;
    }
}
