:root {
    --ibkg-custom-color: #ea6d27;
    --ibkg-messagebox-color: #f04e4d;
    --ibkg-custom-title: #91522d;
}

/*Styling the datepicker only for ibkg class*/
/* DatePicker Container */
.ibkg-datepicker .ui-datepicker {
    width: 250px;
    height: auto;
    margin: 5px auto 0;
    font: 9pt Arial, sans-serif;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    box-sizing: inherit;
    padding: .2em .2em 0;
    color: #333333;
    border-radius: 4px;
    border: 1px solid #cccccc;
}

.ibkg-datepicker .ui-datepicker a {
    text-decoration: none;
}

/* DatePicker Table */
.ibkg-datepicker .ui-datepicker table {
    width: 100%;
    font-size: 1.2em;
    margin-bottom: 2px;
    margin-top: 0;
    border: none;
    border-spacing: 2px;
    overflow: visible;
}

.ibkg-datepicker .ui-widget-header {
    background: #515559 !important;
    border: 1px solid #515559;
}

.ibkg-datepicker .ui-datepicker-header {
    color: #e0e0e0;
    font-weight: bold;
    -webkit-box-shadow: inset 0 1px 1px 0 rgba(250, 250, 250, 2);
    -moz-box-shadow: inset 0 1px 1px 0 rgba(250, 250, 250, .2);
    box-shadow: inset 0 1px 1px 0 rgba(250, 250, 250, .2);
    filter: dropshadow(color=#000, offx=1, offy=-1);
    line-height: 30px;
    border-width: 0.5px 0 0 0;
    border-style: solid;
    border-radius: 4px;
}

.ibkg-datepicker .ui-icon {
    width: 20px;
    height: 20px;
}

.ibkg-datepicker .ui-datepicker-title {
    text-align: center;
    line-height: 2.5em;
}

.ibkg-datepicker .ui-datepicker-prev,
.ibkg-datepicker .ui-datepicker-next {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    background-repeat: no-repeat;
    overflow: hidden;
}

.ibkg-datepicker .ui-datepicker-prev {
    float: left;
    background-position: center -30px;
}

.ibkg-datepicker .ui-datepicker-next {
    float: right;
    background-position: center 0;
}

.ibkg-datepicker .ui-datepicker-prev:hover,
.ibkg-datepicker .ui-datepicker-next:hover {
    border: none;
}

.ibkg-datepicker .ui-datepicker-prev span.ui-icon {
    background-image: url("../img/arrow_prev.png");

}

.ibkg-datepicker .ui-datepicker-next span.ui-icon {
    background-image: url("../img/arrow_next.png");

}

.ibkg-datepicker .ui-datepicker-prev span.ui-icon,
.ibkg-datepicker .ui-datepicker-next span.ui-icon {
    background-size: contain;
    background-position: center;
    margin-left: -10px;
    margin-top: 4px;
    color: transparent;
    position: absolute;
}

.ibkg-datepicker .ui-widget-content {
    background: #F3F3F3;
}

.ibkg-datepicker .ui-datepicker thead {
    background-color: #f7f7f7;
    background-image: -moz-linear-gradient(top, #f7f7f7 0%, #f1f1f1 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #f1f1f1));
    background-image: -webkit-linear-gradient(top, #f7f7f7 0%, #f1f1f1 100%);
    background-image: -o-linear-gradient(top, #f7f7f7 0%, #f1f1f1 100%);
    background-image: -ms-linear-gradient(top, #f7f7f7 0%, #f1f1f1 100%);
    background-image: linear-gradient(top, #f7f7f7 0%, #f1f1f1 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#f1f1f1', GradientType=0);
}

.ibkg-datepicker .ui-datepicker th {
    font-size: 9pt;
    padding: 5px 0;
    color: #666666;
    text-shadow: 1px 0 0 #fff;
    filter: dropshadow(color=#fff, offx=1, offy=0);
}

.ibkg-datepicker .ui-datepicker tbody td {
    padding: 0;
    border: 0.5px solid #bbb;
}

.ibkg-datepicker td,
.ibkg-datepicker th {
    text-align: center;
    border: none;
}

.ibkg-datepicker .ui-datepicker td span,
.ibkg-datepicker .ui-datepicker td a {
    display: inline-block;
    font-weight: normal;
    text-align: center;
    width: 30px;
    height: 30px;
    border: 1px solid transparent;
    line-height: 30px;
    padding: 0;
    color: #666666;
    background: none;
    filter: dropshadow(color=#fff, offx=1, offy=1);
}

.ibkg-datepicker .ui-state-default {
    background: #ededed;
    background: -moz-linear-gradient(top, #ededed 0%, #dedede 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed), color-stop(100%, #dedede));
    background: -webkit-linear-gradient(top, #ededed 0%, #dedede 100%);
    background: -o-linear-gradient(top, #ededed 0%, #dedede 100%);
    background: -ms-linear-gradient(top, #ededed 0%, #dedede 100%);
    background: linear-gradient(top, #ededed 0%, #dedede 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dedede', GradientType=0);
    -webkit-box-shadow: inset 1px 1px 0 0 rgba(250, 250, 250, .5);
    -moz-box-shadow: inset 1px 1px 0 0 rgba(250, 250, 250, .5);
    box-shadow: inset 1px 1px 0 0 rgba(250, 250, 250, .5);
    text-decoration: none !important;
}

.ibkg-datepicker .ui-state-hover {
    background: #f7f7f7;
    border-radius: 15px;
    border: 1px solid #515559 !important;
}

.ibkg-available-day a:hover {
    background-color: springgreen !important;
    border-radius: 15px;
    color: #000000 !important;
    border: 1px springgreen !important;
    transform: scale(1.1); /* mărește puțin */
    box-shadow: 0 0 8px rgba(0, 128, 0, 0.6); /* glow verde */
    cursor: pointer;
}

.ibkg-available-day a {
    background-color: springgreen !important;
    color: #000000 !important;
    border: 2px springgreen !important;
    border-radius: 15px;
}

.ibkg-nume-medic {
    display: flex;
    flex-direction: column; /* logo sus, nume jos */
    justify-content: center;
    align-items: center;
    text-align: center;

    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;

    padding: 15px 20px;
    margin: 20px auto;
    max-width: 400px;

    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.ibkg-nume-medic img.ibkg-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 12px;
}

.ibkg-nume-medic span {
    display: block;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}

/* Responsiv pentru mobil */
@media (max-width: 480px) {
    .ibkg-nume-medic {
        font-size: 18px;
        padding: 12px;
    }

    .ibkg-nume-medic img.ibkg-logo {
        max-width: 90px;
        margin-bottom: 10px;
    }
}

.ibkg-datepicker .ui-state-active {
    -webkit-box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, .1);
    -moz-box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, .1);
    box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, .1);
    position: relative;
    font-weight: bold !important;
}

.ibkg-datepicker .ui-state-disabled {
    opacity: .35;
}

.ui-datepicker-unselectable .ui-state-default {
    background: #f4f4f4;
    color: #b4b3b3;
}

.ibkg-datepicker td:first-child .ui-state-active {
    width: 29px;
}

.ibkg-datepicker td:last-child .ui-state-active {
    width: 29px;
}

.ibkg-datepicker tr:last-child .ui-state-active {
    height: 29px;
}

/** Style datepicker for input **/
#ui-datepicker-div.ui-datepicker {
    width: 250px;
    height: auto;
    margin: 5px auto 0;
    font: 9pt Arial, sans-serif;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    box-sizing: inherit;
    padding: .2em .2em 0;
    color: #333333;
    border-radius: 4px;
    border: 1px solid #cccccc;
    background-color: white;
}

#ui-datepicker-div.ui-datepicker a {
    text-decoration: none;
}

/* DatePicker Table */
#ui-datepicker-div.ui-datepicker table {
    width: 100%;
    font-size: 1.2em;
    margin-bottom: 2px;
    margin-top: 0;
    border: none;
    border-spacing: 2px;
    overflow: visible;
}

#ui-datepicker-div .ui-widget-header {
    background: #515559 !important;
    border: 1px solid #515559;
}

#ui-datepicker-div .ui-datepicker-header {
    color: #e0e0e0;
    font-weight: bold;
    -webkit-box-shadow: inset 0 1px 1px 0 rgba(250, 250, 250, 2);
    -moz-box-shadow: inset 0 1px 1px 0 rgba(250, 250, 250, .2);
    box-shadow: inset 0 1px 1px 0 rgba(250, 250, 250, .2);
    filter: dropshadow(color=#000, offx=1, offy=-1);
    line-height: 30px;
    border-width: 0.5px 0 0 0;
    border-style: solid;
    border-radius: 4px;
}

#ui-datepicker-div .ui-icon {
    width: 20px;
    height: 20px;
}

#ui-datepicker-div .ui-datepicker-title {
    text-align: center;
    line-height: 2.5em;
}

#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    background-repeat: no-repeat;
    overflow: hidden;
}

#ui-datepicker-div .ui-datepicker-prev {
    float: left;
    background-position: center -30px;
}

#ui-datepicker-div .ui-datepicker-next {
    float: right;
    background-position: center 0;
}

#ui-datepicker-div .ui-datepicker-prev:hover,
#ui-datepicker-div .ui-datepicker-next:hover {
    border: none;
}

