﻿main {
    background-color: #F9F9F7;
    color: #252323;
    font-family: Figtree;
    font-style: normal;
    line-height: normal;
    font-weight: 500;
}

.listing-container { }

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1; /* ensures square even inside Bootstrap columns */
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 8px;
}

.gallery-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.gallery-item.more .more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.listing-details-name {
    font-size: 32px;
    font-weight: 700;
}

.listing-details-address {
    color: #4F4D4D;
    font-size: 20px;
}

.listing-owner-avatar {
    border-radius: 4px;
    width: 52px;
    height: 52px;
    box-shadow: none;
}

.listing-details-landlord-details-name {
    font-size: 14px;
}

.listing-details-landlord-details-membership {
    font-size: 12px;
}

.dot {
    width: 7px;
    height: 7px;
    margin-bottom: 0;
}

.listing-details-landlord-details-online-status span {
    color: #787777;
    font-size: 10px;
    font-family: Poppins;
}

.leasing-block {
    border-radius: 4px;
    border: 2px solid #C38F08;
    background: #F3E9CE;
}

.leasing-header {
    font-size: 14px;
    font-weight: 700;
}

.leasing-description {
    font-size: 14px;
    font-weight: 400;
}

.leasing-learn-more {
    color: #6E883F;
    font-size: 14px;
    font-weight: 700;
}

.pricing {
    border-radius: 4px;
    border: 1px solid #DFDFD5;
    background: #FFF;
}

.price-amount {
    font-size: 20px;
    font-weight: 700;
}

.price-negotiable {
    font-size: 16px;
    font-weight: 500;
}

.spots {
    font-size: 16px;
    font-weight: 500;
}

.pricing-splitter, .weather-splitter {
    border-bottom: 1px solid #DFDFD5;
}

.pricing-upgrade-button {
    border-radius: 4px;
    background: #6E883F;
    height: 44px;
    border: none;
    outline: none;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.lease-about {
    max-width: 600px;
    position: relative;
}

.lease-about-header {
    font-size: 14px;
    font-weight: 700;
}

.lease-about-content-wrapper {
    position: relative;
    overflow: hidden;
    max-height: 40px; /* collapsed height */
    transition: max-height 0.3s ease;
    color: #333;
}

.lease-about-content-wrapper.expanded {
    max-height: fit-content; /* enough to show full text */
}

.lease-about-content {
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 500;
}

.lease-about-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, #F9F9F7, transparent);
    z-index: 2;
    pointer-events: none;
}

.lease-about-read-more {
    cursor: pointer;
    color: #66974E;
    font-size: 14px;
    font-weight: 600;
}

.animals-title, .land-types-title, .amenities-title {
    font-size: 14px;
    font-weight: 600;
}

.animal, .land-type, .amenity {
    border-radius: 4px;
    background: #DFDFD5;
    min-height: 40px;
    font-size: 14px;
}

.blur-grayscale {
    filter: blur(5px) grayscale(1);
    -webkit-filter: blur(5px) grayscale(1);
    -moz-filter: blur(5px) grayscale(1);
    -o-filter: blur(5px) grayscale(1);
    -ms-filter: blur(5px) grayscale(1);
}

.inner {
    left: 50%;
    top: 25%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    background-color: white;
}

.innerNoBackground {
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
}

.trail-cam-block {
    border-radius: 4px;
    border: 1px solid #DFDFD5;
    background: #FFF;
}

.cam-trail-subscribe-button {
    display: flex;
    height: 36px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    border: 1px solid #6E883F;
    background: #6E883F;
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
}

.cam-trail-subscribe-button:hover {
    color: #FFF;
    text-decoration: none;
}

.location-container {
    border-radius: 4px;
    border: 1px solid #DFDFD5;
    background: #FFF;
}

.listingMap {
    border-radius: 8px;
}

.weather-conditions {
    border-radius: 4px;
    background: #F3E9CE;
    flex: 1.5;
}

.hunting-conditions {
    border-radius: 4px;
    background: #E7D29C;
    flex: 1;
}

