@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;700&display=swap');

/*--------------------------Body------------------------------*/
:root {
    --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,'Work Sans', sans-serif;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('/images//Photography//Ranch.jpg');
    background-position:center center;
    background-size:cover;
    background-repeat:no-repeat;
    
}

.Plain {
    background: linear-gradient(to top, rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('/images//Photography//Ranch.jpg');
    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: #4a6d93 !important;
    font-weight: 700;
    font-size: 14px;
}
    .TextHyperLink.RanchBlue {
        color: #ffd452 !important;
        font-weight: 700;
        font-size: 14px;
    }
.TextHyperLink.RanchBlue:hover {
    color: #282828 !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(--charcoal-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 {
    width: 200px;
}

/*-------------------------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;
}


/*-------------------------Headings--------------------------*/
h1, h2, h3,h4 {
    color: var(--armygreen-color) !important;
    font-weight: 700 !important;
    margin:30px;
    text-align: center;
}

    h1 + .instructions {
        margin-top: -30px; /* pulls it up */
        margin-bottom: 30px; /* still gives spacing after it */
    }

    h1.left {
        text-align:left;
        margin-left:0;
    }

h4 {

    margin: 10px 0;
}

/*--------------------------Footer---------------------------*/
footer p {
    margin: 5px !important;
    font-size: 12px;
}

/*--------------------------Navigation-----------------------*/
/*--------------------------Top Nav--------------------------*/
nav {
    border-bottom: solid 1px #9e9e9e !important;
    display: flex;
    justify-content: space-between;
    margin: 10px 40px;
    padding:10px;
}

.navbar-brand {
text-align:left;
width:100px;
}

.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: #4a6d93 !important;
    }
/*--------------------------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 {
    padding: 8px 15px;
    font-weight: 700;
    font-size: 14px;
    height: fit-content;
    border-radius: 4px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: none;
    color: white;
    display: flex;
    align-items: center; /* vertically centers */
    justify-content: center; /* horizontally centers */
    width: 100%; /* makes flex fill button�s width */
    text-align: center; /* fallback for text */
}

.buttonWithImage {
    width:150px;
}

.button:hover {
    background-color: var(--camel-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
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 white inset !important;
    -webkit-text-fill-color: #000 !important;
}

/*--------------------------Panel--------------------------*/
.Panel {
    
    padding: 20px;
    display:flex;
    flex-direction:column;
    gap:20px;
    /*margin: 20px;*/
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.MainPanel {
    margin: 40px;
    padding:0;
    gap:0;
    display: flex;
    flex-direction: row;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 8px 20px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
}

    .LoginPanel {
        width: 400px;
        gap: 0;
        display: flex;
        flex-direction: column;
        margin: 20px auto;
        background-color: white!important ;
    }

.PanelContent {
    display:flex;
    flex-direction:column;
    gap:20px;
    padding:20px;
}


.LoginPanel h1 {
    margin-bottom: 5px;
}

.LoginPanel .Form {
    padding-top:5px
}



/*--------------------------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 {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    box-sizing: border-box;
    background: #fff;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    align-items:center;
    text-align:center;
    min-width: 250px; /* Optional: helps cards keep shape */;
    display:flex;
    flex-direction:column;
    gap:15px
    
}
    .CardItem:hover {
   
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        transform: translateY(-4px);
    }
    .CardItem img {
        background-color: var(--green-color);
        width: 80px;
        border-radius: 100%;
        padding: 20px;
    }


    .CardItem:hover p {
        color:  var(--camel-color);
    }

.CardItem p 
{
    font-weight:700;
    font-size:16px;
    line-height:20px;
    color:#666;
    }


/*-------------------------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;


}

.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;
    }

/*--------------------------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;
    border:none;
}
    .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;
}
.ListingRowActionColumn {
    width:10%;
    display:flex;
    flex-direction:column;
    gap:15px;
}
.ListingRowImageColumn {
    width: 40%;
}

.ListingRowCarouselImage {
    border-radius:10px;
    width:100%;
    height:230px;
    object-fit:contain;
}

.carousel-control-prev-icon,
.carousel-control-next-icon
{
    background-color: var(--camel-color); /* nice off-white */
    padding:5px;
    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;
    }
/*--------------------------Vet Profile Row--------------------------*/


.ListingRowName {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 0px !important;
}


.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--------------------------*/
table {
    width:100%;
    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--------------------------*/
.ServicesTable {
    width: 700px;
}
/* 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-color) ;
    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%;
}


.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;
}

html, body {
    min-height: 100%;
    height: auto;
}



.Panel.MainPanel {
    flex: 1;
    align-items: stretch;
    min-width:1200px;

}

.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;
 }
