 /* Global Styles */

/* ------------------------------- */

body {
    padding-top: 100px;
    background-color: #f8f8f8;
}

@media(min-width: 768px) {
    body {
        padding-top: 50px;
    }
    .footer-bar {
        display: none;
    }
}
/*footer menu for mobile*/
.footer-bar {
    display: none;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #ccc;
    padding: 10px 0;
    z-index: 1000;
}

    .footer-bar a {
        color: #000;
        text-decoration: none;
        font-size: 12px;
        text-align: center;
        flex-grow: 1;
    }

        .footer-bar a i {
            display: block;
            font-size: 14px;
            margin-bottom: 5px;
        }

@media (max-width: 767px) {
    .footer-bar {
        display: flex;
    }
    /*for arrow to top of page on index*/
    .arrow {
        margin-bottom: 15%;
    }
    /*for social network icons on index page*/
    .flex_div_links{
        margin : 5px !important;
        padding : 5px !important;
    }
    /*for search side bar*/
    .sidebar-search{
        padding : 50% 15px 15px !important;
    }
    /*for btn in contact up*/
    .btn-reg-msg{
        margin-bottom : 30% !important;
    }
/*for register ad panell in registerad page*/
/* Custom styles to enhance mobile layout */
    .panel {
        margin-bottom: 50px;
    }

    .register-button {
        width: 100%; /* Make buttons full width on mobile */
        margin-bottom: 10px;
    }

    /*.panel-body {
        padding: 20px;
    }*/

    .h4-size {
        font-size: 16px; /* Adjust font size for mobile */
    }
}
/* Wrappers */

/* ------------------------------- */

#wrapper {
    width: 100%;
}

#page-wrapper {
    padding: 0 15px;
    min-height: 568px;
    background-color: #fff;
}

@media(min-width:768px) {
    #page-wrapper {
        position: inherit;
        margin: 0 250px 0 0;
        padding: 0 30px;
        min-height: 1300px;
        border-left: 1px solid #e7e7e7;
    }
}

/* Navigation */

/* ------------------------------- */

/* Top Right Navigation Dropdown Styles */

.navbar-top-links li {
    display: inline-block;
    margin-top : 15px;
}

.navbar-top-links li:last-child {
    margin-right: 15px;
}

.navbar-top-links li a {
    padding: 5px;
    min-height: 30px;
    color : #444;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: auto;
    left: 0px;
}

/* Sidebar Menu Styles */

.navbar-static-side ul li {
    border-bottom: 1px solid rgba(0, 0, 0, .075);
}
/*side menu position*/
.sidebar-search {
    padding: 60px 15px 15px ;
}

.arrow {
    float: right;
    font-size: x-large;
    color: #444;
    border: 1px ;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.5);
}

.fa.arrow:before {
    content: "\f104";
}

.active > a > .fa.arrow:before {
    content: "\f107";
}

.nav-second-level li,
.nav-third-level li {
    border-bottom: none !important;
}

.nav-second-level li a {
    padding-right: 37px;
}

.nav-third-level li a {
    padding-left: 52px;
}

@media(min-width:768px) {
    .navbar-static-side {
        z-index: 1;
        position: absolute;
        width: 290px;
        margin-top: 5px;
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

@media(max-height:600px) and (max-width:767px) {
    .sidebar-collapse {
        max-height: 300px;
        overflow-y: scroll;
    }
}

@media(max-height:400px) and (max-width:767px) {
    .sidebar-collapse {
        max-height: 200px;
        overflow-y: scroll;
    }
}

/* Buttons */

/* ------------------------------- */

.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

/* Pages */

/* ------------------------------- */

/* Dashboard Chat */

.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #B3A9A9;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
    color: #777777;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.chat-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}

/* Login Page */

.login-panel {
    margin-top: 25%;
}
.logo_div {
    background: url('/images/logo/logo.webp') center center no-repeat;
    width: 100px;
    height: 50px;
    margin-top: 15px;
    margin-left: 50px;
    background-size: 90px 50px;
    display: block; /* مهم برای لینک های بلاکی */
    text-indent: -9999px; /* متن داخل حذف میشه */
    color: transparent; /* متن دیده نشه */
}
    .logo_div:hover,
    .logo_div:focus {
        background-color: transparent !important; /* جلوگیری از سفید شدن */
        color: transparent !important;
    }
 
/* Flot Chart Containers */

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

/* DataTables Overrides */

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: transparent;
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50,50,50,.5);
}

