﻿
.highlight-user {
    background-color: #fff3cd !important;
    border-left: 4px solid #ffc107;
    font-weight: bold;
}

.user-link {
    color: #0b5cab;
    text-decoration: underline;
}

    .user-link:hover {
        color: #004085;
    }



/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}


/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

.CarGurusButton {
    background-color: #296aa1;
    border: Solid;
    color: White;
    border-color: #2774b6;
    width: 150px;
}

.CarGurusButtonMobile {
    background-color: #296aa1;
    border: Solid;
    color: White;
    border-color: #2774b6;
    width: 100px;
}

.CarGurusButton {
    background-color: #296aa1;
    border: Solid;
    color: White;
    border-color: #2774b6;
    width: 150px;
    border-radius: 6px;
}

.CarGurusGrayBox {
    background-color: #eeeeee;
    border-color: #dfe1e1;
    border-width: 2px;
    border-style: solid;
    padding: 5px 6px 5px 6px;
    border-radius: 6px;
}

.CarGurusWhiteBox {
    background-color: white;
    border-color: #dfe1e1;
    border-width: 2px;
    border-style: solid;
    padding: 5px 6px 5px 6px;
    border-radius: 6px;
}

.CarGurusGreenFlashBox {
    background-color: green !important;
    border-color: #dfe1e1;
    border-width: 2px;
    border-style: solid;
    padding: 5px 6px 5px 6px;
}


.CarGurusRedFlashBox {
    background-color: red !important;
    border-color: #dfe1e1;
    border-width: 2px;
    border-style: solid;
    padding: 5px 6px 5px 6px;
}

.CarGurusBlueBox {
    background-color: #eef1f8;
    border-color: #dfe1e1;
    border-width: 2px;
    border-style: solid;
    padding: 5px 6px 5px 6px;
}

.CarGuruTitle {
    color: dimgray;
}

.CarGuruTitleLarge {
    color: dimgray;
    font-size: large;
}

.CarGuruTitleRed {
    color: darkred;
}

.CarGuruTitleGreen {
    color: darkgreen;
}

.RedZone {
    background-color: #f5f6f6;
    border-color: red;
    border-width: 2px;
    border-style: solid;
    padding: 5px 6px 5px 6px;
}

.GreenZone {
    background-color: #f5f6f6;
    border-color: green;
    border-width: 2px;
    border-style: solid;
    padding: 5px 6px 5px 6px;
}

.GrayZone {
    background-color: #f5f6f6;
    border-color: gray;
    border-width: 2px;
    border-style: solid;
    padding: 5px 6px 5px 6px;
}

.DarkGrayZone {
    background-color: #3a3a3c;
    border-color: black;
    border-width: 2px;
    border-style: solid;
    padding: 5px 6px 5px 6px;
}

.ui-accordion .ui-accordion-content {
    overflow: visible !important;
}

.ui-accordion .ui-accordion-content {
    overflow: hidden !important;
}

.Accordian {
    overflow: hidden !important;
}

.gallery-container {
    position: relative;
}

.thumbnail-strip {
    display: flex;
    justify-content: space-between;
}

    .thumbnail-strip img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        cursor: pointer;
    }

.enlarged-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border: 1px solid #ccc;
}

    .enlarged-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .2s ease-out;
    }



.ProPlusLoading {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('../images/loading.gif') 50% 50% no-repeat;
}

.ProPlusDeleteProperty {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.ProPlusModal {
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) 50% 50% no-repeat;
}

.InsideModal {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
    background-color: #eaf4fd;
    border-color: #dfe1e1;
    border-width: 2px;
    border-style: solid;
    padding: 5px 6px 5px 6px;
    width: 85%;
    -webkit-overflow-scrolling: touch;
}

.SearchPanel {
    display: none;
    border-width: 2px;
    border-color: #d6e9fb;
    border-style: solid;
    background-color: #eaf4fd;
    text-align: center;
    z-index: 9000;
    position: fixed;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.BuyHold {
    border-width: 2px;
    border-color: #e7e7f3;
    background-color: white;
    text-align: center;
    z-index: 9000;
    border-style: solid;
}

.Flip {
    border-width: 2px;
    border-color: #e7e7f3;
    background-color: white;
    text-align: center;
    z-index: 9000;
    border-style: solid;
}

.role-changed, .notes-changed {
    background-color: #fff3cd !important;
}

/* Always-visible role badge */
.user-level-label {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Highlight when changed */
.role-changed {
    background-color: #f0ad4e !important;
    color: white !important;
    font-weight: bold;
}

/* Dropdown appears on click */
.dropdown-active {
    display: inline-block !important;
}


/* Make side-by-side dashboard columns equal height (Bootstrap 3 compatible) */
.dashboard-flex-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.dashboard-flex-col {
    display: flex;
    padding-left: 15px;
    padding-right: 15px;
}

.dashboard-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

    .dashboard-card .card-body {
        flex: 1 1 auto; /* stretch the body so both cards match height */
    }

    /* Optional: keep headers consistent */
    .dashboard-card .card-header {
        padding-top: 12px;
        padding-bottom: 12px;
    }

/* Fix listing text touching edge on tablet/mobile */
.listing-body {
    padding-left: 12px;
    padding-right: 12px;
}

/* Slightly more breathing room on tablets */
@media (max-width: 1024px) {
    .listing-body {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Badge container */
.property-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px; /* modern spacing */
    margin-bottom: 6px; /* pushes content below */
}

    /* Fallback spacing for older browsers */
    .property-badges .label {
        margin-bottom: 4px;
    }

@media (max-width: 480px) {
    .property-badges {
        gap: 8px;
    }
}

/* Prevent iOS badge “clipping/overlap” + add spacing between stacked badge rows */
.status-badge,
.feature-badge {
    display: inline-block;
    line-height: 1.3; /* bootstrap badges are line-height:1 by default */
}

/* If your status badge sits above the bedroom/bath badges, force spacing */
.status-badge {
    margin-bottom: 10px;
}

/* Give the second row of badges a tiny top gap (covers wrap cases on small screens) */
.feature-badge {
    margin-top: 6px;
}

.property-status-row {
    margin-bottom: 6px;
}
