@import url('./designSystem.css');

/* navbar changes */
.navbar>.container {
    gap: 24px;
}

.navbar-nav .nav-link.active {
    color: var(--dark-dark);
    background-color: var(--surface-white-active);
    padding: 6px 12px;
    border-radius: 4px;
    border: 2px solid var(--surface-normal-hover);
}

.navbar-brand img {
    max-width: 240px;
}

.navbar-toggler {
    border: none !important;
}

.navbar-toggler img {
    max-width: 28px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */

.hero-search {
    position: relative;
    margin-top: 12px;
    background-color: var(--surface-white-active);
    background-image: url('../images/search-banner.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
    padding: 72px;
}

.hero-search .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
}

.hero-search .hero-content {
    position: relative;
    z-index: 1;
}

.hero-search .hero-content .search-box {
    width: 100% !important;
    padding: 8px;
    border-radius: 6px;
    display: flex;
    gap: 8px;
    background-color: var(--surface-white);
}

.hero-search-btn {
    background-color: var(--primary-normal);
    color: var(--surface-white);
    padding: 8px 24px;
    border-radius: 32px;
    border: none;
    transition: all 0.75s
}

.hero-search-btn:hover {
    background-color: var(--primary-normal-hover);
    color: var(--surface-white);
}

.form-floating {
    flex: 1;
}

.form-floating>label {
    color: var(--dark-light);
}

.form-floating input {
    border-color: var(--gray-light-hover);
}

.form-floating>.form-control:focus {
    box-shadow: none;
    border-color: var(--dark-normal-hover);
}

.select2-container .select2-selection--single{
    height: 58px !important;
    border-radius: 0.375rem;
    border-color: #dee2e6 !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    color: var(--dark-dark) !important;
    padding-top: 1.625rem;
    padding-bottom: .625rem;
    padding-left: 0.725rem;
}
.select2-container--default .select2-search--dropdown .select2-search__field{
    border-radius: 4px !important;
    border-color: var(--surface-normal-active) !important;
    padding: 6px 12px !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus-visible{
    box-shadow: none !important;
    border: none !important;
}
.select2-container--default .select2-results__option--selected{
    background-color: var(--surface-normal-active) !important;
    color: var(--dark-dark);
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
    color: var(--dark-dark) !important;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
    background-color: var(--primary-light-active) !important;
}
.select2-dropdown{
    border-color: var(--surface-normal-active) !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 20px;
    right: 4px;
    width: 20px;
    padding-top: 1.625rem !important;
}

/* Usp Section */
.usp-box {
    width: 100%;
    background-color: var(--surface-white);
    display: flex;
    padding: 24px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    border-radius: 12px;
    border: 1px solid var(--gray-light-hover);
    cursor: pointer;
    transition: all 0.75s;
}

.usp-box:hover {
    border: 1px solid var(--gray-light-hover);
    box-shadow: 4px 0px 8px #00000014;

}

/* upcoming properties */

.upcoming-properties {
    background-color: var(--surface-normal-hover);
}

.property-card {
    width: 100%;
    background-color: var(--surface-white);
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 24px;
    border: 1px solid var(--gray-light-hover);
    transition: all 0.75s;
}

.property-card:hover {
    border: 1px solid var(--gray-light-hover);
    box-shadow: 4px 0px 8px #00000014;
}

.property-card .card-img-top {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 158px;
    border-radius: 6px;
}

.property-card .card-img-top img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    transition: all 0.75s;
}

.property-card:hover .card-img-top img {
    transform: scale(1.2);
}

.property-card .card-img-top .card-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 42px !important;
    padding: 8px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.property-card .card-body {
    padding: 0px !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.property-card .card-body .property-description {
    color: var(--dark-light-active);
    width: 100%;
    text-wrap: wrap;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card .card-body .property-price {
    color: var(--primary-normal);
    font-weight: 600;
}

.property-card .card-body .assest-date-row {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    align-items: center;
    color: var(--dark-light-active);
}

footer {
    padding: 42px 64px;
    background-color: var(--dark-dark-active);
    border-radius: 12px;
}

footer .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 64px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dark-normal-active);
}

footer .footer-top p {
    color: var(--dark-light);
    font-weight: 300;
}

footer .footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: top;
    padding: 16px 0px;
    border-bottom: 1px solid var(--dark-normal-active);
}

footer .footer-middle .footer-col {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

footer .footer-middle .footer-col ul {
    list-style: none;
    padding: 0px;
}

footer .footer-middle .footer-col ul .footer-link-heading {
    color: var(--primary-normal);
}

footer .footer-middle .footer-col ul li a {
    font-size: 14px;
    color: var(--dark-light);
    transition: all 0.75s;
}

footer .footer-middle .footer-col ul li a:hover {
    text-decoration: underline;
    color: var(--surface-white);
}

footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    text-align: center;
    color: var(--dark-light);
}

