.breadcrumbs ul {
    margin: 6rem 0 3rem;
}

.mb-3 {
    margin-bottom: 20px;
}

.table-responsive {
    overflow: auto;
}

/************ Layout ****************/
.acc-holder {
    max-width: 120rem;
    margin: auto;
    margin-bottom: 1rem;
}

.acc-holder_content {
    display: flex;
}

.acc-holder.my-auction-sha {
    max-width: 140rem;
}

/************ Sidebar ****************/
.acc-holder_content>div:first-of-type {
    flex-basis: 25%;

    margin-right: 4rem;


}

.acc-holder_content .acc-sidebar_list {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*height: 100%;*/
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    min-height: 42rem;
}

.acc-holder_content .acc-sidebar_list {
    list-style: none;

}



/************ Dashboard [right side] ****************/

.acc-holder_content>div:nth-of-type(2) {
    /*background:tomato;*/
    flex-grow: 1;
    width: 70%;
}


.acc-welcome {
    color: var(--text-gray-color);
    font-size: 1.4rem;

    padding: 0 2rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.acc-welcome>div:nth-of-type(2) {
    max-width: 60rem;
}

.acc-welcome i {
    font-size: 5rem;
    color: var(--primary-color);
}

.acc-informations {
    display: block;
}

.acc-link-desc {
    padding-left: 2rem;
    font-size: 1.4rem;
    color: var(--gray-color)
}


.acc-holder_content>div:nth-of-type(2) section form {
    max-width: 60rem;
}

.acc-holder_content>div:nth-of-type(2) section table {
    /*font-family: Arial, Helvetica, sans-serif;*/
    border-collapse: collapse;
    width: 100%;
}

.acc-holder_content>div:nth-of-type(2) section table tr {
    border-bottom: 1px solid var(--border-color);
}

.acc-holder_content>div:nth-of-type(2) section table th {
    padding: 1rem;
    text-align: left;
    background-color: var(--border-color);
    color: var(--gray-color);
    font-size: 1.4rem;
}

.acc-holder_content>div:nth-of-type(2) section table td {
    font-size: 1.4rem;
    padding: 1rem;
    color: var(--text-gray-color);
}

.change-tab {
    flex-basis: 50%;
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    background: var(--border-color);
}

.active-six {
    background: var(--white-color);
    border-bottom: none;
}


/* Travel Advisor */

.travel-advisor {
    padding: 8rem 0;
    margin-bottom: 6rem;
}

.travel-advisor .holder {
    height: 20rem;
    background-position: center;
    background-size: cover;
    border-radius: 1.5rem;

    display: flex;
    flex-direction: column;
    gap:10px;
    padding: 4rem 6rem;
    color: white;
    font-size: 2rem;
    max-width: 155rem;
    margin: auto;
}

.travel-advisor h2 {
    color: var(--white-color);
    font-size: 2rem;
}

.travel-advisor .holder p {
    width: 30%;
    font-size: 1.8rem;
    font-weight: 200 !important;
}

.travel-advisor .holder a {
    color: var(--white-color);
    font-size: 1.8rem;
    text-decoration: underline;
}

.acc-head {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Checkbox */

div label input {
    margin-right: 100px;
}

#ck-button {
    margin: 4px;
    background-color: #ffffff;
    border: 1px solid #29489A;
    overflow: auto;
    float: left;
    color: #29489A;
}

#ck-button:hover {
    background: #29489A;
    color: #fff;
    transition: 0.3s
}

#ck-button label {
    float: left;
}

#ck-button label span {
    text-align: center;
    padding: 5px;
    display: block;
}

#ck-button label input {
    position: fixed;
    top: -20px;
}

#ck-button input:checked+span {
    background-color: #29489A;
    color: #fff;
}

#ck-button input:checked+span:hover {
    background-color: #fff;
    color: #29489A;
    transition: 0.3s
}

/* Simple cards in account connections page */

.simple-card-holder {
    margin: 10px 0px;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.simple-card {
    padding: 10px;
    display: flex;
    width: 100%;
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.25);
    border-radius: 13px;
    /* flex-direction: column; */
    justify-content: space-between;
    align-items: center;
}

.simple-card .created_date {
    color: #6d6d6d;
    font-size: 1.4rem;
    text-align: center;
}