#ui-datepicker-div .ui-datepicker-prev span.ui-icon {
    background-image: url("../img/arrow_prev.png");

}

#ui-datepicker-div .ui-datepicker-next span.ui-icon {
    background-image: url("../img/arrow_next.png");

}

#ui-datepicker-div .ui-datepicker-prev span.ui-icon,
#ui-datepicker-div .ui-datepicker-next span.ui-icon {
    background-size: contain;
    background-position: center;
    margin-left: -10px;
    margin-top: 4px;
    color: transparent;
    position: absolute;
}

#ui-datepicker-div .ui-widget-content {
    background: #F3F3F3;
}

#ui-datepicker-div.ui-datepicker thead {
    background-color: #f7f7f7;
    background-image: -moz-linear-gradient(top, #f7f7f7 0%, #f1f1f1 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #f1f1f1));
    background-image: -webkit-linear-gradient(top, #f7f7f7 0%, #f1f1f1 100%);
    background-image: -o-linear-gradient(top, #f7f7f7 0%, #f1f1f1 100%);
    background-image: -ms-linear-gradient(top, #f7f7f7 0%, #f1f1f1 100%);
    background-image: linear-gradient(top, #f7f7f7 0%, #f1f1f1 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#f1f1f1', GradientType=0);
}

#ui-datepicker-div.ui-datepicker th {
    font-size: 9pt;
    padding: 5px 0;
    color: #666666;
    text-shadow: 1px 0 0 #fff;
    filter: dropshadow(color=#fff, offx=1, offy=0);
}

#ui-datepicker-div.ui-datepicker tbody td {
    padding: 0;
    border: 0.5px solid #bbb;
}

#ui-datepicker-div td,
#ui-datepicker-div th {
    text-align: center;
    border: none;
}

#ui-datepicker-div.ui-datepicker td span,
#ui-datepicker-div.ui-datepicker td a {
    display: inline-block;
    font-weight: normal;
    text-align: center;
    width: 30px;
    height: 30px;
    border: none;
    line-height: 30px;
    padding: 0;
    color: #666666;
    background: none;
    filter: dropshadow(color=#fff, offx=1, offy=1);
}

#ui-datepicker-div .ui-state-default {
    background: #ededed;
    background: -moz-linear-gradient(top, #ededed 0%, #dedede 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed), color-stop(100%, #dedede));
    background: -webkit-linear-gradient(top, #ededed 0%, #dedede 100%);
    background: -o-linear-gradient(top, #ededed 0%, #dedede 100%);
    background: -ms-linear-gradient(top, #ededed 0%, #dedede 100%);
    background: linear-gradient(top, #ededed 0%, #dedede 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dedede', GradientType=0);
    -webkit-box-shadow: inset 1px 1px 0 0 rgba(250, 250, 250, .5);
    -moz-box-shadow: inset 1px 1px 0 0 rgba(250, 250, 250, .5);
    box-shadow: inset 1px 1px 0 0 rgba(250, 250, 250, .5);
    text-decoration: none !important;
}

#ui-datepicker-div .ui-state-hover {
    background: #f7f7f7;
    border-radius: 15px;
    border: 2px solid #515559 !important;
}

#ui-datepicker-div .ui-state-active {
    -webkit-box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, .1);
    -moz-box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, .1);
    box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, .1);
    position: relative;
    font-weight: bold !important;
}

#ui-datepicker-div .ui-state-disabled {
    opacity: .35;
}

