.redesign {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #F9FAFB;
}

/* typography styles */
.redesign h1,
.redesign h2,
.redesign h3 {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.redesign h1 {
    font-size: 1.25rem;
    font-weight: 400;
}

.redesign h2{
    font-size: 1rem;
    font-weight: 400;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.redesign h3 {
    font-size: 0.875rem;
    font-weight: 500;
}

.redesign h1 i {
    font-size: 1.5rem;
    margin-right: .5rem;
}

/* base element styles */
.redesign button {
    all: unset;
    background-color: transparent;
    color: rgb(3, 2, 19);
    border: 0;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
        box-sizing: border-box;
}

.redesign button.btn-danger{
    background-color: #D4183D;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;

    i{color: white}
}

.redesign button.btn-danger:hover{
    background-color: #b8152f;
}

.redesign button.btn-success{
    background-color: #00A63E;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;

    i{color: white}
}

.redesign button.btn-success:hover{
    background-color: #008f35;
}

.redesign button.btn-outline-light{
    border: 0.8px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.redesign button.btn-outline-light:hover{
    background-color: rgba(0, 0, 0, 0.05);
}

.redesign input{
    all: unset;
}

.redesign .input-container {
    position: relative;
}

.redesign .input {
    box-sizing: border-box;
    width: 100%;
    background-color: rgb(243, 243, 245);
    font-weight: 400; 
    border-radius: .5rem;
    padding: .5rem .75rem;
    position: relative;
}

.redesign .input i,
.redesign .input-container:not(.static) i,
.redesign .input-container i.fa-calendar {
    color: rgb(107, 114, 128);
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
}

.redesign .input.select.show i {
    transform: translateY(-50%) rotate(180deg);
}

/* checkbox styles */
.redesign .form-check-inline {
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
}

.redesign .form-check-input {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 1.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.375rem;
    background-color: rgb(243, 243, 245);
    cursor: pointer;
    margin: 0;
    position: relative;
}

.redesign .form-check-input:checked {
    background-color: rgb(3, 2, 19);
    border-color: rgb(3, 2, 19);
}

.redesign .form-check-input:checked::after {
    content: "\f00c";
    color: white;
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.65rem;
}

.redesign .form-check{
    padding-left: 0;
}

.redesign .form-check-label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 0.5rem;
    cursor: pointer;
}

/* base element styles */
.redesign .ku-container{
    max-width: 1024px;
}

.redesign section{
    margin-bottom: 2rem;
}

/* card styles */
.redesign .card {
    all: unset;
    box-sizing: border-box;
    display: block;
    background: white;
    border: 0.8px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.875rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
}

.redesign .card.plain {
    box-shadow: none;
}

.redesign .card .card-header {
    background: transparent;
    border: 0;
    padding: 1.5rem;
}

.redesign .card .card-body {
    display: block;
    padding: 1.5rem;
}

/* nav-pills styles */
.redesign .nav.nav-pills {
    background-color: rgb(236, 236, 240);
    border: solid 1px rgba(0, 0, 0, 0.1);
    border-radius: 0.625rem;
    display: flex;
    gap: .25rem;
    padding: 4px;
}

.redesign .nav.nav-pills button {
    transition: background-color 0.3s, color 0.3s;
}

.redesign .nav.nav-pills button {
    color: black;
}

.redesign .nav.nav-pills button i {
    margin-right: .2rem;
    transition: margin-right 0.3s, color 0.3s;
}

.redesign .nav.nav-pills button.active {
    background-color: rgb(3, 2, 19);
    color: white;
}

.redesign .nav.nav-pills button.active i {
    color: white;
}

/* dropdown styles */
.redesign .dropdown-menu {
    width: 100%;
    background: white;
    border: 0.8px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.875rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
    padding: .5rem;
}

.redesign .dropdown-menu span {
    cursor: pointer;
    font-size: 0.875rem;
    padding: .5rem;
    margin: 0;
}

.redesign .dropdown-menu span:hover {
    background-color: rgb(236, 236, 240);
    border-radius: 0.5rem;
}

/* calendar styles */
.redesign .ku-container .tempus-dominus-widget {
    box-shadow: none;
    padding: 0;
}

.redesign .ku-container .tempus-dominus-widget i {
    width: 24px;
    aspect-ratio: 1 / 1;
    font-size: .6rem;
    font-weight: 300;
    border: solid .8px rgb(236, 236, 240);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.redesign .ku-container .tempus-dominus-widget .toolbar {
    display: none;
}

.redesign .ku-container .tempus-dominus-widget .next{
    margin-left: auto;
}

.redesign .ku-container .tempus-dominus-widget .date-container-days div:not(.no-highlight) {
    color: rgb(200, 200, 200) !important;
    text-shadow: none !important;
    border-radius: 0.5rem;
}

.redesign .ku-container .tempus-dominus-widget .date-container-days div:not(.no-highlight).active {
    background-color: rgb(236, 236, 240);
}

.redesign .ku-container .tempus-dominus-widget .date-container-days div:not(.no-highlight).today:before,
.redesign .ku-container .tempus-dominus-widget .date-container-days div:not(.no-highlight).active:before {
    display: none;
}

.redesign .ku-container .tempus-dominus-widget .calendar-header {
    font-weight: 500;
    margin-bottom: 1rem;
}

/* calendar availability highlight */
.redesign .tempus-dominus-widget div.day.has-availability,
.redesign .ku-container .tempus-dominus-widget .date-container-days div.has-availability {
    color: rgb(3, 2, 19) !important;
    font-weight: 500;
    position: relative;
    overflow: visible;
}

.redesign .tempus-dominus-widget div.day.has-availability::after,
.redesign .ku-container .tempus-dominus-widget .date-container-days div.has-availability::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background-color: #00A63E;
    border-radius: 50%;
    z-index: 10;
}

/* ensure the highlight shows on day divs with data-action */
.redesign .tempus-dominus-widget [data-action="selectDay"].has-availability {
    color: rgb(3, 2, 19) !important;
    font-weight: 500;
    position: relative;
    overflow: visible;
}

.redesign .tempus-dominus-widget [data-action="selectDay"].has-availability::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background-color: #00A63E;
    border-radius: 50%;
    z-index: 10;
}

.redesign .input-container .tempus-dominus-widget{
    position: absolute;
    border: solid 1px rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

/* action bar styles */
.redesign .action-bar {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    margin: 1rem 0;
}

.redesign .action-bar.borderless {
    border-top: none;
    border-bottom: none;
}

/* time slot styles */
.redesign .time-slot {
    transition: all 0.2s ease; 
    cursor: pointer;
}

.redesign .time-slot:hover {
    background-color: rgb(236, 236, 240);
}

.redesign .time-slot.selected {
    background-color: rgb(3, 2, 19);
    color: white;
}

.redesign .time-slot.selected i {
    color: white;
}

/* loading state styles */
.redesign .loading-state,
.redesign .error-state,
.redesign .success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.redesign .loading-state .spinner-wrapper,
.redesign .error-state .icon-wrapper,
.redesign .success-state .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.redesign .loading-state h3,
.redesign .error-state h3,
.redesign .success-state h3 {
    border-bottom: none;
    padding-bottom: 0;
    justify-content: center;
}

.redesign .loading-state p,
.redesign .error-state p,
.redesign .success-state p {
    font-size: 0.875rem;
}

.redesign .success-state .icon-wrapper i {
    color: #00A63E;
}

/* Responsive width utilities */
@media (min-width: 768px) {
    .redesign .w-md-auto {
        width: auto !important;
    }
}

/* intl-tel-input styles */
.redesign .iti {
    width: 100%;
    display: block;
}

.redesign .iti__country-container {
    z-index: 2;
    height: 100%;
}

.redesign .iti__selected-country {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px;
    padding: 0 10px !important;
    height: 100%;
}

.redesign .iti__selected-country-primary {
    display: flex;
    align-items: center;
    gap: 6px;
}

.redesign .iti__flag {
    transform: scale(1.3);
}

/* Country dropdown list container - ensure it's above everything when open */
.iti--container {
    z-index: 99999 !important;
}

/* Ensure Bootstrap dropdowns appear above phone input flag/dial code */
.redesign .dropdown-menu.show {
    z-index: 1000 !important;
}