#simple-card-img {
    width: 70px;
    height: 70px;
    background-size: 70px 70px;
    background-repeat: no-repeat;
    object-fit: cover;
    border-radius: 50%;
}

/* Profile image in personal info */
#profile_img {
    max-width: 100%;
    height: 100%;
    cursor: pointer;
}

/* -------------------------------------------------------------------------- */
/*                             Pending Orders                            */
/* -------------------------------------------------------------------------- */
  .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
        z-index: 999; /* Make sure it's below the cancellationDiv */
        display: none; /* Initially hidden */
    }

    .cancellationDiv {
        position: fixed;
        top: 50%;
        left: 50%;
        background: white;
        border-radius: 5px;
        transform: translate(-50%, -50%);
        box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
        border-bottom: 4px solid #29489a;
        width: 500px;
        max-width: 500px;
        z-index: 1000; /* Make sure it appears above the overlay */
    }

    .cancellationPolicyData table {
        margin: 20px 0px;
        border-bottom: 1px solid #ccccccad;
        padding-bottom: 15px;
        width: 100%;
    }

    .divFooter {
        text-align: center;
        margin-bottom: 20px;
    }

    .confirm-cancel-booking {
        color: var(--white-color);
        font-weight: bold;
        padding: .7rem 1.5rem;
        background: var(--danger-color);
        font-size: 1.4rem;
        border-radius: 2rem;
    } 

    .divFooter .more {
        color: var(--white-color);
        font-weight: bold;
        padding: .7rem 1.5rem;
        background: var(--primary-color);
        font-size: 1.4rem;
    }

    .booking-dates-info{
        font-size:1.4rem;
        padding:1rem;
        color:#0B1215;
    }
    @media (max-width: 512px) {
        .cancellationDiv {
            width: 90%; /* Adjust width for smaller screens */
            max-width: none; /* Remove max-width to allow 90% */
            padding: 10px; /* Add some padding for better aesthetics */
            box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 10px, rgba(0, 0, 0, 0.20) 0px 3px 3px; /* Optional: adjust shadow for smaller screens */
        }

        .pagination-container {
            gap: 2px;
        }
        .ellipsis{
            padding: 6px 5px;
        }
    }


/* -------------------------------------------------------------------------- */
/*                             ACCOUNT CONNECTIONS                            */
/* -------------------------------------------------------------------------- */
.acc-connections-wrapper {
    display: flex;
    flex-direction: column;
}

.acc-connections-wrapper-activities {
    display: flex;
    flex-direction: column;
}


.acc-conn-tabs-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.acc-conn-tabs-wrapper-activities {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.above-button-div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0px;
    margin: 0px;
}

.above-button-div .mt-3 {
    margin-top: 0px;
}


.form-activity {
    display: flex;
    flex-direction: column;
    width: auto;
    gap: 1.5rem;
    height: 100%;
}

.one-conn-tab-btn {
    font-size: 1.6rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    background-color: transparent;
    flex:1;
    justify-content: space-around;
    border: 3px solid transparent;
}

.one-conn-tab-btn-activity {
    font-size: 1.6rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    background-color: #efefef;
    justify-content: space-around;
    border: 3px solid transparent;
}

.form-section-part {
    margin-bottom: 20px;
    /* display: flex;
    flex-direction: column; */
}

.save-changes-activity {
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 1.5rem !important;
    padding: 0.8rem !important;
    width: 40% !important;
    border: none;
    cursor: pointer;
    align-self: center;
    margin-left: 30%;
    margin-top: 3%;
}

.one-conn-tab-btn-active {
    border-bottom: 3px solid var(--primary-color);
}

.acc-connections-wrapper section:not(:first-of-type) {
    display: none;
}


.gray-head {
    color: var(--text-gray-color);
    font-size: 1.6rem;
    font-weight: 400;
}

.status-label{
    text-align: center;
}

.account-main-section{
    margin-top: 15px;
}
#simple-card-text{
    padding: 0px 10px;
}
.simple-card a{
    padding-top: 8px !important;
}

