@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;700&display=swap');

/*--------------------------Colors------------------------------*/
:root {
    --grape:   #94618E;
    --eggplant:#49274A;
    --sand:    #F4DECB;
    --shell:   #F8EEE7;
}


/*--------------------------Body------------------------------*/
body {
    font-family: 'Poppins', sans-serif;
    background-image: url("../images/General/Backgrounds/Wallpaper.svg");
    background-color:var(--shell);
    background-size:100% ;
    display:flex;
    flex-direction:column;
}
html, body {
    height: 100%;
}
a {
    text-decoration: none !important
}

p {margin:0;
}

a:hover {
    color:var(--eggplant);
}
.TextHyperLink {
    color: #282828 !important;
    font-weight: 700;
    font-size: 14px;
}
.TextHyperLink:hover {
    color: var(--grape) !important;
    font-weight: 700;
    font-size: 14px;
}

.TextHyperLink.Orange: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:800;
    color: var(--grape);
    font-size:24px;

}
.FormSectionSubHeader
{
    text-align:left;
    font-weight:800;
    color: var(--grape);
    font-size:20px;

}
.FormLabel {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}
.Form hr
{
    width:80%;
    height:2px;
    margin:60px auto;
    color:var(--eggplant);
}

.Form hr.small {
    width: 10%;
    height: 2px;
    margin:10px;
    color:var(--eggplant);
}


.custom-form-control {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    box-sizing: border-box;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/*-------------------------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;}

#clinicPreview {
    margin: 10px;
}

/*-------------------------PT Directory Essentials----------------------*/
.PTDirectoryRow {
    margin-bottom: 15px;
}

.grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 16px; /* optional */
}

.RowsContainer
{
    display:flex;
    flex-direction: column;
}

.ColumnsContainer {
    display: flex;
    flex-direction: row;
}

.gap-5  { gap: 5px!important; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }

/*-------------------------Headings--------------------------*/
h1, h2, h3{
    color: var(--eggplant) !important;
    font-weight: 700 !important;
    margin:30px;
    text-align:center;
}
h4 {
    color: var(--eggplant) !important;
    font-weight: 700 !important;
    margin: 10px 0;
}
/*--------------------------Footer---------------------------*/
footer p {
    margin: 5px !important;
    font-size: 12px;
}

/*--------------------------Navigation-----------------------*/
/*--------------------------Top Nav--------------------------*/
nav {
    border-bottom: solid 1px var(--sand) !important;
    display:flex;
    justify-content:space-between;
    padding:25px!important ;
}
.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: var(--eggplant) !important;
    
}
.navbar-menu-link:hover {
        color: var( --grape) !important;
    }


