/* Custom Bootstrap ================================================================================================= */
.row, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9 .col-md-10, .col-md-11, .col-md-12 {
    padding: 0;
    margin: 0;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    padding: 0;
    margin: 0;
}
h1 {
    font-size: 24px;
}

/* Custom Button */
.btn-register {
    background-color: #FF385C;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    width: auto;
    margin: 0 auto;
}
.btn-register:hover {
    background-color: #e6003b;
    color: #fff;
}
.btn-primary, .btn-secondary, .btn-success, .btn-danger, .btn-warning, .btn-info, .btn-light, .btn-dark {
    padding: 10px 20px;
    border-radius: 4px;
}
/* Custom margin - padding ======================================================================================= */
.mg-5 {
    margin: 5px;
}
.mg-10 {
    margin: 10px;
}
.mg-20 {
    margin: 20px;
}
.mg-30 {
    margin: 30px;
}
.mg-40 {
    margin: 40px;
}
.mg-top-0 {
    margin-top: 0;
}
.mg-top-5 {
    margin-top: 5px;
}
.mg-top-10 {
    margin-top: 10px;
}
.mg-top-15 {
    margin-top: 15px;
}
.mg-top-20 {
    margin-top: 20px;
}
.mg-top-30 {
    margin-top: 30px;
}
.mg-top-40 {
    margin-top: 40px;
}
.mg-bottom-5{
    margin-bottom: 5px;
}
.mg-bottom-10 {
    margin-bottom: 10px;
}
.mg-bottom-15 {
    margin-bottom: 15px;
}
.mg-bottom-20 {
    margin-bottom: 20px;
}
.mg-bottom-30 {
    margin-bottom: 30px;
}
.mg-bottom-40 {
    margin-bottom: 40px;
}
.mg-right-5 {
    margin-right: 5px;
}
.mg-right-10 {
    margin-right: 10px;
}
.mg-right-15 {
    margin-right: 15px;
}
.mg-right-20 {
    margin-right: 20px;
}
.mg-left-5 {
    margin-left: 5px;
}
.mg-left-10 {
    margin-left: 10px;
}
.mg-left-15 {
    margin-left: 15px;
}
.mg-left-20 {
    margin-left: 20px;
}
.pd-5 {
    padding: 5px;
}
.pd-10 {
    padding: 10px;
}
.pd-15 {
    padding: 15px;
}
.pd-20 {
    padding: 20px;
}
.pd-30 {
    padding: 30px;
}
.pd-top-5 {
    padding-top: 5px;
}
.pd-top-10 {
    padding-top: 10px;
}
.pd-top-15 {
    padding-top: 15px;
}
.pd-top-20 {
    padding-top: 20px;
}
.pd-top-30 {
    padding-top: 30px;
}
.pd-top-40 {
    padding-top: 40px;
}
.pd-bottom-5 {
    padding-bottom: 5px;
}
.pd-bottom-10 {
    padding-bottom: 10px;
}
.pd-bottom-15 {
    padding-bottom: 15px;
}
.pd-bottom-20 {
    padding-bottom: 20px;
}
.pd-bottom-30 {
    padding-bottom: 30px;
}
.pd-bottom-40 {
    padding-bottom: 40px;
}
.pd-right-5 {
    padding-right: 5px;
}
.pd-right-10 {
    padding-right: 10px;
}
.pd-right-15 {
    padding-right: 15px;
}
.pd-right-20 {
    padding-right: 20px;
}
.pd-right-30 {
    padding-right: 30px;
}
.pd-right-40 {
    padding-right: 40px;
}
.pd-right-50 {
    padding-right: 50px;
}
.pd-left-5 {
    padding-left: 5px;
}
.pd-left-10 {
    padding-left: 10px;
}
.pd-left-15 {
    padding-left: 15px;
}
.pd-left-20 {
    padding-left: 20px;
}
.pd-left-30 {
    padding-left: 30px;
}
.pd-left-40 {
    padding-left: 40px;
}
.pd-left-50 {
    padding-left: 50px;
}
/* Top Menu ===================================================================================================== */
ul.nav-top-menu {
    padding-top: 40px;
}
ul.nav-top-menu > li {
    position: relative;
    display: inline-block;
}
ul.nav-top-menu > li > a {
    padding: 10px 15px;
    color: #707070;
    text-decoration: none;
    font-size: 18px;
}
ul.nav-top-menu > li > a:hover {
    color: #fff;
    background-color: #FF385C;
    border-radius: 4px;
}
ul.nav-top-menu > li > a.active {
    color: #fff;
    background-color: #FF385C;
    border-radius: 4px;
}
ul.top-menu-right li {
    position: relative;
    float: right;
    list-style: none;
}
.user-avatar{
    border-radius: 50%;
    width: 20px;
    height: 20px;
}
a.user-info {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    text-decoration: none;
}
#mobile-menu-toggle {
    margin: 10px;
    float: left;
}
#mobileMenu {
    display: none;
}
.pc-logo {
    display: block;
    padding: 20px;
}
#topMenu {
    border-bottom: #afafaf 1px solid;
}
@media (max-width: 991.98px) {
    #pcMenu {
        display: none;
    }
    #mobileMenu {
        display: block;
    }
    .mobile-logo{
        display: block;
        padding-top: 15px;
    }
    .mobile-logo img{
        display: block;
        width: 65px;
        text-align: center;
        margin: 0 auto;
    }
    .user-info img {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }
    .mobile-menu-header .fa-bars, .mobile-menu-header .fa-user, .mobile-menu-header .fa-heart {
        font-size: 28px;
        padding: 15px;
        background: #FF385C;
        color: #fff;
        border-radius: 6px;
    }
    #mobileTopMenu {
        display: none;
        padding: 0;
        margin: 0;
    }
    #mobileTopMenu.open{
        display: block;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: #FF385C;
        color: #fff;
        z-index: 1000;
    }
    #mobileTopMenu li{
        display: block;
        border-bottom: #fff 1px solid;
    }
    #mobileTopMenu li a{
        color: #fff;
        padding: 10px 20px;
        display: block;
        text-decoration: none;
    }
    #topMenu.fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    body.menu-fixed {
        padding-top: 60px; /* Adjust for mobile menu height */
    }
    a.user-info {
        display: inline-block;
        vertical-align: middle;
        margin-left: 10px;
        text-decoration: none;
        margin-top: 15px;
        background: #FF385C;
        padding: 5px;
        width: 60px;
        height: 60px;
        border-radius: 6px;
    }
    .watching-properties-count {
        position: absolute;
        color: #fff;
        font-size: 18px;
        margin-left: 5px;
    }
    
    .btn-export-customer{
        margin-bottom: 20px;
    }
}
#topMenu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    animation: slideDown 0.3s;
    background-color: #fff;
    transition: top 0.3s, opacity 0.3s;
}
@keyframes slideDown {
    from { top: -80px; opacity: 0; }
    to { top: 0; opacity: 1; }
}
body.menu-fixed {
    padding-top: 80px; /* Adjust to match #topMenu height */
}