/* Circle Buttons */

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.show-grid [class^="col-"] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee !important;
}

.show-grid {
    margin: 15px 0;
}
.fix-pos{
    position:fixed;
}
.fix-div{
    z-index:1;
    width: 100%;
}
.scrol-div{
    z-index: 0;
}
.li-btn-padding {
    padding: 10px;
}
.padding-loc-head {
    padding: 10px;
}
.scrol-loc-y {
    overflow-y: scroll;
    height: 250px;
}
.search-box {
    display: block;
    width: 30%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.arrow {
    position: fixed;
    bottom: 30px;
    left: 20px;
}
.center-div {
    width: 40%;
    height: 20%;
    position: fixed;
    top: -100px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.register-button {
    width: 65%;
    margin: 10px;
    padding: 10px;
}

.reduced-width {
    width: 95%;
}
.col-lg-pad-right {
    padding-right: 8%;
}
.txt-pad-right {
    padding-right: 20px;
    line-height: 30px;
}
.thumbnail {
    width: 75px;
    height: 75px;
    margin: 2px;
}
.btn-remove {
    /*position: absolute;*/
    display: block;
    top: 75px;
    margin: 4px;
    padding: 4px;
    background-color: transparent;
    width: 70px;
    height: 30px;
    font-size: smaller;
}
.image-upload {
    width: 100px;
    height: 100px;
    border: 2px dashed #ccc;
    position: relative;
    margin-bottom: 10px;
    cursor: pointer;
    margin: 5px;
    border-radius: 4px;
    background-image: url('/images/defaults/camera.webp');
    background-color : transparent;
    background-position: center;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
}
.dark-mode .image-upload {
    background-color: #2a2a2a !important;
    background: url('/images/defaults/dark-camera.webp') center center no-repeat;
    background-size: 40px 40px;
}

    .image-upload:hover {
        border-color: #999;
    }

    .image-upload img {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 4px;
    }
.delete-icon-container {
    width: 30px;
    height: 30px;
    overflow: hidden;
    background-color: #ddd;
    border-radius: 3px;
    z-index: 1;
    bottom: 5px;
    left: 5px;
    position: absolute;
    text-align : center;
}
.delete-icon {
    position: absolute;
    font-size: 18px;
    color: #444;
    cursor: pointer;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.thumbnail-container {
    display: inline-block;
    margin: 2px;
    position: relative;
}

/*modals setting for location and category*/

.modal-backdrop {
    opacity: 0.3; /* Adjust the value for the level of transparency (0 to 1) */
    background-color: #999; /* Optional: Set a background color for the overlay */
}
/* Common styling for both lists */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Styling for the first list */
.list-one {
    background-color: #ffffff; /* Set background color to white */
}

    .list-one li {
        padding: 10px;
        border-bottom: 1px solid #ddd;
        cursor: pointer;
        text-decoration: none;
    }

/* Styling for the second list */
.list-two {
    display: none;
    background-color: #ffffff; /* Set background color to white */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a box shadow */
}

    .list-two li {
        padding: 15px;
    }

#categoryModal .list-one li a {
    color: #777; /* Set your desired text color for list-one in categoryModal */
    text-decoration: none;
}

#categoryModal .list-two li lable {
    color: #555; /* Set your desired text color for list-two in categoryModal */
    text-decoration: none;
}

#locationModal .list-one li a {
    color: #777; /* Set your desired text color for list-one in locationModal */
    text-decoration: none;
}

#locationModal .list-two li label {
    color: #555; /* Set your desired text color for list-two in locationModal */
    text-decoration: none;
}
/**/
.btn-text-muted{
    color: #999;
    font-weight: 400;
    cursor : pointer;
}
.btn-text {
    font-weight: 400;
    cursor: pointer;
}
/* set lable color-profile category form city when created input create form demnad form supplier pages*/
.label-text-sel {
    display: inline-block;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-image: none;
    border: 1px solid ;
    color:#777;
    font-weight: 400;
    border-radius: 0px 4px 4px 0px;
}
.label-text-sel-round{
    border-radius : 4px;
}
/* set lable close button category form city when created input create form demnad form supplier pages*/
.label-text-cls {
    display: inline-block;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid;
    border-right: none;
    color: #777;
    font-weight: 400;
    border-radius: 4px 0px 0px 4px;
}
.pad-label {
    padding: 6px 12px;
}
.ads {
    padding: 10px;
    margin: 15px 5px;
    height: 280px;
    width: 250px;
}

