:host {
    display: block;
    background-color: #ffffff;
    font-family: 'Arial', sans-serif;
}

/* Section Titles */


/* Filter Buttons / Tags */
.filter-section button {
    background-color: #ffffff; /* always white */
    color: #002147; /* text color */
    border: 1px solid #79c14f;
    border-radius: 50px; /* pill shape */
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    margin: 0.3rem;
    cursor: pointer;
    transition: color 0.2s ease-in-out; /* only animate text color */
}

/* Hover state: only text changes */
.filter-section button:hover {
    color: #79c14f; /* text changes on hover */
    background-color: #ffffff !important; /* force white background */
    border: 1px solid #79c14f; /* border stays same */
}

/* Active / clicked state: force background to stay white */
.filter-section button.active {
    background-color: #ffffff !important;
    color: #002147 !important; /* keep text color */
    border: 1px solid #79c14f !important;
}


.custom-combobox .slds-combobox__input {
    border: solid 1px #2c3e66;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 1rem;
    color: #2c3e66;
}
/* 
.custom-combobox .slds-listbox__option {
    background: #2c3e66;  
    color: white;
}

.custom-combobox .slds-listbox__option:hover {
    background: #3d4f80;  
}
 */
.search-row {
    display: flex;
    gap: 1rem;
}

.search-row lightning-input,
.search-row lightning-combobox {
    flex: 1;
}

/* ----------------- Input Styling ----------------- */
.search-row lightning-input input {
    border-radius: 50px; /* pill shape */
    background-color: #002147; /* navy background */
    color: #ffffff; /* white text */
    padding: 0.6rem 1rem;
    border: none;
    font-weight: 400;
}

/* Placeholder for input */
.search-row lightning-input input::placeholder {
    color: #ffffffb3;
}

/* Input focus */
.search-row lightning-input input:focus {
    outline: 2px solid #79c14f; /* green focus ring */
}

/* ----------------- Combobox Styling ----------------- */
.search-row lightning-combobox {
    --sds-c-input-border-radius: 50px; /* pill shape */
    --sds-c-input-color-background: #002147; /* navy background */
    --sds-c-input-color-text: #ffffff; /* text color */
    --sds-c-input-color-placeholder: #ffffffb3; /* placeholder color */
    --sds-c-input-padding: 0.6rem 1rem;
}

/* Selected value inside combobox input */
.search-row lightning-combobox input.slds-input {
    border-radius: 50px !important;
    background-color: #002147 !important;
    color: #ffffff !important; /* white selected value */
    padding: 0.6rem 1rem !important;
    font-weight: 400;
}

/* Placeholder for combobox */
.search-row lightning-combobox input.slds-input::placeholder {
    color: #ffffffb3 !important;
}

/* Combobox dropdown items */
.search-row lightning-combobox .slds-listbox__option {
    color: #ffffff; /* white text */
    background-color: #002147; /* navy background */
}

/* Hover effect for dropdown items */
.search-row lightning-combobox .slds-listbox__option:hover {
    background-color: #003366; /* slightly lighter navy */
}

/* Combobox arrow color */
.search-row lightning-combobox .slds-combobox__form-element .slds-button__icon {
    fill: #ffffff; /* white arrow */
}

/* Focus outline for combobox */
.search-row lightning-combobox input.slds-input:focus {
    outline: 2px solid #79c14f; /* green focus ring */
}


/* Clear Filter Button */
button.clear-filter {
    background: none;
    color: #79c14f;
    font-weight: bold;
    border: none;
    margin-left: 1rem;
    cursor: pointer;
    font-size: 0.85rem;
}

button.clear-filter:hover {
    text-decoration: underline;
}

/* Barrister List Grid */
.barrister-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

/* Barrister Card */
.barrister-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem;
    width: 250px;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.barrister-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Barrister Photo */
.barrister-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

/* Barrister Name */
.barrister-card p {
    margin: 0.2rem 0;
    font-weight: 500;
    color: #002147;
}

