@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;700&display=swap');

/*--------------------------Body------------------------------*/
:root {
    color-scheme: light; /* site is light-only; stops dark-mode browsers painting a dark canvas behind the page */
    --green-color: #6a8044;
    --armygreen-color: #3f4535;
    --camel-color: #dda781;
    --charcoal-color: #474747;
    --red-color: #eb5252;
    --yellow-color: #ffb541;
    --blue-color: #89b9d5;
}

body {
    font-family: 'Poppins', sans-serif;
    font-family: Poppins,'Work Sans', sans-serif;
    background: white;
    display: flex;
    flex-direction: column;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full height of the screen */
    margin: 0;
    background-color: #d5bca329; /* A soft grey makes white glass bubbles pop */
}





.BodyContent {
    flex: 1 0 auto;
}
.InnerContent {
    display: flex;
    gap: 15px;
    flex-direction: column;
    width: 100%;

    margin: 0 auto;

}

    .InnerContent:has(.NoFilterZone) {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important; /* For Safari */
    }

.TopSection {
    min-height:650px;
    background-size:cover;
    align-content:center;
    background-position:center;
    background-repeat:no-repeat
}

.TopSectionHalf {
    min-height:400px;
}

.TopSection h1 {
    color:white!important;
    font-size: clamp(44px, 9vw, 94px)!important;

}




.Plain {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 50px;
}


a {
    text-decoration: none !important
}

p {margin:0;
}

a:hover {
    color:black;
}
.TextHyperLink {
    color: #282828 !important;
    font-weight: 700;
    font-size: 14px;
}
.TextHyperLink:hover {
    color: var(--camel-color) !important;
    font-weight: 700;
    font-size: 14px;
}
    .TextHyperLink.RanchBlue {
        color: #ffd452 !important;
        font-weight: 700;
        font-size: 14px;
    }
.TextHyperLink.RanchBlue:hover {
    color: var( --camel-color) !important;
    font-weight: 700;
    font-size: 14px;
}

/*-------------------------Forms----------------------*/
.Form {
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:20px;
}

.FormSectionHeader
{
    text-align:left;
    font-weight:700;
    color:var(--green-color);
    font-size:24px;
    margin-bottom:10px;

}
.FormLabel {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0px;

}

.FormItem
{
    width:100%;
    gap:5px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    max-width:800px;
}

    .FormItem.DropDown {
        max-width: 500px;
    }

    .FormItem .instructions {
        text-align:left!important;
    }





.Form hr
{
    width:80%;
    height:2px;
    margin:60px auto;
    color:#4a6d93
}

.Form hr.small {
    width: 10%;
    height: 2px;
    margin:10px;
    color: #4a6d93
}

.FormItem .button {

}

/*-------------------------Image Cropper----------------------*/
#profile-picture-cropper, #clinic-picture-cropper {
    width: 450px;
    height: 350px;
    margin-bottom: 50px;
}

#profile-picture-cropper-image, #clinic-picture-cropper-image {
    max-width: 100%;
    height: auto;
}

.cropper-buttons {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    text-align: center;
}
    .cropper-buttons button {
        margin: 0 10px;
    }

#profilePreview
{
    margin:10px;

}



/*-------------------------Ranchlink Row----------------------*/
.RanchLinkRow {

    margin-bottom: 15px;
    display:flex;
    flex-direction:row;
    gap:15px;
}