/* Footer ======================================================================== */
.footer {
    background-color: #303441;
    color: rgba(245, 255, 255, 0.8);
    border-top: 1px solid #e5e5e5;
    padding: 80px 0 20px 0;
}
.footer-logo{
    width: 100px;
}
.footer-logo-box h4 {
    color: #fff;
    font-size: 18px;
    display: inline;
}
.footer p{
    font-size: 16px;
}
.footer a {
    font-size: 16px;
    color: rgba(245, 255, 255, 0.8);
}
.footer a:hover {
    color: #FF385C;
}
.footer a:hover h4{
    color: #FF385C;
}
.contact-social img {
    width: 30px;
    height: 30px;
    margin: 0 5px;
    border-radius: 50%;
    transition: transform 0.2s;
}
.footer-bottom{
    border-top: #707070 1px solid;
    padding-top: 20px;
}
/* Đường ngang với shadow cho .line-shadow */
.line-shadow {
    width: 100%;
    height: 2px;
    background: #e1e1e1;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    margin: 5px 0 2px 0;
}
/* CSS for page body ======================================================================== */
.page-body {
    background-color: #f5f7fb;
    padding-bottom: 50px;
}
.breadcrumbs ul {
    padding: 0;
    margin: 20px 0;
    list-style: none;
}
.breadcrumbs ul li {
    display: inline;
    margin-right: 5px;
}
.breadcrumbs ul li a {
    color: #444;
    text-decoration: none;
}
.breadcrumbs ul li a:hover {
    color: #FF385C;
}
/* CSS for page listing ======================================================================== */
.page-listing {
    background-color: #f5f7fb;
}
.breadcrumbs ul {
    padding: 0;
    margin: 20px 0;
    list-style: none;
}
.breadcrumbs ul li {
    display: inline;
    margin-right: 5px;
}
.breadcrumbs ul li a {
    color: #444;
    text-decoration: none;
}
.breadcrumbs ul li a:hover {
    color: #FF385C;
}
.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #444;
    margin: 20px 0 5px 0;
}
.page-listing a{
    color: #444;
    text-decoration: none;
}
.page-listing a:hover {
    color: #FF385C;
}
.section-subtitle {
    font-size: 16px;
    color: #777;
    margin-bottom: 20px;
}
.property-item {
    background: #fff;
    box-shadow: 0 2px 16px rgba(13,147,139,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
    cursor: pointer;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.property-item:hover {
    /* transform: translateY(-8px) scale(1.04); */
    box-shadow: 0 8px 32px rgba(13,147,139,0.18), 0 3px 8px rgba(0,0,0,0.08);
}
.property-user {
    font-size: 18px;
    color: #888;
}
.property-icon {
    float: right;
    margin-left: 15px;
    font-size: 18px;
    padding: 5px;
    float: right;
    margin-left: 15px;
    color: #888;
}
.fa-heart.watching {
    color: #FF385C;
}
.listing-top-search{
    padding-bottom: 20px;
}
.property-image {
    width: 100%;
    height: 300px;
    display: block;
    overflow: hidden;
}
.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
@media (max-width: 991.98px) {
    .watching-properties-count{
        position: absolute;
        color: #fff;
        font-size: 18px;
        margin-left: 5px;
    }
    .breadcrumbs .btn-register {
        /* margin-top: -20px; */
        margin-bottom: 20px;
    }
}
.listing-properties .property-title {
    font-size: 24px;
    color: #444;
    height: 60px;
    display: block;
    overflow: hidden;
}
.property-location {
    display: block;
    overflow: hidden;
    height: 25px;
    font-size: 16px;
    color: #888;
    margin-right: 20px;
}
.property-title:hover {
    color: #FF385C;
}
.square-meters, .bedrooms, .bathrooms, a.direction, .direction, .property-code {
    font-size: 16px;
    color: #888;
    display: inline;
    margin-right: 20px;
}
.price{
    font-size: 16px;
    color: #FF385C;
}
.property-phone {
    font-size: 18px;
    color: #FF385C;
    font-weight: 600;
}
a.property-phone {
    color: #FF385C;
}
.top-line {
    border-top: #c5c5c5 1px solid;
}
.create-property .form-check-input[type=radio] {
    border-color: #000;
}
.create-property .form-check-input:checked[type=radio] {
    border-color: #0d6efd;
}
.breadcrumbs .btn-register {
    color: #fff;
}
.breadcrumbs .btn-register:hover {
    color: #fff;
}
/* CSS for property details ======================================================================= */
.property-details .property-area, .property-details .property-price, .property-details .property-price-per-sqm, .property-details .google-map, .property-details .property-code{
    font-size: 16px;
    color: #888;
    display: block;
    margin-top: 10px;
}
.property-details {
    padding-bottom: 30px;
}
#mainPropertyImage {
    width: 100%;
    height: 500px;
    object-fit: contain;
}
@media (max-width: 991.98px) {
    #mainPropertyImage {
        height: 350px;
    }
}
#remove-video-btn{
    display: block;
}
/* CSS for page my profile =============================================================================== */
.page-my-profile {
    background-color: #f5f7fb;
    padding: 20px;
}
.img-avatar {
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
}
@media (max-width: 991.98px) {
    .img-avatar {
        width: 150px;
        height: 150px;
    }
}
.top-menu ul{
    float: right;
    border-bottom: none;
}
.top-menu ul li{
    display: inline-block;
    margin-right: 20px;
    margin-top: 10px;

}
.property-sold{
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
}
.property-on-sale{
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 128, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1
}
.property-on-sale:hover, .property-sold:hover {
    background-color: rgba(0, 128, 0, 1);
    color: #fff;
}
a.property-edit{
    color: #fff;
}
a.property-edit:hover{
    color: #fff;
    text-decoration: none;
}
@media (max-width: 991.98px) {
    .my-propertysearch-form .input-group {
        width: 100%;
        display: block;
        overflow: hidden;
        margin-bottom: 10px;
        padding: 10px;
    }
    .my-propertysearch-form .form-control {
        width: 100%;
        max-width: 100% !important;
        display: block;
        overflow: hidden;
        margin-bottom: 10px;
    }
    .my-propertysearch-form .btn-primary {
        width: 100%;
        border-top-left-radius: 4px !important;
        border-bottom-left-radius: 4px !important;
        margin: 0 auto;
    }
}
pre{
    font-family: Roboto;
    width: 100%;
    font-size: 16px;
}
.box-top-menu {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 16px rgba(13,147,139,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    float: right;
    width: 100%;
    text-align: right;
}
.text-align-right{
    text-align: right;
}
.customer-card{
    margin-bottom: 15px;
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 16px rgba(13,147,139,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
    border: #dee2e6 1px solid;
}

.customer-table{
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 16px rgba(13,147,139,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
    border: #dee2e6 1px solid;
    padding: 10px;
    margin-bottom: 15px;
}
.customer-table tr{
    border-bottom: #dee2e6 1px dotted;
}