.ui-datepicker-unselectable .ui-state-default {
    background: #f4f4f4;
    color: #b4b3b3;
}

#ui-datepicker-div td:first-child .ui-state-active {
    width: 29px;
    margin-left: 0;
}

#ui-datepicker-div td:last-child .ui-state-active {
    width: 29px;
    margin-right: 0;
}

#ui-datepicker-div tr:last-child .ui-state-active {
    height: 29px;
    margin-bottom: 0;
}

/*End of styling for datepicker*/

.alertify-notifier {
    margin-top: 20px;
    z-index: 999999 !important;
}

#ibkg-appointment-details {
    background-color: #f3f3f3;
    padding-left: 3px;

}

.card-address {
    background-color: white;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 6px;
    height: 100%;
    cursor: pointer;
}


#doctorsTable {
    margin-top: 15px;
}

#doctor-list-spinner {
    display: none;
    margin-top: 15px;
    -webkit-text-size-adjust: 100%;
    font-family: Verdana, sans-serif;
    font-size: 15px;
    color: #000;
    box-sizing: inherit;
    border: 5px solid #f3f3f3;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    border-top: 5px solid #555;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.doctor-name {
    font-family: Arial, Helvetica, sans-serif;
    text-transform: capitalize;
}

.doctor-specialty {
    font-family: Arial, Helvetica, sans-serif;
    text-transform: capitalize;
    color: var(--ibkg-custom-title);
}