.red-ancher{
    color:var(--danger-color);
    font-size:14px;
    padding: 5px;
    cursor: pointer;
}
.primary-ancher{
    color:var(--primary-color);
    font-size:16px;
    padding: 5px;
    cursor: pointer;
}
.simple-card-holder{
    font-size:14px;
}
.created_date{
    font-size: 14px;
}
.simple-card .name{
    font-size:1.6rem;
}
.font-adjust{
    font-size: 1.4rem !important;
}
.tab-name{
    display: inline;
}

.fav-header{
     display: flex; 
     align-items: flex-start; 
     justify-content: space-between;
}

.fav-filter{
    display: flex; 
    gap: 0.5em
}

.customer-profile-table-header{
   background-color:#EFEFEF !important; 
   font-weight:bold !important;  
   color:#8C8C8C !important;
   font-size: 1.4rem;
}

.customer-profile-table-header td{
   font-size: 1.4rem;
}

.gift-card-status{
    font-size:12px; 
    background-color:#e9c045; 
    padding:2px 4px; 
    border-radius:4px; 
    margin-left:4px;
    display: inline-block;
}

/*********************************************************
        RESPONSIVE
**********************************************************/

@media (max-width:767px) {
    .customer-profile-table-header td{
        font-size: 1.2rem;
    }

    .gift-card-status{
        display: block;
        width: fit-content;
        margin-top:2px;
        margin-left: 0px;
        padding:2px 4px; 
        font-size: 1.1rem;
    }

    /* ==== Community Page ==== */
    .tab-name{
        display: block;
    }
    .one-conn-tab-btn{
        font-size: 12px;
    }
    #simple-card-img{
        width: 40px;
        height: 40px;
    }
    #simple-card-text{
        font-size: 12px;
    }
    .red-ancher{
        font-size:12px;
    }
    .primary-ancher{
        font-size:12px;
    }
    .simple-card-holder{
    font-size:12px;
    }
    .simple-card .created_date{
        font-size: 1.2rem;
    }
    .simple-card .name{
        font-size:1.4rem;
    }
    .breadcrumbs ul li{
        font-size: 1.3rem;
    }

  .confirm-cancel-booking {
        color: var(--white-color);
        font-weight: bold;
        padding: .7rem 1.5rem;
        background: var(--danger-color);
        font-size: 1.2rem;
        border-radius: 2rem;
    } 

    /* ==== Community Page ==== */

    .font-adjust{
        font-size: 1.2rem !important;
    }


    .breadcrumbs ul {
        margin: 3rem 0 1.5rem;
        font-size: 1.2rem;
    }

    .account-main-section{
        margin-top: 0px;
    }


    /* .breadcrumbs ul li:not(:last-of-type) {
        margin-left: 1rem;
    } */

    .acc-holder_content {
        display: block;
    }


    .acc-holder_content>div:first-of-type {
        margin: 0;
        position: relative;
    }

    .acc-holder_content>div:first-of-type>ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--white-color);
        z-index: 3333;
        transform: translateX(-100%);
        transition: transform .3s ease;
    }

    .acc-holder_content>div:first-of-type>ul.show {
        transform: translateX(0);
    }

    #acc-mob-nav {
        cursor: pointer;
        background: var(--primary-color);
        color: var(--white-color);
        padding: 1rem;
        border: 1px solid var(--border-color);
        box-shadow: var(--box-shadow);
        opacity: .8;
        margin-bottom: 2rem;
    }

    #close-acc-nav {
        float: right;
        font-size: 1.3rem;
        display: flex;
        align-items: center;
        color: var(--gray-color);
    }

    .dashboard-text {
        margin-top: 2rem;
    }

    .acc-holder_content>div:nth-of-type(2) {
        width: 95%;
        margin: 0 auto;
    }

    .acc-holder_content>div:nth-of-type(2) section {
        /* padding:1.5rem; */
    }

    .acc-informations article:nth-of-type(1) {
        padding-bottom: 2rem;
        border-bottom: 1px solid var(--border-color);
    }

    .travel-advisor {
        padding: 3rem 0;
    }

    .travel-advisor .holder {
        border-radius: 0;
        padding: 1.5rem;
        height: 35rem;
    }

    .travel-advisor .holder p {
        width: 80%;
    }

    .status-label{
        text-align: left;
        margin-left: 1.2rem;
    }


    .fav-header{
        display: flex; 
        flex-direction: column;
        margin-bottom: 25px;
    }

    .fav-filter{
        display: flex; 
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

    .acc-holder_content>div:nth-of-type(2) section table td {
        padding: 0.3rem;
    }

}