.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

    .navbar-toggler:focus,
    .navbar-toggler:active {
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
    
/*--------------------------Inputs--------------------------*/
/*--------------------------Button--------------------------*/
.button, input::file-selector-button {
    background-color: var(--grape);
    padding: 8px 15px;
    font-weight: 700;
    font-size: 14px;
    height: fit-content;
    color: white;
    border:none;
    border-radius: 4px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}


.buttonWithImage {
    width:150px;
}

.button:hover {
    background-color: var(--eggplant);
    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
}

/*--------------------Background Colors--------------------*/
.GreenBackground {
    background-color: #73b88f
}
.YellowBackground {
    background-color: #f6ce6e;
}
.RedBackground {
    background-color: #d4423f
}

.GrapeBackground {
    background-color: var(--grape);
}

.EggPlantBackground {
    background-color: var(--eggplant);
}

/*--------------------------Panel--------------------------*/
.Panel {
    background-color: var(--sand);
    padding: 20px;
    margin: 20px;
    border-radius: 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.LoginPanel {
    width:400px;

    display:flex;
    flex-direction:column;
    margin:20px auto;
}

.LoginPanel h1 {
    margin-bottom:0
}

/*--------------------------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 */
}

.bg-one
{
    background-image: url("../images/General/Backgrounds/bg-one.jpg")!important;
    background-size: 100% !important;
    background-repeat: no-repeat;
}
.bg-two
{
    background-image: url("../images/General/Backgrounds/bg-two.jpg")!important;
    background-size: 100% !important;
    background-repeat: no-repeat;
}
.bg-three
{
    background-image: url("../images/General/Backgrounds/bg-three.jpg")!important;
    background-size: 100% !important;
    background-repeat: no-repeat;
}
.bg-four
{
    background-image: url("../images/General/Backgrounds/bg-four.jpg")!important;
    background-size: 100% !important;
    background-repeat: no-repeat;
}

.CardItem {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    box-sizing: border-box;
    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;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    padding:20px;
    background: white;
    
}

.CardItem img {

    width:250px;
}

.CardItem p
{
    font-weight:700;
    font-size:16px;
    line-height:20px;
    color:var(--grape);
    transition: transform .35s ease;

}

.CardItem:hover  {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
}

.CardItem:hover {
    transform: scale(1.05);
    color:var(--eggplant);
}

/*--------------------------Action Menu--------------------------*/
.TopActionMenu {
    display: flex;
    gap:10px;
    flex-direction: row;
    justify-content: flex-end;
    margin-top:70px;
    margin-bottom:30px;
}
.BottomActionMenu {
    display: flex;
    gap: 10px;
    flex-direction: row;
    justify-content: flex-end;
    margin-top: 30px;
}
/*--------------------------Search Menu--------------------------*/
.SearchMenu {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 20px 0;
    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;
}

.SearchResultsHeadingFilter {
    display: flex;
    flex-direction: row;
    justify-content: space-between
}
.SearchFilter {
    display: flex;
    gap:5px;
    flex-direction: row;
    align-items:center;
    height:40px;
    width:175px;
}
.SearchFilter img {
    width: 20px;
    
}
.SearchResults {
    margin-bottom:30px;
}


/*--------------------------Vet Search Row--------------------------*/
.TherapistProfileRow {
    background-color: #f6f6f6; /* nice off-white */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    margin-bottom: 16px;
    padding:20px;
    gap:15px;
    border: 1px solid #ebe2dd;
}

.TherapistProfileRow:hover {
    background-color: white;
    transform: translateY(-2px);
    transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.TherapistProfileRowImage
{
    width:250px;
}

.TherapistProfileRowImage img {
    width:100%;
    border-radius:20px;
    height:100%;
    object-fit:cover;
}

.TherapistProfileRowPracticeInformation
{
    width:250px;
    background-color:var(--sand);
    padding:10px;
    border-radius:10px;
}

.TherapistProfileRowPracticeInformation hr
{
    margin:2px;
    width:10px;
    text-align: center;
    opacity: 0.3;
}

.TherapistProfileRowName
{
 font-weight: 800;   
 color:var(--eggplant);
 font-size:26px;
}

.TherapistProfileRowTitle
{
font-size:16px;
color:var(--grape);
}

.TherapistProfileRowHeading
{
font-size:18px;
    font-weight:800;
    color:var(--eggplant);
}

.TherapistProfileBold
{
    font-weight:800;
    color:var(--eggplant);
}

.TherapistProfileMedium
{
    font-size:13px;
}


.TherapistProfileSmall
{
    font-size:11px;
}

.TherapistSocialMediaIcons img
{
    width:20px;
}





/*--------------------------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;}
/*--------------------------Taxonomy Table--------------------------*/
.TaxonomyTable {
    width: 700px;
    background: var(--shell);
}

/*--------------------------Instructions--------------------------*/
.instructions {
    color: var(--grape);
    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:var(--grape);
    transform: translateY(-50%);
    border-radius: 4px;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    height: 6px;
    background: var(--eggplant);
    width: 0;
    transition: width 0.4s ease;
    transform: translateY(-50%);
    border-radius: 4px;
}

.step-indicator {
    width: 36px;
    height: 36px;
    background: var(--shell);
    border: 2px solid var(--eggplant);
    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: var(--eggplant);
        color: white;
        border-color: var(--grape);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
        transform: scale(1.1);
    }


    /*Mobile*/
@media (max-width: 768px) {


    .Panel {
        padding: 10px;
        display: inline-block;

    }


    .LoginPanel {
        width: 100%;
        display: flex;
    }



    /*TopActionMenu*/
    .TopActionMenu {
        flex-direction: column;
        margin-top: 10px;
        margin-bottom: 10px;
    }


    /*Search Menu*/
    .SearchMenu {
        flex-direction: column
    }

    .styled-dropdown {
        width: 100% !important;
    }


    /*Nav Menu*/
    .navbar-menu-link {
        display: block;
        text-align: center;
    }

   }


.account {
    position: relative;
}

/* Trigger */
.account-trigger {
    cursor: pointer;
    padding: 10px 14px;
    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: var(--sand);
    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 */

}