.doctor-grade {
    font-family: Arial, Helvetica, sans-serif;
    text-transform: capitalize;
}

.ibkg-p-text {
    font-size: 13px;
}

.ibkg-loader-custom {
    position: relative;
    overflow-y: hidden;
    border: 10px solid #f3f3f3;
    border-radius: 100%;
    border-top: 10px solid gray;
    border-bottom: 10px solid gray;
    width: 40px;
    height: 40px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.location-name {
    color: var(--ibkg-custom-color);
    font-weight: bold;
}

.med-image {
    display: block;
    height: 150px !important;
    margin: auto;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
}

#ibkg-form-submit {
    margin-top: 10px;
}

.ibkg-form-warning {
    color: red;
    margin: 0;
}

#content-section {
    display: none;
    padding-top: 0;
}

.ibkg-schedule-box {
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 6px;
    background-color: white;
    max-width: 200px;
    height: 130px;
    margin: 10px auto;
    position: relative;
    display: none;
    border: 1px solid rgba(211, 211, 211, 0.53);
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
}

.schedule-top-bar {
    border-bottom: 1px solid lightgrey;
    font-size: small;
}

.schedule-display {
    width: 100%;
    text-align: center;
}

.schedule-display::-webkit-scrollbar {
    /*noinspection CssInvalidFunction*/
    -webkit-box-shadow: inset 0 0 2px rgb(0 0 0 / 30%);
    border-radius: 2px;
    width: 10px;
}

.schedule-display::-webkit-scrollbar-thumb {
    border-radius: 6px;
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
}

#setari-aspect {
    font-size: 13px;
}

#setari-aspect > ol > li:nth-child(n) > ul {
    list-style: disc inside;
}

.ibkg-time-span {
    display: inline-block;
    color: #666666;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f3f3f3;
    cursor: pointer;
    line-height: normal;
    font-size: medium;
    text-align: center;
    border-radius: 12px;
    border: 1px solid lightgray;
    padding-top: 3px;
    padding-bottom: 3px;
    width: 100px;
    margin: 4px 4px 4px 4px;
}

.ibkg-time-span:hover {
    border: 1px solid #515559;
}

#title-select-locations {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 35px;
    color: var(--ibkg-custom-title);
    text-align: center;
    padding-bottom: 30px;
}

#ibkg-p-form,
#ibkg-message-form {
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 6px;
    background-color: white;
    max-width: 375px;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
    padding: 15px;
    font-size: medium;
    display: none;
}

#ibkg-p-form {
    text-align: left;
}

#numePacient,
#prenumePacient,
#emailPacient,
#telPacient {
    width: 100%;
}

#scopes,
#appointment-special-block,
#messageTextPacient {
    font-size: medium;
    width: 100%;
}

.ibkg-scope-list-checkbox-container .ibkg-inline-scope {
    display: unset;
    padding-left: 0;
}