/**************************************************************
ZA ADDRESS BOOK
**************************************************************/
.address-book-body {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.address-book-body .form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: auto !important;
}

.address-book-body .form-group .form-group_label {
    position: absolute;
    top: -1.5rem;
    transform: none;
}

.address-book-body .form-group .btn-danger {
    width: 50%;
}

.address-book-body .add-new-address {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
/************************************************
            Table Functionality
************************************************/
.rTableCell .more {
    color: var(--white-color);
    font-weight: bold;
    padding: .7rem 1.2rem;
    background: var(--primary-color);
    font-size: 1.4rem;
    text-align: center;
    border-radius: 2rem;
}

.rTableCell{
    font-size: 1.4rem;
}


.rTableHead{
    color: #0B1215;
    font-size: 1.4rem;
}


.gift-from-badge {
    font-size: 1.4rem;
    color: #0B1215;
    font-weight: 500;
}

@media (max-width:767px) {
    .rTable {
        padding: 0 1rem;
    }

    .headRow {
        display: none;
    }

    .rTableRow{
        padding-top:10px;
    }

    .rTableCell .more {
    color: var(--white-color);
    font-weight: bold;
    padding: .7rem 1.2rem;
    background: var(--primary-color);
    font-size: 1.2rem;
    text-align: center;
    border-radius: 2rem;
    }

    .gift-from-badge {
        font-size: 1.4rem;
        color: #0B1215;
    }

.p-2{
    padding:0px !important; 
}

}


@media (max-width:992px) {
    .welcome-section {
        background: black;
        background-position: center center;
        height: 550px;
        padding: 0;

    }

    .welcome-text-holder {
        color: #bfbfbf;
        height: 475px;
    }

      .tab-name{
        display: block;
    }
}

@media (min-width:768px) {
    .rTable {
        display: table;
        width: 100%;
        border-collapse: collapse;
    }

    .rTableRow {
        display: table-row;
        border-top: 1px solid #f2f2f2;
        border-bottom: 1px solid #f2f2f2;
    }

    .rTableHeading {
        display: table-header-group;
        background-color: #ddd;
    }

    .rTableCell,
    .rTableHead {
        display: table-cell;
        padding: 1rem;
        vertical-align: middle;
    }

    .rTableHeading {
        display: table-header-group;
        background-color: #ddd;
        font-weight: bold;
    }

    .rTableFoot {
        display: table-footer-group;
        font-weight: bold;
        background-color: #ddd;
    }

    .rTableBody {
        display: table-row-group;
    }

    .imageCart {
        height: 50px;
        width: 80px;
    }

    .purchase-history .rTableCell table {
        font-size: 15px;
    }

    .d-md-none {
        display: none;
    }

    .text-md-center {
        text-align: center;
    }

    .text-md-left {
        text-align: left;
    }

    .text-md-right {
        text-align: right;
    }

}




@media (min-width:768px) and (max-width:1199px) {
    .imageCart {
        height: 50px;
    }

    .acc-informations .headRow,
    .order .headRow,
    .headRow {
        font-size: 14px;
    }

    .rTableRow .rTableCell:nth-of-type(2) p {
        font-size: 14px;
    }

    .rTableCell,
    .rTableHead {
        padding: 3px 2px;
        font-size: 1.2rem;
    }

    .rTableCell .more{
        padding: .5rem 1rem;
        font-size: 1.2rem;
        margin: 1px;
    }
}

.bg-success {
    background-color: var(--green-btn-color) !important;
    display: inline-block;
}

.bg-danger {
    background-color: var(--btn-red-color) !important;
    display: inline-block;
}

.bg-orange {
    background-color: var(--orange-color) !important;
    color: black !important;
    display: inline-block;
}

.m-1 {
    margin: 2px !important;
}
.my-1{
    margin: 2px 1px  !important;
}

.swal-popup-custom,
.swal-text-custom {
    font-size: 16px !important;
}

.swal-button-custom {
    font-size: 14px !important;
}


/* ===== Gift Card listing ===== */
.giftcard-tab {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.giftcard-tab-header {
    background: #f5f5f5;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.giftcard-tab-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    background: #fff;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.giftcard-tab.open .giftcard-tab-body {
    max-height: 1000px;
    padding: 10px 15px;
}

.giftcard-arrow {
    transition: transform 0.3s ease;
}

.giftcard-price {
    margin-left: auto;
    margin-right: 10px;
    padding: 2px 10px;
    background: #a3d9e1;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

.giftcard-tab.open .giftcard-arrow {
    transform: rotate(90deg);
}

/* .gift-from-badge {
    background: #f0f8ff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.9em;
    color: #0B1215;
    border: 1px solid #e0e0e0;
} */

/* ===== Gift Card listing ===== */

/* Pagination */
.pagination-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.pag-btn {
    background-color: white;
    color: #0B1215;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    min-width: 40px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.pag-btn:hover:not(.disabled):not(.active) {
    background-color: #f0f0f0;
}

.pag-btn.active {
    background-color: #000;
    color: white;
    font-weight: bold;
    border-color: #000;
}

.pag-btn.disabled {
    color: #aaa;
    border-color: #eee;
    background-color: #f9f9f9;
    cursor: not-allowed;
}

.ellipsis {
    display: inline-block;
    padding: 6px 12px;
    color: #666;
    font-size: 14px;
}

.rounded-5{
    border-radius: 2rem;
    font-size: 14px;
    font-weight: bold;
}

.text-primary{
    color:var(--primary-color);
}

.recipeint_email{
    color: var(--primary-color);
    font-weight: 500;
}

.block{
    display: block;
}

.mt-5{
    margin-top: 2.5rem;
}

.gift-card-head{
    display: flex;
    justify-content: space-between;
}

.ellipsis {
    padding: 6px 5px;
}

.max-col{
    min-width: 370px;
}
.fw-bold{
    font-weight: bold;
}
/* Small screens (0px to 511px) */
@media (max-width: 511px) {
    .pagination-container {
        gap: 6px;
    }

    .address-book-body .form-group .btn-danger {
        width: 100%;
    }
}

/* Medium and up (512px+) */
@media (min-width: 512px) {
    .pagination-container {
        gap: 2px;
    }
}

@media(max-width: 767px) {
    .address-book-body .form-group .btn-danger {
        width: 100%;
    }

}



@media (min-width: 992px) {
    .acc-informations {
        display: flex;
        padding: 0 2rem;
    }

    .acc-informations article:nth-of-type(1) {
        margin-right: 3rem;
    }

    #acc-mob-nav,
    #close-acc-nav {
        display: none;
    }

    .acc-container{
        padding: 0px 20px;
    }


    .max-col{
        min-width: 320px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #acc-mob-nav,
    #close-acc-nav {
        display: none;
    }

    .pagination-container {
        gap: 6px;
    }
    .ellipsis{
        padding: 6px 5px;
    }
    .max-col{
        min-width: 100px;
    }
}



/* Hide short text on larger screens */
.mob-col {
    display: none;
    font-weight: bold;
    color: var(--primary-color);
}


.btn{
    padding: 0.5rem 1rem;
    font-size: 14px;
}
.first-th{
        border-radius: 6px 0px 0px 6px !important;
}
.last-th{
    border-radius: 0px 6px 6px 0px !important;
}

.first-row {
    border-bottom: none !important;
}

/* On small screens, hide full and show short */
@media (max-width: 767px) {
    .max-col{
        min-width: 40px;
    }
    .mob-col {
        display: inline;
    }

    .block{
        display: block;
    }

    .btn-primary{
        font-size: 12px;
    }

    .btn{
        padding: 0.5rem 1rem;
    }
    .btn-danger{
        font-size: 12px;
    }
    .fav-table{
        font-size: 14px;
    }

    .gift-from-badge{
        font-size: 12px;
    }
    .giftcard-price {
        margin-left: auto;
        margin-right: 4px;
        padding: 2px 6px 2px 6px;
        background: #a3d9e1;
        border-radius: 5px;
        font-size: 12px;
        font-weight: 400;
    }
    .gift-card-status{
        font-size: 12px;
    }
   
    .first-row {
        border-bottom: none !important;
    }
    .giftcard-tab-body table th, .giftcard-tab-body table td{
        font-size: 12px !important;
        padding: 1rem !important;
    }

}