.my-ads {
    padding: 10px;
    margin: 15px 5px;
    height: 320px;
    width: 250px;
}
/*for status text over my sypplier or my demands index*/
.status-text
{
    padding: 4px 10px;
    height : 25px;
}
.detailes-status-text {
    padding: 4px 10px;
    height: 35px;
}
.status-accept {
    background-color: #179d36;
    color: white;
}
.status-reject {
    background-color: #d1e11a;
    color: black;
}
.status-unread {
    background-color: #727272;
    color: white;
}
.status-expire {
    background-color: #d9534f;
    color: white;
}
.status-info {
    background-color: #047ce3;
    color: white;
}
.item-container {
    display: flex;
    flex-direction: column;
}
.txt-red {
    color: #d9534f;
}
/*end*/
.item-title {
    text-align: right;
    width: 200px;
    white-space: nowrap; /* Prevent the text from wrapping to the next line */
    overflow: hidden; /* Hide any content that overflows the container */
    text-overflow: ellipsis; /* Display an ellipsis (...) to indicate text overflow */
    padding-bottom: 2px;
}

.item-image {
    width: 200px;
    height: 170px;
    border-radius: 14px;
}
.item-image-default {
    border-radius: 14px;
    align-content: center;
    max-width: 100%; /* Ensure the image doesn't exceed its original size */
    max-height: 100%; /* Ensure the image doesn't exceed its original size */
    object-fit: contain; /* Maintain aspect ratio while fitting within the container */
}
.img-container {
    margin-top: 5px;
    overflow: hidden;
    width: 180px;
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 14px;
}
/*for icons in mobile in index page of user*/
.icon-container {
    margin-top: 5px;
    overflow: hidden;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 14px;
}
.empty-icon-container {
    margin-top: 5px;
    width: 200px;
    height: 200px;
    display: flex;
}
       
/*padding of ads in rows from right*/
.ads-pad-rows {
    padding-right: 50px;
}
.row-ad-detail {
    width: 99%;
    margin-left: 10px;
    margin-right: 10px;
}
/*report ads modal body: defined for preventing conflict with suggestion modal-body*/
.reportmodal-body {
    position: relative;
    padding: 20px;
}
.list-select {
    background-color: #ffffff;
    padding: 10px;
    margin : 5px;
    cursor: pointer;
    border: solid thin;
    border-radius: 4px;
    border-color: lightgrey;
}
    
.list-lable {
    padding: 5px;
    margin: 5px;
    font-weight: 500;
}
/*offer modal body list */
/* اسکرول لیست کسب و کار‌ها */
.scrollable-list {
    max-height: 260px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
}

/* آیتم‌ها */
.sup-list-select {
    list-style: none;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 6px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: #fff;
}

    /* حالت hover */
    .sup-list-select:hover {
        background-color: #f9f1f4;
    }

    /* حالت انتخاب‌شده (صورتی) */
    .sup-list-select.active {
        background-color: #e6f7ee; /* سبز خیلی ملایم */
        border-right: 4px solid #28a745; /* سبز بوت‌استرپ */
    }

    /* جلوگیری از بلاک کلیک توسط عناصر داخلی */
    .sup-list-select * {
        pointer-events: none;
    }
/**/
/* Common styling for both lists */
.modal-custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
/* CSS for hover effect */
    .modal-custom-list li:hover {
        opacity: 0.5; /* Adjust the opacity value as needed */
        cursor: pointer;
    }
/* CSS for selected item */
    .modal-custom-list .selected {
        opacity: 1;
    }