.ibkg-scope-list-checkbox-container div {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

div[id^="location"] div[id^="container-"] {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

div[id^="location"] div[id^="container-"] label {
    margin-left: 10px;
    cursor: pointer;
}

div[id^="location"] div[id^="container-"] input[type="radio"] {
    margin-right: 10px;
}

#ibkg-message-form {
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
}

/* Style the tab */
.ibkg-tab {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
}

/* Style the buttons inside the tab */
.ibkg-tab button {
    background-color: #f5f5f5;
    float: left;
    border: none;
    margin-right: 4px;
    outline: none;
    cursor: pointer;
    padding: 7px 10px;
    transition: 0.3s;
    font-size: 17px;
    border-radius: 6px 6px 0 0;
}

/* Change background color of buttons on hover */
.ibkg-tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.ibkg-tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.ibkg-tabcontent {
    display: none;
    padding: 6px 0;
    border-top: none;
}

.ibkg-container {
    font-weight: 400;
    text-align: left;
    color: #000000;
    line-height: 1.5;
    font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
    letter-spacing: normal;
    font-size: 2.1rem;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    word-wrap: break-word;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1140px;
}

.ibkg-row {
    font-weight: 400;
    color: #000000;
    line-height: 1.5;
    font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
    letter-spacing: normal;
    font-size: 2.1rem;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    word-wrap: break-word;
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    text-align: center;
}

.ibkg-col-12 {
    font-weight: 400;
    color: #000000;
    line-height: 1.5;
    font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
    letter-spacing: normal;
    font-size: 2.1rem;
    text-align: center;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    word-wrap: break-word;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-bottom: 1.5rem !important;
}

.ibkg-button {
    display: inline-block;
}

.ibkg-button:hover {
    text-decoration: none;
}

#wp-ibkg-text-suplimentar-mesaj-wrap {
    max-width: 700px;
}

/*Styling the modal*/
.ibkg-overlay-container {
    display: none;
    width: 100%;
    max-width: 8000px;
    height: 100vh;
    position: fixed;
    opacity: 0.9;
    background: #222;
    z-index: 40000;
    top: 0;
    left: 0;
    overflow: hidden;
    animation-name: fadeIn_Container;
    animation-duration: 1s;
}

.ibkg-modal-form {
    display: none;
    min-width: 250px;
    min-height: 225px;
    width: 80%;
    max-height: calc(100% - 80px);
    position: fixed;
    /* z-index pentru modal tot timpul este 1060 */
    z-index: 1060;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 0 10px #000;
    animation-name: fadeIn_Modal;
    animation-duration: 0.8s;
    overflow-x: hidden;
    overflow-y: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ibkg-modal-header {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1;
    font-size: medium;
    padding: 10px;
    height: 45px;
    border-radius: 6px 6px 0 0;
    border-bottom: 0.5px solid #bbb;
}

.ibkg-modal-header a {
    text-decoration: none;
    float: right;
    margin-right: 20px;
    color: #aaa;
}

.ibkg-modal-content {
    width: 100%;
    min-height: 135px;
    max-height: calc(100vh - 270px);
    padding: 10px;
    text-align: left;
    font-size: medium;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
}

.ibkg-modal-footer {
    width: 100%;
    height: 54px;
    border-radius: 0 0 6px 6px;
    border-top: 0.5px solid #bbb;
}

.ibkg-modal-footer button {
    float: right;
    margin-right: 10px;
    height: 25px;
    text-decoration: none;
}

.ibkg-modal-back {
    line-height: 0em;
    border-radius: 5px;
    text-decoration: none;
}

.ibkg-modal-back:hover {
    text-decoration: none;
}

@media (max-width: 418px) {
    .ibkg-modal-back {
        padding-left: 5px;
        padding-right: 5px;
        margin-top: 5px;
    }
}

/****ANIMATIONS****/
@keyframes fadeIn_Modal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn_Container {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.9;
    }
}

.ibkg-modal-close {
    cursor: pointer;
    position: absolute;
    right: 0;
    padding: 0 15px;
    font-size: 25px;
    line-height: 1;
    color: rgb(128, 128, 128);
    transform: translate(0%, -10%);
}

#ibkg-form-submit {
    font-size: small;
    color: white;
    line-height: 1;
    padding: 3px 5px;
    height: 25px;
}

.ibkg-form-label {
    margin-top: 10px;
    font-weight: normal;
    display: block;
}

.ibkg-text-input,
.ibkg-dropdown-list {
    height: 30px !important;
    border: 0.5px solid #bbb !important;
    padding: 6px !important;
    font-size: 14px !important;
    width: 100%;
}

.ibkg-text-area {
    height: 90px !important;
    width: 100%;
    border: 1px solid #ccc;
    padding: 6px;
    font-size: 14px;
}

.ibkg-radio-input {
    vertical-align: middle;
    margin-right: 5px;
}