@media (max-width: 768px)  {
    .RanchLinkRow.ColumnsOnMobile {
        flex-direction: column;
    }
}


    /*-------------------------Headings--------------------------*/
    h1, h2, h3, h4 {
        color: var(--green-color) !important;
        font-weight: 700 !important;
        margin: 30px;
        text-align: center;
    }

    .Panel h1 {
        margin: 0 !important;
    }

    h1 + .instructions {
    }

    h1.left {
        text-align: left;
        margin-left: 0;
    }

    h4 {
        margin: 10px 0;
    }

    /*--------------------------Footer---------------------------*/

    footer {
        margin-top: 40px;
    }

        footer p {
            margin: 5px !important;
            font-size: 12px;
            text-align: center;
        }


    /*--------------------------Navigation-----------------------*/
    /*--------------------------Top Nav--------------------------*/
    nav {
        /* Positioning */
        position: fixed !important;
        top: 20px; /* Space from the top */
        left: 50%;
        transform: translateX(-50%); /* Centers the bar */
        width: 90%; /* Doesn't touch the edges */
        max-width: 1200px;
        z-index: 1000;
        /* Glass Effect */
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        /* Modern Styling */
        border-radius: 10px; /* Rounded "pill" shape */
        border: 1px solid rgba(255, 255, 255, 0.4);
        padding: 10px 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        /* Layout */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-brand {
        text-align: left;
        width: 100px;
        padding: 10px
    }

        .navbar-brand img {
            width: 100%;
            height: 60px;
            object-fit: contain
        }

    .navbar-menu {
        margin-left: auto;
        display: flex;
        align-items: center;
        list-style: none;
        gap: 2rem;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .navbar-menu-item {
        list-style: none;
    }

    .navbar-menu-link {
        font-weight: 700;
        color: #282828 !important;
    }

        .navbar-menu-link:hover {
            color: var(--camel-color) !important;
        }

    .navbar-toggler {
        background: white;
    }

    /* Mobile */
    @media (max-width: 991px) {
        .navbar-menu {
            flex-direction: column;
            width: 100%;
            margin-left: 0;
        }

        .navbar-menu-link {
            font-size: 20px;
        }
    }
    /*--------------------------Sidebar--------------------------*/
    .sidebar {
        background-color: #dda781;
        display: flex;
        flex-direction: column;
        height: 100%;
        padding-left: 0;
        border-bottom-left-radius: 5px;
        border-top-left-radius: 5px;
    }

    .sidebar-item {
        list-style: none;
        text-align: center;
        transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
        min-width: 110px;
    }

        .sidebar-item:hover {
            background-color: var(--green-color);
            transform: translateY(-2px);
        }

            .sidebar-item:hover .sidebar {
            }


    .sidebar-link {
        display: flex;
        flex-direction: column;
        padding: 10px 5px;
    }

        .sidebar-link.active {
            border-right: 5px solid var(--green-color);
            font-weight: bold
        }

    .sidebar-item img {
        width: 30px;
        margin: 10px auto;
    }

    .sidebar-text, .sidebar button {
        text-align: center;
        font-size: 15px;
        font-weight: 700;
        line-height: 15px;
        color: white;
    }

    .sidebar button {
        background-color: transparent;
        border: 0;
    }

    .RanchLinkTable {
        width: 100%;
        border-collapse: collapse;
        table-layout: auto; /* Ensures column widths adjust to content unless overridden */
        font-family: system-ui, sans-serif;
        font-size: 14px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }

        /* Shared cell styles */
        .RanchLinkTable th,
        .RanchLinkTable td {
            padding: 12px 16px;
            border-bottom: 1px solid #eee;
            border-right: 1px solid rgb(0,0,0,0.1);
            white-space: normal;
            word-wrap: break-word;
            overflow-wrap: anywhere;
            width: auto; /* Ensures the column grows/shrinks with content */
            text-align: left;
        }




        /* Header row */
        .RanchLinkTable th {
            background-color: var(--armygreen-color);
            font-weight: 600;
            color: white;
            font-size: 17px;
        }

        /* Zebra striping */
        .RanchLinkTable tr:nth-child(odd) {
            background-color: rgb(250,250,250,0.5);
        }

        /* Zebra striping */
        .RanchLinkTable tr:nth-child(even) {
            background-color: rgb(250,250,250,0.1);
        }


        /* Hover effect */
        .RanchLinkTable tr:hover {
            background-color: #dda78166
        }

        .RanchLinkTable .button {
            margin: 3px;
            justify-self: center;
            display: inline-block
        }

    .buttoncontainer {
        justify-content: end;
        display: flex;
        gap: 10px
    }
    /*--------------------------Inputs--------------------------*/
    /*--------------------------Button--------------------------*/
    .button, input::file-selector-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 28px;
        font-weight: 600;
        font-size: 15px;
        letter-spacing: 0.5px;
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
        cursor: pointer;
        text-decoration: none;
        /* Resting State: Green Gradient */
        background: linear-gradient(135deg, var(--green-color) 0%, #2d5a27 100%);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(0) scale(1); /* Base scale for size transition */
        /* The "Smoothness" Engine */
        /* We transition specific properties for a professional feel */
        transition: background 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), /* Custom spring for "bubbly" feel */
        box-shadow 0.6s ease, letter-spacing 0.6s ease;
    }

        .button.RedBackground {
            background: linear-gradient(135deg, #eb5252 0%, #b23a3a 100%);
        }



        .button:hover {
            /* Hover State: Blue Gradient */
            background: linear-gradient(135deg, var(--blue-color) 0%, #3a7bd5 100%);
            /* Size & Position Transition */
            transform: translateY(-1px) scale(1.01); /* Lifts and subtly grows */

            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        }

        .button:active {
            /* Subtle "press" effect when clicked */
            transform: translateY(-1px) scale(0.98);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .button:active {
            transform: translateY(-1px); /* Mimics a physical press */
        }

    .buttonWithImage {
        width: 150px;
    }


    a.button:hover, a.button {
        color: white !important;
    }

    .button img {
        width: 25px;
    }
    /*--------------------------Dropdown-----------------------*/
    .styled-dropdown {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: white;
        border: 1px solid #ccc;
        font-size: 16px;
        border-radius: 4px;
        background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 16px;
        cursor: pointer;
    }
    /*--------------------------Text-------------------------*/
    .form-control img {
        width: 20px
    }

    .form-control {
        -webkit-box-shadow: 0 0 0px 1000px #fffbf7 inset !important;
        -webkit-text-fill-color: #000 !important;
    }

    /*--------------------------Panel--------------------------*/
    .Panel {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 25px;
        padding: 40px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(18px) saturate(160%);
        -webkit-backdrop-filter: blur(18px) saturate(160%);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 24px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02), 0 10px 30px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    }

    /* Mobile */
    @media (max-width: 991px) {
        .Panel {
            padding: 20px 10px;
            margin: 10px;
        }
    }

    .Panel::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
        pointer-events: none;
    }


    .SmallWidth {
        max-width: 460px;
        margin: 0 auto
    }



    .MidWidth {
        width: 900px;
        margin: 0 auto;
    }

    @media (max-width: 768px) {

        .MidWidth {
            width: calc(100% - 20px);
            margin: 10px;
        }
    }

    .LargeWidth {
        width: 1000px;
        margin: 0 auto;
    }





    .form-control {
        border: 1px solid var(--charcoal-color);
        border-radius: 12px;
        backdrop-filter: blur(5px);
        padding: 12px 15px;
        transition: all 0.3s ease;
    }

        .form-control:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.6);
            border-color: var(--blue-color);
            box-shadow: 0 0 0 4px rgba(58, 123, 213, 0.1);
        }


    .ListingPanel {
        background: rgba(255, 255, 255, 0.82);
    }

    .LoginPanel {
        width: 450px;
        display: flex;
        flex-direction: column;
        margin: 20px auto;
        animation: floatPanel 6s ease-in-out infinite;
    }

    @media (max-width: 991px) {
        .LoginPanel {
            width: 350px;
            margin: 10px auto;
        }
    }

    .validation-summary-valid {
        display: none;
    }



    /* Ensure the main container can grow or scroll */
    .MainPanel {
        height: 100vh; /* Or min-height: 100% */
        overflow-y: auto; /* This allows vertical scrolling */
        display: block; /* Ensure it isn't trapped by a weird flex/grid setting */
    }

    /* If PanelContent is the direct wrapper of your data */
    .PanelContent {
        height: auto;
        overflow: visible;
    }




    /*--------------------------Card--------------------------*/
    .CardMenu {
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        max-width: 800px;
        gap: 20px;
        justify-content: center; /* centers the row, especially the last one */
    }




    .CardItem {
        box-sizing: border-box;
        width: 180px;
        padding: 42px 34px 30px;
        gap: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: linear-gradient( 135deg, rgba(45, 90, 39, 0.7) 0%, rgba(26, 54, 23, 0.8) 100% );
        backdrop-filter: blur(12px) saturate(150%);
        -webkit-backdrop-filter: blur(12px) saturate(150%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
        border-radius: 10px;
    }

        .CardItem:hover {
            transform: translateY(-8px) scale(1.02);
            background: linear-gradient(135deg, var(--blue-color) 0%, #3a7bd5 100%);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.5);
        }

        .CardItem img {
            width: 50px;
        }

        .CardItem p {
            color: white;
            font-weight: 500;
            letter-spacing: 0.9px
        }
    /*-------------------------Backgrounds----------------------*/

    .GreenBackground {
        background-color: var(--green-color)
    }

    .ArmyBackground {
        background-color: var(--armygreen-color)
    }

    .YellowBackground {
        background-color: var(--yellow-color)
    }

    .RedBackground {
        background-color: var(--red-color)
    }

    .CamelBackground {
        background-color: var(--camel-color)
    }





    /*--------------------------Action Menu--------------------------*/
    .TopActionMenu {
        display: flex;
        gap: 30px;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }

.TopFiltersMenu {
    display: flex;
    gap: 30px;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}


@media (max-width: 991px) {
    .TopFiltersMenu {
        flex-direction: column;
        gap: 10px;
        justify-content:space-evenly;
    }
}

    .TopActionMenu .button {
        width: auto;
        padding: 10px 20px;
        display: flex;
        gap: 5px;
    }


    .TopActionMenu select {
        appearance: auto;
        padding-right: 15px;
        font-size: 14px;
    }

    .filterLabel {
        font-size: 14px;
        font-weight: bold;
        margin-right: 5px;
    }

    .BottomActionMenu {
        display: flex;
        gap: 10px;
        flex-direction: row;
        justify-content: flex-start;
        margin-top: 30px;
    }

        .BottomActionMenu .button {
            width: auto;
            padding: 10px 20px;
            display: flex;
            gap: 5px;
        }

@media (max-width: 991px) 
{
    .BottomActionMenu {
        display: flex;
        gap: 10px;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 30px;
    }

        .BottomActionMenu .button {
            width: 100%;
        }
}

    /*--------------------------Search Menu--------------------------*/
    .SearchMenu {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin: 20px 0px;
        justify-content: space-between;
    }

    .SearchBarIconGroup {
        display: flex;
        flex-direction: row;
        width: 100%;
        border-radius: 5px;
        border: 1px solid #ced4da;
    }

        .SearchBarIconGroup input {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            border: none;
        }

    .SearchBarIcon {
        width: 30px;
        padding: 5px;
    }

    .AdvancedSearchLink {
        width: 170px;
        display: flex;
        align-items: center;
    }

    .SearchResultsHeading {
        margin-left: 0;
    }

    .SearchResultsFilterContainer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .DropDown {
        display: flex;
        gap: 5px;
        flex-direction: row;
        align-items: center;
        height: 40px;
        border-radius: 5px;
        width: 175px;
        padding: 5px;
        background: #fffbf7;
        border: 1px solid color-mix(in srgb, var(--armygreen-color), transparent 80%);
    }

        .DropDown img {
            width: 20px;
        }

    .SearchResults {
        margin-bottom: 30px;
    }


    /*--------------------------User Search Row--------------------------*/
    .ListingRow {
        background-color: #f8f4ec; /* nice off-white */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        margin-bottom: 16px;
        display: flex;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border: 1px solid #e1d6c0;
    }

    .ListingInnerRow {
        display: flex;
        flex-direction: row;
        gap: 30px;
    }


    .ListingRowInfoColumn {
        width: 25%;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .ListingRowImageColumn {
        width: 40%;
    }

    .ListingRowActionColumn {
        width: 10%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    @media (max-width: 991px) {
        .ListingInnerRow {
            flex-direction: column;
        }

        .ListingRowInfoColumn, .ListingRowImageColumn, .ListingRowActionColumn {
            width: 100%;
        }
    }





    .ListingRowCarouselImage {
        border-radius: 10px;
        width: 100%;
        height: 230px;
        object-fit: contain;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-color: var(--green-color) !important; /* nice off-white */
        padding: 20px !important;
        height: 60px !important;
        border-radius: 5px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }




    .ListingRow:hover {
        transform: translateY(-2px);
        transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    }

    .UserProfileRowImage img {
        width: 150px;
        border-radius: 20px;
        height: 100%;
        object-fit: cover;
    }

    .UserProfileRowActionMenu-Column {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }

    .UserProfileRowActionMenu-Row {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 5px;
    }

    .UserProfileRow > .UserProfileRowColumn:last-child, .VetProfile > .VetProfileColumn:last-child {
        margin-left: auto;
        /* styles for the last column in each row */
    }

    .UserProfileRow p {
        margin-bottom: 0;
    }

    .UserProfileRowName {
        font-weight: 700;
        font-size: 24px;
        margin-bottom: 0 !important;
    }

    .UserProfileRowDistance {
        font-weight: bold;
        color: #4a6d93;
        font-size: 14px;
    }

    .UserProfileRowVerified {
        width: 25px;
    }

    .UserProfileRowDetail {
        display: flex;
        flex-direction: row;
        align-items: center;
        font-size: 14px;
    }

        .UserProfileRowDetail p {
        }

        .UserProfileRowDetail img {
            width: 30px
        }

    .UserProfileRowSocialMedia {
        margin-left: 5px;
    }

        .UserProfileRowSocialMedia img {
            width: 20px
        }

    .UserProfileRowClinic {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        align-items: center;
        margin-top: 20px;
    }

    .UserProfileRowClinicTitle {
        font-weight: 500;
        font-size: 22px;
    }

    .UserProfileRowClinicImage {
        width: 150px;
    }

    .AnimalGrid {
        display: flex;
        flex-wrap: wrap; /* wrap to new line if space is tight */
        gap: 8px; /* spacing between tiles */
    }

    .AnimalIcon {
        display: flex;
        flex-direction: column; /* stack image above number */
        align-items: center;
        font-size: 12px; /* smaller count text */
    }

        .AnimalIcon img {
            height: 30px; /* adjust size to taste */
            margin-bottom: 2px;
        }

    .WaterSource {
        background-color: var(--blue-color);
    }

    .ForageType {
        background-color: var(--green-color);
    }
    /*--------------------------Vet Profile Row--------------------------*/
    .ListingRowName {
        font-weight: 700;
        font-size: 28px;
        margin-bottom: 0px !important;
        color: var(--green-color)
    }


    .VetProfileDetail {
        display: flex;
        flex-direction: row;
        font-size: 16px;
        align-items: center;
    }

    .VetProfileAddress {
        align-items: self-start;
    }

    .VetProfileDetail img {
        width: 40px;
    }

    .VetProfileDetail p {
        margin-bottom: 0px;
    }

    .VetProfileBadges {
        display: flex;
        flex-direction: row;
        gap: 20px;
        margin-left: 10px;
    }

    .VetProfileBadge {
        border-radius: 10px;
        width: 35px;
        height: 35px;
        padding: 5px;
        background: #4a6d93;
        transform: rotate(45deg);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
    }

        .VetProfileBadge > * {
            transform: rotate(-45deg);
        }

        .VetProfileBadge img {
            width: 100%;
        }

    /*--------------------------Highlighted Profile--------------------------*/
    .HighlightedProfile {
        background-image: linear-gradient(to right, #fbecc2, #e9e9e9);
        box-shadow: 2px 1px 10px #7776;
    }

    /*--------------------------Sortable--------------------------*/
    .sortable-handle {
        align-content: center;
    }

        .sortable-handle i {
            cursor: grab; /* "Grab" cursor on hover */
        }

            .sortable-handle i:active {
                cursor: grabbing; /* "Grabbing" cursor while dragging */
            }
    /*--------------------------Table--------------------------*/
.TableContainer {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
table {

    border: 1px solid rgb(0,0,0,0.1);
    padding: 10px;
    margin: 0 auto;
    table-layout: auto;
}

        table td {
            white-space: nowrap;
            padding: 12px;
            border-bottom: 1px solid #ccc;
            vertical-align: middle;
        }

        table .AlignRight {
            text-align: right;
        }
    /*--------------------------Services Table--------------------------*/

        /* Let first 3 auto-size, last one take the rest */
        .ServicesTable td:nth-child(1),
        .ServicesTable td:nth-child(2),
        .ServicesTable td:nth-child(3) {
            width: 1%;
        }

        .ServicesTable td:last-child {
            width: auto;
            text-align: right;
            white-space: normal; /* allow wrapping if needed */
        }
    /*--------------------------Instructions--------------------------*/
    .instructions {
        color: var(-armygreen);
        font-weight: bold;
        text-align: center;
        font-size: 14px;
        margin-bottom: 5px;
    }

        .instructions.Black {
            color: #232323;
        }

    /*--------------------------WYSIWYG--------------------------*/
    .tox-promotions, .tox-statusbar {
        display: none !important;
    }



    /*--------------------------Progress and Steps Section--------------------------*/
    .step {
        display: none;
    }

        .step.active {
            display: flex;
        }

    .progress-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        position: relative;
    }

    .progress {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 6px;
        background: #eaeaea;
        transform: translateY(-50%);
        border-radius: 4px;
    }

    .progress-bar {
        position: absolute;
        top: 50%;
        left: 0;
        height: 6px;
        background: #4a6d93;
        width: 0;
        transition: width 0.4s ease;
        transform: translateY(-50%);
        border-radius: 4px;
    }

    .step-indicator {
        width: 36px;
        height: 36px;
        background: white;
        border: 2px solid #e0e0e0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 600;
        color: #777;
        z-index: 1;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

        .step-indicator.active {
            background: #4a6d93;
            color: white;
            border-color: #4a6d93;
            box-shadow: 0 4px 10px rgba(255, 94, 26, 0.4);
            transform: scale(1.1);
        }



    .AttachmentList {
        width: 100%;
    }

    .AttachmentRow {
        display: flex;
        align-items: center;
        background: white;
        padding: 10px;
        width: 100%;
        margin: 5px 0;
    }

        .AttachmentRow > :first-child {
            width: 100%; /* Prevent button from shrinking */
        }

        .AttachmentRow > :last-child {
            width: 80px; /* Take the remaining space */
        }

        .AttachmentRow button {
        }

    @media (max-width: 768px) {
    }



    @media (max-width: 575.98px) {
        .custom-width {
            max-width: 400px;
        }
    }

    @media (min-width: 576px) and (max-width: 658.98px) {
        .custom-width {
            max-width: 450px;
        }
    }



    .ListingContent {
        display: flex;
        padding: 15px;
        gap: 15px;
        width: 100%;
    }

    .ListingContentLeft {
    }

    .ListingContentRight {
        width: 100%;
    }

@media (max-width: 991px) {
    .ListingContent {
        flex-direction:column;
    }
}



    .LandingPageContainer {
        width: 1000px;
        display: flex;
        flex-direction: row;
        margin: 0 auto;
        gap: 20px;
        text-align: center;
    }

    .LandingPageSection {
        height: 100%;
        width: 500px;
        transition: transform 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }


        .LandingPageSection:hover {
            transform: scale(1.03);
        }

        .LandingPageSection img {
            object-fit: cover;
            width: 100%;
            height: 300px;
        }


    .Title {
        font-weight: 700 !important;
        font-size: 30px;
        color: var(--green-color)
    }


    .LandingPageSection .Panel {
        gap: 10px;
    }




    .input-validation-error {
        background-color: #ffe6e6 !important;
        border: 1px solid #ff0000 !important;
        transition: background-color 0.3s ease, border-color 0.3s ease !important;
    }

    .blurred {
        filter: blur(6px);
        pointer-events: none;
        user-select: none;
    }

    .redacted-inline {
        font-style: italic;
        color: #888;
    }

    .blurred::after {
        content: "Upgrade to unlock full details";
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        color: #444;
    }

    .gm-ui-hover-effect {
        display: none !important;
    }

    .hero {
        max-width: 1200px;
        text-align: left;
        margin: 0 auto;
        padding: 2rem;
        display: flex;
        align-items: center;
        gap: 40px;
    }


    .hero-text {
        flex: 1;
        text-align: left;
        font-weight: 400;
        color: black;
        gap: 20px;
        display: flex;
        flex-direction: column;
    }

    .hero-image img {
        max-width: 450px;
        width: 100%;
        height: auto;
    }

    @media (max-width: 768px) {
        .hero-image {
            order: -1;
        }
    }

    /* Mobile */
    @media (max-width: 991px) {
        .hero {
            flex-direction: column;
            width: 100%;
        }
    }

    .login-card {
        animation: float 6s ease-in-out infinite;
    }

    @keyframes float {
        0% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-8px);
        }

        100% {
            transform: translateY(0px);
        }
    }


    .account {
        position: relative;
    }

    /* Trigger */
    .account-trigger {
        cursor: pointer;
        display: inline-block;
    }

    /* Menu */
    .account-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        min-width: 180px;
        display: none;
        flex-direction: column;
        z-index: 1000;
    }

    /* Items */
    .account-item {
        display: block;
        padding: 12px 16px;
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        cursor: pointer;
    }

    /* Toggle open */
    #accountToggle:checked + .account-trigger + .account-dropdown {
        display: flex;
    }

    /* The container of the items */
    .account-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0px 8px 16px rgba(0,0,0,0.1); /* Adds depth */
        border-radius: 4px;
        padding: 8px 0;
        min-width: 160px;
        z-index: 100;
    }

    /* Common style for both the Link and the Logout Button */
    .account-item {
        display: block;
        width: 100%;
        padding: 10px 20px;
        text-align: left;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        background: none;
        border: none;
        cursor: pointer;
        transition: background 0.2s;
    }

        /* Hover state for both */
        .account-item:hover {
        }

    /* Specific fix for the logout button to remove default button styling */
    .logout {
        border-top: 1px solid #eee; /* Optional: separates logout from profile */
    }