.footer-logo {
    max-width: 300px;
}
.registration-header img {
    max-width: 300px;
}
.breadcrumb-item a {
    font-size: 12px;
    color: var(--dark-light-active) !important;
}

.breadcrumb-item.active {
    font-size: 12px;
    color: var(--dark-normal) !important;
    line-height: 28px;
}


.my-data-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--gray-light-hover);
    background-color: var(--surface-light);
    border-radius: 12px;
}


.dataTables_length {
    margin-bottom: 16px;
}

.table>:not(caption)>*>* {
    border-bottom: 1px solid var(--dark-light-hover);
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--dark-light);
    border-radius: 4px;
    padding: 6px 12px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background-color: var(--surface-white) !important;
    color: var(--dark-dark) !important;
    border-radius: 4px;
    padding: 4px 14px;
    font-size: 14px !important;
    margin: 0 4px;
    transition: all ease-in 0.3s;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: var(--dark-dark) !important;
    border: 1px solid var(--p50);
    color: var(--surface-white) !important;
    border-radius: 4px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: var(--white) !important;
}

.dataTables_wrapper thead tr th {
    background-color: var(--surface-normal-active) !important;
    color: var(--dark-dark);
    border: none !important;
    font-size: 14px !important;
}

table.dataTable tbody td {
    font-size: 14px !important;
}

.table>:not(caption)>*>* {
    border: none !important;
}

.dataTables_wrapper .dataTables_info {
    font-size: 13px !important;
}


/* Property Detail Page*/

.vertical-ad-section {
    width: 100%;
    min-height: 480px;
    height: 620px;
    padding: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end
}

.vertical-ad-section img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 50px;
}

.vertical-ad-section .ad-content {
    z-index: 999;
    position: relative;
    color: var(--surface-white);
}
.list-about {
    display: flex;
    flex-direction: column;
}
.list-about span{
    font-size: 16px;
    line-height: normal;
    color: var(--bs-body-color);
}
.about-image img {
    width: 100%;
    border-radius: 10px;
}
.property-header {
    padding: 24px;
    background-color: var(--surface-white-hover);
    border: 1px solid var(--surface-normal-active);
    border-radius: 16px;
}

.property-header .property-details-top {
    border-bottom: 1px solid var(--surface-normal-active);
}

.property-header h3 {
    color: var(--dark-dark-active);
    margin: 0px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}


.property-header .asset-type-tag {
    color: var(--surface-white);
    font-size: 14px;
    font-weight: 400;
    padding: 4px 12px;
    border-radius: 24px;
    background: #007AFF;
    background: linear-gradient(90deg, rgba(0, 122, 255, 1) 0%, rgba(0, 78, 162, 1) 100%);
}

.property-header .property-deatails-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-header .property-deatails-bottom .price-view .property-price {
    color: var(--primary-normal);
}

.details-section {
    margin-top: 24px;
    border-bottom: 1px solid var(--surface-normal-active);
    padding-bottom: 12px;
}

.details-section .section-heading {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--primary-normal);
}

.details-section .detail-point-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.detail-point-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    color: var(--dark-dark-active);
}

.detail-point {
    width: 100%;
    padding: 12px;
}

.detail-point span {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    color: var(--dark-light-active);
}


.galley-card {
    border-radius: 6px !important;
    overflow: hidden;
}

.view-more-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px !important;
}

.view-more-card .overlay {
    background-color: #00000086;
    position: absolute;
    z-index: 999;
    width: 100%;
    height: 100%;
    color: var(--surface-white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    cursor: pointer;
    backdrop-filter: blur(2px);
    transition: all ease-in 0.3s;
}

.social-media-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.social-media-row a {
    background-color: var(--surface-normal-active);
    height: 32px;
    width: 32px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark-dark-active);
    font-size: 14px;
}

.related-property-section {
    margin-top: 54px;
    background-color: var(--surface-normal-hover);
}