/*for marking ads*/
.mark-icon {
    border: none;
    background: none;
}
    .mark-icon i {
        font-size: 25px;
    }
}
/*for help texts in ads details pages*/
.help-text {
    text-align: justify;
    line-height: 30px
}
/*for thumbnil images in ads details pages*/
.ads-thumbnail {
    width:80px; 
    height:80px; 
    border-radius: 4px;
    cursor: pointer;
}
/*for buttons in ads detail pages buttons*/
.a-form-button {
    margin: 0 5px;
}
/*for suggestion option buttons*/
.suggest-option {
    width: 250px;
}
/*for modal pages in suggestion ads*/
.modal-suggestion-page {
    display: none;
}
/*message text area in offer message and report ads*/
.offer-message {
    width: 100%;
    resize: none;
}
/*for button of create ads on main menu of the website*/
.btn-border{
    border-radius : 20px !important;
}
/*for user messages*/
.read-message
{
    background-color : #f7f7f7;
}
.msg {
    padding : 8px;
    height: 50px;
    width: 90%;
    border: 1px solid #c9c5c5;
    border-radius : 4px;
}
.msg-rmv-icon-pad{
    padding-top : 10px;
}
/*for display category name and cityname in edit pages to adhere side by side */
.lbl-name {
    flex-grow: 0; /* Prevent the input from growing */
    width: auto; /* Allow the input to shrink to fit content */
}
.flx-div {
    display: flex !important;
}
.padding-right{
    padding-right : 7px;
}
.section-header {
    padding-bottom: 9px;
    margin: 10px 0 10px;
    border-bottom: 1px solid #eee;
}
/*help and rules page text style*/
.txt-style {
    padding-right: 20px;
    line-height: 30px;
    text-align: justify;
}
.initial-txt-pad-right {
    padding-right: 8%;
}
.help-txt-style {
    padding-right : 12%;
    line-height: 30px;
    text-align: justify;
}
.help-img-size {
    width: 80%;
    height: 80%;
}
.help-img-size-30 {
    width: 30%;
    height: 30%;
}
.help-img-size-50 {
    width: 50%;
    height: 50%;
}
/*end*/
/*btns of user confirmation*/
.confirm-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.btn-flex {
    flex: 0 0 48%;
}
/*end*/
.contact-txt-style {
    padding-right: 5%;
    padding-left : 5%;
    line-height: 30px;
}
/*for side menu scroll bar*/

.category-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px; /* Adjust padding for better spacing */
}

    .category-toggle .arrow-icon {
        margin-right: 10px; /* Adjust for spacing */
        transition: transform 0.3s ease;
    }

    .category-toggle a {
        display: flex;
        align-items: center;
    }

        .category-toggle a i {
            margin-right: 5px; /* Adjust for spacing between icon and title */
        }

div.navbar-static-side .sidebar-collapse-menu {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 25px;
}

    div.navbar-static-side .sidebar-collapse-menu::-webkit-scrollbar {
        width: 3px;
    }

    div.navbar-static-side .sidebar-collapse-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    div.navbar-static-side .sidebar-collapse-menu::-webkit-scrollbar-thumb {
        background: #888;
    }

        div.navbar-static-side .sidebar-collapse-menu::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
 /*end*/
 /*banner image in details page*/
.ads-img-banner {
    width: 100%;
    height: auto;
    border-radius: 4px;
    max-height: 400px !important; /* Optional: Set a max height to avoid excessively tall images */
    object-fit: contain; /* Ensures the image covers the container without stretching */
}

.ads-img-banner-default {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    border: 2px dotted #999;
    margin-top: 50px;
    margin-bottom: 20px;
}/*end*/

/*end*/
/*modal li of details page*/
/* Regular appearance for list items */
.modal-custom-list li {
    transition: opacity 0.3s, background-color 0.3s !important;
}

    /* Dimmed appearance on hover */
    .modal-custom-list li:hover {
        opacity: 0.5 !important;
    }

    /* Red tint for selected item */
    .modal-custom-list li.selected {
        background-color: rgba(255, 0, 0, 0.1) !important; /* Adjust opacity and color as needed */
    }