#showPacientNou > p {
    line-height: 1.2;
    margin-top: 5px;
}

.showCheckboxCustom {
    line-height: 1.2;
}

.appointment_special > div > button {
    margin: auto;
    display: block;
    width: 200px;
}

.appointment_special > div:nth-child(1) > button {
    margin-bottom: 15px;
}

.tip_client > div > button {
    margin: auto;
    display: block;
    width: 280px;
}

.tip_client > div:nth-child(1) > button {
    margin-bottom: 15px;
}

.ibkg-modal-next,
#ibkg-close,
.ibkg-modal-submit {
    margin: 15px auto;
    display: block;
}

.ibkg-modal-submit {
    padding: 10px 40px;
    text-decoration: none;
}

.ibkg-modal-submit:hover {
    text-decoration: none;
}

/****MEDIA QUERIES****/

@media (max-width: 576px) {
    .ibkg-container {
        font-size: 1.8rem;
    }

    .ibkg-row {
        font-size: 1.8rem;
    }

    .ibkg-col-12 {
        font-size: 1.8rem;
        flex: 0 0 100%;
        max-width: 100%;
    }

    #ibkg-modal {
        margin-left: 0;
        width: 100%;
    }

}

@media (max-width: 768px) {
    .ibkg-container {
        max-width: 720px;
    }

    .ibkg-col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media screen and (min-width: 600px) {
    .ibkg-modal-form {
        width: 500px;
    }

    .ibkg-modal-header a {
        line-height: 40px;
        margin-right: 10px;
    }

    .ibkg-modal-footer button {
        margin-top: 10px;
    }
}

/** IBKG CARD **/
.ibkg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 0.25rem;
}

.ibkg-card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
}

.ibkg-red {
    color: red;
}

/** IBKG ACCORDION TARIFE **/
.ibkg-accordion {
    border-radius: 0;
    overflow: hidden;
    padding: 10px;
    background-color: #f9f9f9;
}

.ibkg-accordion-item {
    border-bottom: 1px solid #dcdcdc;
}

.ibkg-accordion-item:last-child {
    border-bottom: none;
}

.ibkg-accordion-header {
    background-color: white;
    color: #333;
    padding: 15px;
    border-radius: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    cursor: pointer;
    text-align: left;
    border: 0;
    outline: none;
    width: 100%;
    font-size: 18px;
    font-weight: 400;
    text-transform: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.ibkg-accordion-header.expanded {
    font-weight: 700; /* Font weight when expanded */
}

#ibkg-mainAccordion .ibkg-accordion-sub-header {
    margin-top: 0;
    background-color: white;
    color: #333;
}

.ibkg-accordion-sub-header,
#ibkg-mainAccordion > div > div > div > div > div {
    padding-left: 5px;
    font-size: 16px;
}

.ibkg-accordion-label {
    color: red;
    font-size: small;
    margin-right: 20px;
    margin-left: auto;
}

.ibkg-accordion-label.shown {
    color: #8d8c8c;
}

.ibkg-accordion-header:hover,
.ibkg-accordion-header:focus,
#ibkg-mainAccordion > div:nth-child(1) > div > div > div > button:not(.ibkg-button),
#ibkg-mainAccordion > div > button:not(.ibkg-button) {
    background-color: white;
    color: #333;
    text-decoration: none;
    outline: none;
    border: 0;
}

.ibkg-accordion-content {
    padding: 0 15px 0 0;
    display: none;
    overflow: hidden;
    background-color: white;
    transition: max-height 0.3s ease;
}

.ibkg-accordion-content > div {
    margin-top: 15px;
    background-color: white;
}

.ibkg-accordion-content .ibkg-button {
    padding: 7px 10px;
    margin-bottom: 15px;
}

.ibkg-caret {
    transition: transform 0.3s ease;
    color: #8d8c8c;
    width: 20px !important;
    height: 20px !important;
}

.ibkg-caret.rotate {
    transform: rotate(180deg);
}

.ibkg-accordion table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.ibkg-accordion td {
    padding: 10px 0 10px;
    text-align: left;
}

.ibkg-accordion tr:hover {
    background-color: #e9e9e9;
}

.ibkg-table-doctor-name {
    color: red;
}

#ibkg-mainAccordion table, td {
    border: none;
}

#ibkg-mainAccordion tr {
    border-bottom: 1px solid #d0d0d0;
}