.lock-view-section{
    width: 100%;
    height: 220px;
    margin-top: 16px;
    background-image: url(../images/lock-account-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 16px;
}


.header{
    width: 100%;
    height: 220px;
    background-image: url('../images/header-banner.png');
    color: var(--surface-white);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 16px;
    text-align: center;
}

.accordion-item{
    border: none;
    margin-bottom: 16px;
}

.accordion-item .accordion-button{
    height: 72px;
}
.accordion-item .accordion-button:not(.collapsed) {
    border: none;
    box-shadow: none;
    background-color: transparent;
}
.accordion-item-active{
    border: 1px solid var(--primary-normal) !important;
    border-radius: 12px 12px 12px 12px !important;
    background-color: #FFF5F7;
}
.accordion-item-active .accordion-button{
    color: var(--primary-normal) !important;
}
.accordion-item  .collapsed {
    border: 1px solid var(--surface-normal-active) !important;
    border-radius: 12px !important;
    color: var(--dark-dark-active);
    background-color: var(--surface-white-hover);
}

.listing-cta{
    padding: 24px;
    background-image: url(../images/contact-cta-banner.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position:center ;
    border-radius: 12px;
    border: 1px solid var(--primary-light-active);
}

.contact-form{
    background-color: var(--surface-white-active);
    border: 1px solid var(--surface-normal-active);
    border-radius: 12px;
    padding: 24px;
}


.login-section{
    height: 100vh;
}

.login-section .login-form{
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    justify-content: center;
    margin: auto;
    width: 80%;
}
.login-section .login-form img{
    max-width:300px;
}

.login-btn{
    font-size: 16px !important;
    padding: 16px 24px !important;
}

#eye-btn{
    height: 58px;
}

.eye-btn-danger{
    border-color: #dc3545 !important;
}

.registration-section{
    height: 100%;
    display: flex;
    width: 80%;
    margin: auto;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}


.step-progress {
    gap: 1rem;
}

.step {
    text-align: center;
    color: #ccc;
    transition: color 0.3s ease;
}

.step .circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    font-size: 14px;
    background-color: transparent;
}

.step.active {
    color: #d32f2f; /* Red for active step */
}

.step.active .circle {
    background-color: #d32f2f;
    color: white;
    border-color: #d32f2f;
}

.label {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.line {
    width: 120px;
    height: 2px;
    border-top: 1px dashed #ccc;
    margin: 0 0.5rem;
}

.invalid-feedback{
    text-align: left !important;
}


.package-card{
    background-color: var(--surface-white-hover);
    border: 1px solid var(--surface-normal-active);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.75s;
    cursor: pointer;
}

.package-card:hover{
    box-shadow: 0px 4px 10px #00000020;
}

.package-card-list{
    background-color: var(--surface-white-hover);
    padding: 24px;
    border: 1px solid var(--surface-normal-active);
    border-radius: 12px;
    transition: all 0.75s;
    cursor: pointer;
}

.check-box{
    color: #34C759;
}

.package-type{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recommended-tag{
    background: #B20021;
    background: linear-gradient(90deg, rgba(178, 0, 33, 1) 0%, rgba(255, 14, 59, 1) 100%);
    color: var(--surface-white);
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 12px;
    border-radius: 32px;
    float: right;
}


.modal-content{
    background-color: var(--surface-white);
    border: none;
    border-radius: 12px;
}

.modal-content .modal-body .payment-details{
    display: flex;
    gap: 12px;
}
.modal-content .modal-body .payment-details .package-details{
    width: 50%;
}
.modal-content .modal-body .payment-details .package-pricing{
    width: 50%;
    background-color: var(--surface-white-active);
    padding: 24px;
    border-radius: 12px;
}

.table-heading{
    padding: 10px 16px;
    border-bottom: 1px solid var(--primary-normal);
    width: fit-content;
    font-weight: 500;
}

.no-data-view{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.thanku-view{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.property-details-bottom-mob{
    display: none;
    justify-content: space-between;
    align-items: center;
    background-color: var(--surface-white-hover);
    border-top: 1px solid var(--surface-normal-active);
    position: fixed;
    bottom: 0px;
    width: 100%;
    padding: 8px 32px;
    transition: all 0.75s;
    z-index: 9990;
}

.property-details-bottom-mob .property-price{
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-normal);
}

.filter-bar{
    background-color: var(--surface-white-hover);
    border: 1px solid var(--surface-normal-active);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    gap: 10px;
    transition: all 0.75s;
    cursor: pointer;
    box-shadow: 0px 4px 10px #00000020;
}

.filter-bar .filter-bar-row{
    display: flex;
    gap: 10px;
}

.slider-value{
    font-size: 12px;
    padding: 4px 8px;
}
#more-filters-btn{
    display: none;
}

@media (max-width: 991.98px) {
    #input_group_hidden {
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    #input_group_hidden.show {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    #more-filters-btn {
        display: block !important;
    }
}

/* Optional: Always show #input_group_hidden on large screens */
@media (min-width: 992px) {
    #input_group_hidden {
        display: flex !important;
        opacity: 1 !important;
        transform: none !important;
    }

    #more-filters-btn {
        display: none !important;
    }
}

.clickable-row:hover {
    background-color: #f0f0f0;
}


.h-banner{
    height: 160px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 12px;
}
.horizontal-ad-section img {
    width: 100%;
}

.eye-btn-danger {
    border: 1px solid #dc3545 !important;
    border-left: none !important;
}
.small-swal-height {
  height: 150px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.75rem;
}