.weather-temperature-label {
    font-size: 16px;
    font-weight: 700;
}

.weather-temperature-value {
    font-size: 64px;
    font-weight: 700;
}

.weather-icons {
    flex: 1.5;
}

.weather-conditions-details {
    flex: 1;
}

.weather-conditions-details-row.bordered {
    border-bottom: 1px solid #DBBC6B;
}

.weather-conditions-details-label {
    font-size: 14px;
    font-weight: 700;
}

.weather-conditions-details-value {
    font-size: 14px;
    font-weight: 400;
}

.current-conditions-label {
    font-size: 16px;
    font-weight: 700;
}

.current-conditions-date {
    font-size: 16px;
    font-weight: 400;
}

.current-conditions-row {
    font-size: 16px;
    font-weight: 600;
}

.current-location {
    font-size: 16px;
    font-weight: 400;
}

.weather-tab-link, .data-tab-link {
    height: 44px;
    flex-shrink: 0;
    border-radius: 4px;
    background: #F2F2EE;
    font-size: 16px;
    font-weight: 700;
    border: none;
    outline: none;
    color: #252323;
}

.weather-tab-link.active, .data-tab-link.active {
    border: 2px solid #31420E;
    background: #D6D9CF;
}

.data-container {
    border-radius: 4px;
    border: 1px solid #DFDFD5;
    background: #FFF;
}

.data-container-label {
    font-size: 24px;
    font-weight: 700;
}

.county-dropdown-label {
    color: #787777;
    font-size: 12px;
}

.county-dropdown {
    display: flex;
    padding: 10px 16px 10px 12px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    background: #F2F2EE;
    font-size: 16px;
    border-radius: 4px;
    border: none;
    outline: none;
    color: #252323;
}

.select-wrapper {
    position: relative;
    display: inline-block;
}

.select-wrapper select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
}

.select-wrapper::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(25%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid #252323;
    border-bottom: 2px solid #252323;
    pointer-events: none;
}

.field-rep-notes-container {
    border-radius: 4px;
    border: 1px solid #DFDFD5;
    background: #FFF;
}

.field-rep-notes-label {
    font-size: 24px;
    font-weight: 700;
}

.field-rep-notes {
    border-radius: 4px;
    background: #F9F9F7;
}

.field-rep-info {
    flex-basis: 40%;
}

.field-rep-visit-info {
    flex-basis: 60%;
}

.field-rep-user-name {
    font-size: 20px;
    font-weight: 600;
}

.field-rep-badge {
    border-radius: 4px;
    background: #6E883F;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2.1px;
    width: 187px;
    height: 26px;
    flex-shrink: 0;
}

.field-rep-user-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 30px;
}

.field-rep-badge-text {
    text-transform: uppercase;
}

.field-rep-visit-notes {
    font-size: 16px;
    font-weight: 600;
}

.section {
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
}

.section-block {
    border-bottom: 1px solid #DFDFD5;
}

.section-block:last-of-type {
    border-bottom: none;
}

.section-content {
    display: none;
}

.arrow {
    transition: transform 0.3s ease;
}

.section.open .arrow {
    transform: rotate(90deg);
}

.section.open .arrow.reverse {
    transform: rotate(-180deg);
}

.resources-container {
    border-radius: 4px;
    border: 1px solid #DFDFD5;
    background: #FFF;
}

.resource-label {
    font-size: 24px;
    font-weight: 700;
}

.listing-id-block {
    border-radius: 4px;
    border: 1px solid #DFDFD5;
    background: #FFF;
}

.listing-id-label {
    font-size: 24px;
    font-weight: 700;
}

.listing-id-value {
    font-size: 20px;
    font-weight: 400;
}

.similar-leases {
    background-color: #252323;
}

.similar-leases-label {
    color: #FFF;
    font-size: 32px;
    font-weight: 700;
    flex-basis: 37%;
}

.similar-leases-container {
    flex-basis: 70%;
}

.similar-lease-item {
    width: 252px;
}