.clearbtn:hover {color: #324064;}
*{ font-size:16px;}
.selectedtab1{color: #79c14f !important;}
a:hover{text-decoration:none;}
.heading-decoration { font-family: 'Roboto', sans-serif; font-weight:900;}
.heading-decoration:before{content:"";position:absolute;bottom:0px;width:50px; height:2px;background-color:#79c14f;}
.area-list-btn { background: #f7f7f7; border-radius: 30px; padding: 8px 12px; min-width: 100px; display: inline-block; text-align: center; margin: 0px 9px 15px 0px; font-size: 14px; color: #504e4e; cursor: pointer; border: 1px solid #79c14f; font-weight: 600;}
.area-list-btn:hover, .area-list-btn:active, .area-list-btn:focus { border: 1px solid #324064; color: #79c14f; text-decoration: none;}
.shadow { box-shadow: 1px 0 10px 1px #ccc;}
.slds-input-blue, .slds-input-blue:focus{font-weight:400 !important; border: solid 1px #2c3e66 !important; border-radius: 10px !important; padding: 10px 15px !important; font-size: 1rem; color: #2c3e66 !important; height:auto !important;}
.slds-input-blue::-webkit-input-placeholder { /* Edge */  color: #2c3e66;  font-weight:400;}
.slds-input-blue:-ms-input-placeholder { /* Internet Explorer 10-11 */  color: #2c3e66;  font-weight:400;}
.slds-input-blue::placeholder { color: #2c3e66;  font-weight:400;}

.barristr-wrp-gl .slds-col a { border-width: 2px; border-color: #324064; display: block;}
.barristr-wrp-gl .slds-col a:hover h4, .barristr-wrp-gl .slds-col a:hover ul, .barristr-wrp-gl .slds-col a:hover ul li{ color: #79c14f;}
.all-text-color { color: #324064;}
.barristr-wrp-gl .slds-large-size_4-of-12 h4 { font-weight:700; font-family: 'Roboto', sans-serif;}
.fliter-select-bx #select-01 { color: #324064 !important;    background-color: transparent;}
.barristr-wrp-gl .barristr-col .figure { width: 160px; min-height: 160px; max-height: 160px; border: 1px solid #f1f1f1; overflow: hidden; border-top: 0px; position: relative; background-color: #ffffff;}
.barristr-wrp-gl .barristr-col .figcaption { width: calc(100% - 160px);}
.barristr-wrp-gl .barristr-col .figure img { position: absolute; top: 49%; left: 50%; transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); max-height: 100%; width: auto; height: 100%; max-width: unset;}        
.loaler-wrap { position: fixed; top: 50% !important; left: 50% !important; z-index: 1; background-color: #00000070; width: 100%; height: 100% !important; transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); display: flex; flex-flow: wrap; align-items: center; justify-content: center;}        
.barrister-filter-result h2:before{ display:none;}
.barristr-wrp-gl { margin: 0px;}
.barristr-wrp-gl .barristr-col { width: 32%; padding-left: 0px; padding-right: 0px;}
.barristr-wrp-gl .barristr-col:nth-child(3n+2) { margin-left: 2%; margin-right: 2%;}
.barristr-wrp-gl .barristr-col a .slds-grid { margin-left: 0px; margin-right: 0px;}
.select-heading-barri:before{ display:none;}        
.area-of-low-mobileview{ display:none;}

.test-practice .input-wrapper .search-input label { display: none;}
.test-practice .input-wrapper .search-input .slds-input {    font-weight: 400 !important;    border: solid 1px #2c3e66 !important;    border-radius: 50px !important;    padding: 10px 15px !important;    font-size: 1rem;    color: #2c3e66 !important;    height: auto !important;}

.selected-pill { background: #f7f7f7 !important; border-radius: 30px; padding: 8px 12px; display: inline-block; text-align: center; font-size: 14px; color: #324064 !important; cursor: pointer; border: 1px solid #79c14f !important; font-weight: 600 !important; }
.selected-pill .pill-remove {    color: #324064 !important;}

.are-practice-bx .input-wrapper { flex-flow: wrap;}
.are-practice-bx .test-practice .input-wrapper .search-input .slds-input { border-radius: unset !important; padding: 9px 15px !important; border: none !important;}
.are-practice-bx .test-practice .input-wrapper { border: solid 1px #2c3e66 !important; border-radius: 10px !important; padding: 10px 15px !important; overflow: hidden !important;}
.are-practice-bx .test-practice { position: relative;}

/* ================= Barrister Name Styling ================= */


/* âœ… Barrister Name Input â€“ same look as Area of Practice */
.barrister-checkbox-container .search-input .slds-input {
    width: 100%;
    box-sizing: border-box;
    font-weight: 400 !important;
    border: solid 1px #2c3e66 !important;
    border-radius: 10px !important;   /* match Area of Practice */
    padding: 10px 15px !important;
    font-size: 1rem;
    color: #2c3e66 !important;
    height: 50px !important;          /* same fixed height */
    background-color: #fff !important;
}

/* Hide label inside container */
.barrister-checkbox-container .search-input label {
    display: none;
}

/* âœ… Dropdown styling */
.barrister-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    border: solid 1px #2c3e66;
    border-radius: 10px;
    background-color: #ffffff;
    z-index: 10;
    margin-top: 1px;
    padding: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
color: #2c3e66;
}

.barrister-checkbox-container .barrister-dropdown label .slds-form-element__label { font-size: 14px; color: #324064; font-weight: 500;}


/* Each checkbox row */
.barrister-dropdown .barrister-checkbox {
    margin-bottom: 6px;
}

/* âœ… Selected pill styling (reuse Area pills) */
.barrister-checkbox-container .pill-container {
    margin-top: 6px;
}

.barrister-checkbox-container .selected-pill {
    display: inline-flex;
    align-items: center;
    background-color: #2c3e66;
    color: #fff;
    border-radius: 20px;
    padding: 5px 10px;
    margin: 5px 5px 0 0;
    font-size: 0.875rem;
}

.barrister-checkbox-container .selected-pill .pill-remove {
    color: #324064 !important;
    margin-left: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* âœ… Remove stray scoped padding rule */
.search-input[lwc-3su3dobmd2t] {
    width: 100% !important;
    padding-right: 0 !important;
}

.slds-input::placeholder { color: #324064 !important;}
.slds-input::-ms-input-placeholder { color: #324064 !important;}


.barrister-checkbox-container .input-wrapper { border: solid 1px #2c3e66 !important; border-radius: 10px !important; padding: 0px !important; overflow: hidden !important;flex-flow: wrap;}
.barrister-checkbox-container .input-wrapper .slds-input { border-radius: unset !important; padding: 9px 15px !important; border: none !important;}
.barrister-checkbox-container .input-wrapper .pill-container { width: 100%; padding: 0px 15px 15px; margin: 0px;}
.barrister-checkbox-container .input-wrapper .pill-container .selected-pill { margin: 0px !important; font-size: 12px !important; padding: 4px 8px 4px 12px;}
.barrister-search-criteria .slds-combobox_container .slds-listbox__option { padding: 3px 8px;}
.barrister-search-criteria .slds-combobox_container span { color: #324064 !important;}
.barrister-search-criteria .slds-combobox_container .slds-listbox__option:hover, .barrister-search-criteria .slds-combobox_container .slds-listbox__option:focus { background-color: transparent !important; box-shadow: none !important; outline: none !important;}
.custom-pagination-row button { color: #324064; background-color: #fff; border: solid 1px #d4d4d4; margin-right: -1px; padding: 3px 15px;}
.custom-pagination-row button:hover, .custom-pagination-row button:active { background-color: #324064; color: #79c14f;}
.custom-pagination-row button:first-child { border-top-left-radius: 4px; border-bottom-left-radius: 4px;}
.custom-pagination-row button:last-child { border-top-right-radius: 4px; border-bottom-right-radius: 4px;}


.accordion-wrapper .accordion-drop-bx .accordion-content label, .accordion-wrapper .accordion-drop-bx .accordion-content span {    color: #324064;    font-weight: 600;}

.slds-input:focus { outline: none !important; box-shadow: none !important;}

.comm-layout-column { padding: 0px !important;}
.comm-layout-column c-gl-mediators-page { padding: 0px !important;}



@media screen and (max-width: 1199px)
{
	.shadow{ padding:15px;}
	.area-list-btn { margin: 0px 5px 10px 0px;}
	.barristr-wrp-gl .barristr-col .figure { width: 100px; min-height: 100px; max-height: 100px;}
	.barristr-wrp-gl .barristr-col .figcaption { width: calc(100% - 100px);}
	.barristr-wrp-gl .barristr-col .figcaption h4 { font-size: 16px;}
}

@media screen and (max-width: 1199px)
{
	.barristr-wrp-gl .barristr-col { width: 49%;}
	.barristr-wrp-gl .barristr-col:nth-child(3n+2) { margin-left: 0%; margin-right: 0%;}
	.barristr-wrp-gl .barristr-col:nth-child(odd) {	 margin-right: 1%;}
	.barristr-wrp-gl .barristr-col:nth-child(even) { margin-left: 1%;}	
}


@media screen and (max-width: 767px)
{
	.barristr-wrp-gl .slds-large-size_4-of-12 .slds-size_2-of-3 { padding-right: 0px;}
	.barristr-wrp-gl .slds-large-size_4-of-12 h4 { padding: 5px 0px; font-size:16px;}
	.gl-none{ display:none;}
	.heading-decoration { font-size: 20px;}
	.barristr-wrp-gl .barristr-col { width: 100%;}
	.barristr-wrp-gl .barristr-col:nth-child(odd) {	 margin-right: 0%;}
	.barristr-wrp-gl .barristr-col:nth-child(even) { margin-left: 0%;}
	.area-of-low-desktopview{ display:none;}
	.area-of-low-mobileview{ display:block;}
}

@media screen and (max-width: 479px)
{
	.barristr-wrp-gl .barristr-col .figure { width: 70px; min-height: 70px; max-height: 70px;}
	.barristr-wrp-gl .barristr-col .figcaption { width: calc(100% - 70px);}
}