#ibkg-mainAccordion tr:last-child {
    border-bottom: none;
}

#ibkg-mainAccordion td {
    width: 35%;
    border: 0;
    background-color: unset;
}

@media only screen and (max-width: 600px) {
    .ibkg-accordion table {
        width: 100%;
    }

    /* Display table data as block elements */
    .ibkg-accordion table td {
        display: block;
    }

    #ibkg-mainAccordion td {
        width: 100%;
    }

    .ibkg-accordion-content .ibkg-button {
        padding: 10px 15px;
        margin-bottom: 15px;
    }
}

.ibkg-specialty-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* Allow wrapping */
}

.ibkg-item-title {
    flex: 1 1 auto;
    margin-right: 10px; /* Space between title and link */
    white-space: pre-wrap; /* Allow text to wrap */
    word-break: break-word; /* Break long words */
}

.ibkg-vezi-preturi {
    flex: 0 0 auto;
    margin-top: auto; /* Align link to the bottom */
    text-decoration: none;
}


.ibkg-all-doctors-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ibkg-all-doctors-specialty {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.ibkg-all-doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.ibkg-all-doctors-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-left: 10px;
}

.ibkg-all-doctors-image {
    width: 200px; /* Setează lățimea dorită pentru imagine */
    height: 200px; /* Setează înălțimea dorită pentru imagine */
    object-fit: cover !important; /* Păstrează proporțiile și taie excesul */
    object-position: center; /* Centrează imaginea în cadrul elementului */
    border: none !important;
    border-radius: 50%; /* Opțional: pentru aspect rotund (radio) */
    box-shadow: none !important;
    display: inline-block !important;
    margin-top: 15px;
}

.ibkg-all-doctors-name {
    font-size: 18px;
    margin: 10px 0 5px;
}

.ibkg-all-doctors-specialty-name {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

/** new shortcode forms **/
.ibkg-wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.ibkg-step-indicator {
    flex: 1;
    padding: 10px;
    text-align: center;
    color: #888;
    font-weight: bold;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.ibkg-step-active {
    color: #f9a825;
    border-bottom: 4px solid #f9a825;
}

.ibkg-step-content {
    padding: 10px;
}

.ibkg-card {
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ibkg-card:hover {
    border-color: #f9a825;
    background-color: #fef8e6;
}

.ibkg-selected {
    border-color: #f9a825;
    background-color: #fff3cd;
    box-shadow: 0 0 10px rgba(249, 168, 37, 0.5);
}

.ibkg-name {
    margin: 0;
    font-size: 18px;
    color: #333;
}


.ibkg-locatii-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.ibkg-locatie-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ibkg-locatie-card:hover {
    border-color: #f9a825;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ibkg-locatie-selected {
    border-color: #f9a825;
    box-shadow: 0 0 10px rgba(249, 168, 37, 0.5);
    background-color: #fffde7;
}

.ibkg-locatie-header {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.ibkg-locatie-adresa {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.ibkg-locatie-map iframe {
    border-radius: 8px;
}

/* === Searchbar container === */
.ibkg-searchbar-wrap {
    width: 100%;
    margin: 0 auto 20px auto;
}

/* === Bara de căutare === */
.ibkg-searchbar {
    position: relative;
    background: #f7f7f7;
    border-radius: 20px;
    padding: 12px 50px 12px 20px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.ibkg-searchbar input[type="search"] {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #333;
}

/* === Iconul de lupă === */
.ibkg-search-icon::before {
    content: "\f002"; /* Font Awesome lupa */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
    color: #d00b2a; /* roșu medical / accent */
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* === Butonul de clear (×) === */
#ibkg-doctorSearchClear {
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    display: none; /* ascuns până există text */
}

#ibkg-doctorSearchClear:hover {
    color: #d00b2a;
}

/* === Efecte focus === */
.ibkg-searchbar input[type="search"]:focus {
    background: #fff;
}

.ibkg-searchbar input[type="search"]:focus + #ibkg-doctorSearchClear {
    display: block;
}

.ibkg-all-doctors-card.ibkg-match {
    background: #fff6d6;
    outline: 2px solid #f2c94c;
    border-radius: 12px;
}

.ibkg-searchbar input[type="search"]::-webkit-search-cancel-button,
.ibkg-searchbar input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.ibkg-searchbar input[type="search"]::-ms-clear,
.ibkg-searchbar input[type="search"]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}