.similar-listing-photo-image {
    width: 252px; /* desired width */
    height: 242px; /* desired height */
    object-fit: cover; /* crop to fill while preserving aspect ratio */
    overflow: hidden;
    border-radius: 4px 4px 0px 0px;
    border: 1px solid #DFDFD5;
}

.similar-listing-info {
    border-radius: 0px 0px 4px 4px;
    border: 1px solid #DFDFD5;
    border-top: none;
    background: #FFF;
}

.similar-listing-info-online-status {
    font-size: 10px;
    font-weight: 400;
}

.similar-listing-info-price {
    color: #6E883F;
    font-size: 12px;
    font-weight: 800;
}

.similar-listing-info-name {
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.similar-listing-info-address {
    color: #4F4D4D;
    font-size: 12px;
    font-weight: 500;
}

.contact-landowner-textbox {
    border-radius: 8px;
    border: 1px solid #DFDFD5;
    background: #FDFDFD;
    min-height: 125px;
    max-height: 400px;
}

.contact-landowner-textbox:focus-visible {
    border-color: #DFDFD5;
    outline-color: #DFDFD5;
}

.location-container-label {
    font-size: 24px;
    font-weight: 700;
}

.nearby-container-label, .weather-container-label {
    font-size: 20px;
    font-weight: 700;
}

.nearby-item-image img {
    width: 125px;
    height: 125px;
    object-fit: cover;
    overflow: hidden;
}

.nearby-item {
    border-radius: 4px;
    border: 1px solid #DFDFD5;
    background: #FFF;
}

.nearby-item-details-title {
    font-size: 16px;
    font-weight: 700;
}

.nearby-item-details-address {
    font-size: 16px;
    font-weight: 500;
}

.nearby-item-details-distance {
    color: #4F4D4D;
    font-size: 14px;
    font-weight: 500;
}

.field-rep-notes-FAQ {
    color: #6E883F;
    font-size: 20px;
    font-weight: 600;
}

.upgrade-plan-button {
    border-radius: 4px;
    border: 1px solid #6E883F;
    background: #FFF;
    color: #6E883F;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.upgrade-plan-button-wrapper {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 1;
}

.hot-actions-block {
    position: absolute;
    top: 10px;
    right: 20px;
}

.similar-listing-photo .hot-actions-block {
    right: 15px;
}

.hot-action {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #DFDFD5;
    cursor: pointer;
}

.full-length-button {
    display: flex;
    height: 44px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 4px;
    background: #6E883F;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.full-length-button:hover {
    color: #FFF;
    text-decoration: none;
}

.message-sent-stub {
    border-radius: 8px;
    background: #E2E7D9;
    min-height: 125px;
}

.message-sent-stub-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #31420E;
}

.message-sent-stub-label {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.message-sent-stub-description {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

/* Set custom color for inactive bullets */
.similar-leases .swiper-pagination-bullet {
    background-color: white; /* Change to your desired color */
    opacity: 0.7;
}

/* Set custom color for active bullet */
.similar-leases .swiper-pagination-bullet-active {
    background-color: white; /* Change to your desired active color */
}

.trail-cam-modal {
    border: 1px solid lightgray;
    border-radius: 8px;
    width: 325px;
    z-index: 1;
    background-color: #fff;
}

#locationTransitionContainer {
    display: none;
}

#addToWaitlistButton:disabled {
    background-color: #a3a3a3;
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

#messageOwnerButton:disabled {
    background-color: #a3a3a3;
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

#windForecast, #genericForecast {
    overflow: auto;
}

.waitlist-success .btn-close {
    opacity: 1;
}

.waitlist-success .modal-header {
    border-bottom: none;
}

.waitlist-success .modal-content {
    max-width: 300px;
}

#genericForecast {
    background: #F3E9CE;
}

@media (min-width: 768px) {
    .county-dropdown {
        width: 185px;
    }

    .trail-cam-modal {
        border: 1px solid lightgray;
        border-radius: 8px;
        width: 400px;
        z-index: 1;
        background-color: #fff;
    }
}