/*end*/
/*spinner container style*/
.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none; /* Initially hidden */
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*end*/
/*h1 tags of each page*/
.h1-size {
    font-size: x-large !important;
}
.h2-size {
    font-size: large !important;
}
.h3-size {
    font-size: larger !important;
}
.h4-size {
    font-size: medium !important;
}
.h5-size {
    font-size: small !important;
}
.h6-size {
    font-size: smaller !important;
}
.btn-resend:disabled {
    color: gray !important;
    background-color: transparent !important;
    border: none !important;
    pointer-events: none;
    opacity: 0.8;
    cursor: not-allowed;
}
.btn-resend-active {
    color: blue !important;
    background-color: transparent !important;
    border: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer;
}
/*show phone number in demand details*/
.hidden-phone-number {
    display: none;
}
.large-checkbox {
    transform: scale(1.5); /* Adjust the scale factor as needed */
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
    margin-right: 10px; /* Adjust spacing as needed */
    padding-left: 50px;
}
/*delete image button */
.no-button {
    border: none;
    background: none;
}
/*for full screen modal*/
.fullscreen-icon {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

    .fullscreen-modal img {
        max-width: 90%;
        max-height: 90%;
    }

.close, .prev, .next {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.close {
    top: 10px;
    right: 10px;
}

.prev, .next {
    top: 50%;
    transform: translateY(-50%);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}
/*for ads detail text to break down in lines*/
.ad-description p {
    white-space: pre-wrap;
    line-height: 2;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}
/*for submit button spinner and lock*/
.spinner-icon {
    display: none;
    margin-right: 6px;
}

.btn-loading .submit-icon {
    display: none;
}

.btn-loading .spinner-icon {
    display: inline-block;
}
/*user feedback for offer*/
.feedback-buttons button {
    margin-left: 5px;
}

.feedback-success {
    margin-top: 8px;
    font-size: 14px;
}
.feedback-buttons {
    display: flex;
    gap: 8px;
    margin-top : 10px;
}

.feedback-btn {
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

    /* مفید */
    .feedback-btn.positive:hover {
        background-color: #e6f7ec;
        border-color: #28a745;
        color: #28a745;
        transform: translateY(-1px);
    }

    /* غیر مفید */
    .feedback-btn.negative:hover {
        background-color: #fdecea;
        border-color: #dc3545;
        color: #dc3545;
        transform: translateY(-1px);
    }

    /* کلیک */
    .feedback-btn:active {
        transform: scale(0.97);
    }

    /*registerad page setting for buttons*/
/* ارتفاع کل صفحه */
.full-height {
    height: 100vh;
    width: 100%;
}

/* وسط‌چین عمودی و افقی */
.center-wrapper {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

/* پنل */
.register-panel {
    max-width: 480px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 14px;
}

/* دکمه‌ها */
.buttons-wrapper {
    margin-top: 25px;
}

    /* دسکتاپ: کنار هم */
    .buttons-wrapper .modern-btn {
        min-width: 200px;
        margin: 10px;
        padding: 14px 24px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

/* موبایل: زیر هم */
@media (max-width: 768px) {
    .buttons-wrapper .modern-btn {
        display: block;
        width: 100%;
        margin: 10px auto;
        -webkit-tap-highlight-color: transparent;
    }
}


/* متن قوانین */
.rules-text {
    margin-top: 25px;
    font-size: 13px;
    color: #777;
}
/* انیمیشن هاور */


/* دسکتاپ */
.modern-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,.2);
}

/* موبایل */
.modern-btn:active,
.modern-btn:focus {
    transform: scale(0.96);
    box-shadow: 0 6px 15px rgba(0,0,0,.25);
    -webkit-tap-highlight-color: transparent;
}
    /**/
    /*blog image detail*/
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 15px 0;
}
/*blog image style*/
.blog-img {
    float: left;
    max-width: 45% !important;
    height: auto !important;
    margin: 0 30px 15px 20px !important;
    border-radius: 8px !important;
}
.blog-text {
    line-height: 2;
    font-size: 16px;
}
/*responsive tag for supplier*/
.insta-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #1D9BF0;
    cursor: default;
    transition: all 0.3s ease;
}

    .insta-verified-badge:hover {
        transform: translateY(-1px);
    }

.verified-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #1D9BF0;
    color: white;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(29, 155, 240, 0.3);
    transition: all 0.3s ease;
}

.insta-verified-badge:hover .verified-check {
    box-shadow: 0 3px 8px rgba(29, 155, 240, 0.4);
    transform: scale(1.05);
}