/* Import fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap');



:root {
    --bs-primary: #52796f;      /* Custom primary color */
    --bs-secondary: #6c757d;    /* Custom secondary color */
    --bs-success: #32C14C;      /* Custom success color */
    --bs-danger: #FF5F54;       /* Custom danger color */
    --bs-warning: #1b79FC;      /* Custom warning color */
    --bs-info: #FFC300;         /* Custom info color */
    --bs-light: #f8f9fa;        /* Keep default light color */
    --bs-dark: #343a40;         /* Keep default dark color */
    --bs-accent: #fb923c;       /* Custom accent color (optional, for custom classes) */

    --primary: #52796f;

    --text-50: #f1f2f4;
    --text-100: #e3e6e8;
    --text-200: #c6ccd2;
    --text-300: #aab3bb;
    --text-400: #8e99a4;
    --text-500: #717f8e;
    --text-600: #5b6671;
    --text-700: #444c55;
    --text-800: #2d3339;
    --text-900: #17191c;
    --text-950: #0b0d0e;

    --background-50: #f8f5ec;
    --background-100: #f1ebda;
    --background-200: #e4d6b4;
    --background-300: #d6c28f;
    --background-400: #c9ae69;
    --background-500: #bb9944;
    --background-600: #967b36;
    --background-700: #705c29;
    --background-800: #4b3d1b;
    --background-900: #251f0e;
    --background-950: #130f07;

    --primary-50: #f0f5f3;
    --primary-100: #e1eae8;
    --primary-200: #c2d6d1;
    --primary-300: #a4c1ba;
    --primary-400: #86aca3;
    --primary-500: #67988c;
    --primary-600: #537970;
    --primary-700: #3e5b54;
    --primary-800: #293d38;
    --primary-900: #151e1c;
    --primary-950: #0a0f0e;

    --secondary-50: #f1f2f3;
    --secondary-100: #e4e6e7;
    --secondary-200: #c8ccd0;
    --secondary-300: #adb3b8;
    --secondary-400: #9299a0;
    --secondary-500: #778088;
    --secondary-600: #5f666d;
    --secondary-700: #474d52;
    --secondary-800: #2f3337;
    --secondary-900: #181a1b;
    --secondary-950: #0c0d0e;

    --accent-50: #fef1e6;
    --accent-100: #fee3cd;
    --accent-200: #fdc79b;
    --accent-300: #fcab69;
    --accent-400: #fb8f37;
    --accent-500: #fa7305;
    --accent-600: #c85c04;
    --accent-700: #964503;
    --accent-800: #642e02;
    --accent-900: #321701;
    --accent-950: #190c01;

    --primary-bg-color: #fbf9f4;
    --primary-bg-hover: var(--primary-800);
    --primary-bg-border: var(--primary);
    --transparent-primary: var(--primary-100);

    --dark-primary: #537970;
    --dark-primary-hover: #537970;
    --darkprimary-transparentcolor: #dfe8fa;

    --light-primary: #C5CAE9;
    --light-primary-hover: #a0a3d9;

    --accent: #fb923c;
    --accent-hover: #fdb274;
    --accent-transparent: #fff5ed;

    --text-color: #212529;
    --secondary-text: #6c757d;
    --dividers: #EAE6E1;

    --status-approved: #32C14C;
    --status-pending: #F2A65A;
    --status-declined: #D9534F;

    --success: #32C14C;
    --warning: #1b79FC;
    --info: #FFC300;
    --danger: #FF5F54;

    /* Box Shadows */
    --box-shadow-light:  0 4px 12px rgba(0, 0, 0, 0.05); /* Soft and Subtle Shadow */
    --box-shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.1); /* Medium Depth Shadow */
    --box-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.15); /* Hover Shadow */
    --box-shadow-focus: inset 0 1px 3px rgba(0, 0, 0, 0.12); /* Soft Inner Shadow */
    --box-shadow-card:  0 4px 12px rgba(0, 0, 0, 0.05); /* Card Shadow */
}

/* Apply the variables globally */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-text);
    margin: 0;
    padding: 0;
    height: 100vh;
}

/* Accent Color */
.accent {
    color: var(--accent);
}

/* Text Colors */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-text);
}

p {
    color: var(--secondary-text);
}

/* Divider Styling */
hr {
    border-color: var(--dividers);
}

.text-secondary {
    color: var(--secondary-text);
}

.container-fluid {
    width: 100%;
    height: inherit;
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    padding: 0 !important;
}

.form-section {
    flex: 1 1 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 2rem;
}

.form-section>.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-section>.header .logo {
    width: 45px;
    height: 45px;
}

.form-section>.header>.action-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.form-section>.body {
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: start;
}

.form-section>.body>.user-icon {
    width: 65px;
    height: 65px;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid transparent;
    margin: auto;
    background: linear-gradient(to bottom, #f4f6f8, rgba(245, 245, 245, 0)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    box-shadow: var(--box-shadow-light);
}

.form-section>.body>.user-icon>div {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #efefef;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-section>.body h2 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.form-section>.body p {
    color: #666;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.switch {
    --_switch-padding: 4px;
    /* padding around button */
    --_slider-bg-clr: var(--primary);
    /* slider color unchecked */
    --_slider-txt-clr: #ffffff;
    /* slider text color */
    --_label-padding: 10px 20px;
    /* padding around the labels -  this gives the switch its global width and height */
    --_switch-easing: cubic-bezier(0.47, 1.64, 0.41, 0.8);
    /* easing on toggle switch */
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    border-radius: var(--bs-border-radius);
    cursor: pointer;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: relative;
    isolation: isolate;
}

.switch input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.switch>span {
    display: grid;
    place-content: center;
    transition: opacity 300ms ease-in-out 150ms, color 300ms ease-in-out;
    padding: var(--_label-padding);
}

/* Change text color dynamically based on checkbox state */
.switch:has(input:checked)>span:last-of-type {
    color: var(--_slider-txt-clr);
}

.switch:has(input:not(:checked))>span:first-of-type {
    color: var(--_slider-txt-clr);
}

.switch::before,
.switch::after {
    content: "";
    position: absolute;
    border-radius: inherit;
    transition: inset 150ms ease-in-out;
}

/* Switch slider */
.switch::before {
    background-color: var(--_slider-bg-clr);
    color: var(--_slider-txt-clr);
    inset: var(--_switch-padding) 50% var(--_switch-padding) var(--_switch-padding);
    transition:
        inset 500ms var(--_switch-easing),
        background-color 500ms ease-in-out;
    z-index: -1;
    box-shadow:
        inset 0 1px 1px rgba(0, 0, 0, 0.3),
        0 1px rgba(255, 255, 255, 0.3);
}

/* Switch background color */
.switch::after {
    border: var(--bs-border-width) solid var(--bs-border-color);
    inset: 0;
    z-index: -2;
}

/* Switch hover & focus */
.switch:focus-within::after {
    inset: -0.25rem;
}

.switch:has(input:checked):hover>span:first-of-type,
.switch:has(input:not(:checked)):hover>span:last-of-type {
    opacity: 1;
    transition-delay: 0ms;
    transition-duration: 100ms;
}

/* Switch hover */
.switch:has(input:checked):hover::before {
    inset: var(--_switch-padding) var(--_switch-padding) var(--_switch-padding) 45%;
}

.switch:has(input:not(:checked)):hover::before {
    inset: var(--_switch-padding) 45% var(--_switch-padding) var(--_switch-padding);
}

/* Checked - move slider to right */
.switch:has(input:checked)::before {
    background-color: var(--_slider-bg-clr);
    inset: var(--_switch-padding) var(--_switch-padding) var(--_switch-padding) 50%;
}

/* Checked - set opacity */
.switch>span:last-of-type,
.switch>input:checked+span:first-of-type {
    opacity: 0.75;
}

.switch>input:checked~span:last-of-type {
    opacity: 1;
}



.btn {
    display: inline-block;
    padding: 10px 20px;
    font-weight: bold;
    color: var(--primary-text);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Material Design Button Effects */
.btn {
    position: relative;
    overflow: hidden;
    /* Ensures the ripple effect stays inside the button */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

/* Hover Effect */
.btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Subtle hover shadow */
    transform: translateY(-2px);
    /* Slight upward movement */
}

/* Focus Effect */
.btn:focus {
    outline: none;
    /* Remove default outline */
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.3);
    /* Primary color glow */
}

/* Active Effect */
.btn:active {
    transform: scale(0.95);
    /* Subtle press down effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Reduced shadow for pressed effect */
}

.btn-default {
    border: 1px solid #efefef;
    box-shadow: none;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-default:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.btn-default:active {
    background: #e6e6e6;
    border-color: #999;
}

.btn-default:disabled {
    cursor: not-allowed;
    background: #f9f9f9;
    border-color: #ddd;
    color: #aaa;
    pointer-events: none;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary);
    border: none;
    box-shadow: var(--box-shadow-medium);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--dark-primary);
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-2px);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.3);
}

.btn-primary:active {
    background-color: var(--dark-primary);
    transform: scale(0.95);
    box-shadow: var(--box-shadow-focus);
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-buttons img {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.graphics-section {
    width: 50%;
    padding: 1rem;
    border-radius: 1rem;
}

.graphic {
    flex: 1;
    background: url('../assets/login-page-background.jpg') no-repeat;
    background-size: contain;
    /* Ensures the image maintains its original quality */
    background-position: right !important;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    display: flex;
    /* Helps ensure it fills the parent */
    justify-content: center;
    align-items: center;
}


.form-control {
    height: 45px;
}

@media (max-width: 768px) {
    .container-fluid {
        flex-direction: column;
    }

    .form-section {
        padding: 1.5rem;
    }

    .form-section>.body {
        width: 100%;
        padding: .5rem;
    }

    .graphics-section {
        display: none;
    }

    body {
        font-size: 14px;
    }

    p {
        font-size: 0.9rem;
        /* Adjust text size */
    }

    .btn {
        font-size: 0.9rem;
        /* Adjust font size */
    }

    .social-buttons img {
        width: 35px;
        /* Adjust size of social buttons */
        height: 35px;
    }

    .user-icon {
        width: 50px;
        /* Adjust icon size */
        height: 50px;
    }

    .user-icon>div {
        width: 35px;
        height: 35px;
    }
}


.toggle-password {
    position: absolute;
    top: 43px;
    right: 15px;
    border: none;
    border-radius: inherit;
    box-shadow: none;
    padding: 0 !important;
}

.toggle-password:hover {
    background-color: transparent !important;
    color: inherit !important;
    box-shadow: none;
    padding: 0 !important;
}

/* Modify background-position specifically for password fields */
.form-control[type="password"].is-invalid,
.was-validated .form-control[type="password"]:invalid {
    background-position: right calc(.375em + 2.188rem) center;
}

.form-control[type="password"].is-valid,
.was-validated .form-control[type="password"]:valid {
    background-position: right calc(.375em + 2.188rem) center;
}

.iziToast:after {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.modal-header h4.modal-title {
    font-weight: 300;
}

.modal-body label {
    font-weight: 400;
}

/*------ Modal -------*/
.modal-open {
    overflow: scroll;
    padding: 0 !important;
    display: block;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: none;
    overflow: hidden;
    outline: 0;
    padding-right: 0 !important;
    margin: 0 !important;
}

.modal-open,
.modal-backdrop.fade.show {
    padding-right: 0 !important;
}

.modal-open {
    overflow: auto !important;
    padding: 0px !important;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 0px !important;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -25%);
    transform: translate(0, -25%);
}

.modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

@media screen and (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}

.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: 3px;
    outline: 0;
    padding: 25px;
    border-radius: 15px;
    /* Prevent interaction when hidden */
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    /* Start with slight scale */
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9edf4;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.modal-header .btn-close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.modal-footer> :not(:first-child) {
    margin-left: 0.25rem;
}

.modal-footer> :not(:last-child) {
    margin-right: 0.25rem;
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }

    .modal-sm {
        max-width: 300px;
    }
}

@media (min-width: 992px) {

    .modal-lg,
    .modal-xl {
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1140px;
    }
}

.model-wrapper-demo {
    padding: 50px 0;
    background: #f6f6fb;
}

.pos-static {
    position: static;
}

.modal.animated .modal-dialog {
    transform: translate(0, 0);
}

.modal.effect-scale .modal-dialog {
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s;
}

.modal.effect-scale.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.modal.effect-slide-in-right .modal-dialog {
    transform: translateX(20%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

.modal.effect-slide-in-right.show .modal-dialog {
    transform: translateX(0);
    opacity: 1;
}

.modal.effect-slide-in-bottom .modal-dialog {
    transform: translateY(20%);
    opacity: 0;
    transition: all 0.3s;
}

.modal.effect-slide-in-bottom.show .modal-dialog {
    transform: translateY(0);
    opacity: 1;
}

.modal.effect-newspaper .modal-dialog {
    transform: scale(0) rotate(720deg);
    opacity: 0;
}

.modal.effect-newspaper.show~.modal-backdrop,
.modal.effect-newspaper .modal-dialog {
    transition: all 0.5s;
}

.modal.effect-newspaper.show .modal-dialog {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.modal.effect-fall {
    -webkit-perspective: 1300px;
    -moz-perspective: 1300px;
    perspective: 1300px;
}

.modal.effect-fall .modal-dialog {
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transform: translateZ(600px) rotateX(20deg);
    opacity: 0;
}

.modal.effect-fall.show .modal-dialog {
    transition: all 0.3s ease-in;
    transform: translateZ(0px) rotateX(0deg);
    opacity: 1;
}

.modal.effect-flip-horizontal {
    perspective: 1300px;
}

.modal.effect-flip-horizontal .modal-dialog {
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transform: rotateY(-70deg);
    transition: all 0.3s;
    opacity: 0;
}

.modal.effect-flip-horizontal.show .modal-dialog {
    transform: rotateY(0deg);
    opacity: 1;
}

.modal.effect-flip-vertical {
    perspective: 1300px;
}

.modal.effect-flip-vertical .modal-dialog {
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transform: rotateX(-70deg);
    transition: all 0.3s;
    opacity: 0;
}

.modal.effect-flip-vertical.show .modal-dialog {
    transform: rotateX(0deg);
    opacity: 1;
}

.modal.effect-super-scaled .modal-dialog {
    transform: scale(2);
    opacity: 0;
    transition: all 0.3s;
}

.modal.effect-super-scaled.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.modal.effect-sign {
    perspective: 1300px;
}

.modal.effect-sign .modal-dialog {
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transform: rotateX(-60deg);
    transform-origin: 50% 0;
    opacity: 0;
    transition: all 0.3s;
}

.modal.effect-sign.show .modal-dialog {
    transform: rotateX(0deg);
    opacity: 1;
}

.modal.effect-rotate-bottom {
    perspective: 1300px;
}

.modal.effect-rotate-bottom .modal-dialog {
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transform: translateY(100%) rotateX(90deg);
    transform-origin: 0 100%;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.modal.effect-rotate-bottom.show .modal-dialog {
    transform: translateY(0%) rotateX(0deg);
    opacity: 1;
}

.modal.effect-rotate-left {
    perspective: 1300px;
}

.modal.effect-rotate-left .modal-dialog {
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transform: translateZ(100px) translateX(-30%) rotateY(90deg);
    transform-origin: 0 100%;
    opacity: 0;
    transition: all 0.3s;
}

.modal.effect-rotate-left.show .modal-dialog {
    transform: translateZ(0px) translateX(0%) rotateY(0deg);
    opacity: 1;
}

.modal.effect-just-me .modal-dialog {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s;
}

.modal.effect-just-me .modal-content {
    background-color: #16192f;
    border: 1px solid #4d4e50;
    padding: 0 9px;
}

.modal.effect-just-me .btn-close {
    text-shadow: none;
    color: #fff;
}

.modal.effect-just-me .modal-header {
    background-color: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-right: 0;
}

.modal.effect-just-me .modal-header h6 {
    color: #fff;
    font-weight: 500;
}

.modal.effect-just-me .modal-body {
    color: rgba(255, 255, 255, 0.8);
    padding-left: 0;
    padding-right: 0;
}

.modal.effect-just-me .modal-body h6 {
    color: #fff;
}

.modal.effect-just-me .modal-footer {
    background-color: transparent;
    padding-left: 0;
    padding-right: 0;
    border-top-color: rgba(255, 255, 255, 0.1);
}

.modal.effect-just-me.show~.modal-backdrop {
    opacity: 0.96;
}

.modal.effect-just-me.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}

.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: #ffffff;
    overflow: hidden;
}

.modal-header {
    color: var(--text-color);
    border-bottom: none;
    padding: 20px;
    font-weight: 600;
    font-size: 18px;
}

.modal-header .btn-close {
    background: #efefef;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.modal-header .btn-close:hover {
    background: #dcdcdc;
    opacity: 1;
}

.modal-body {
    font-size: 16px;
    line-height: 1.6;
    padding: 24px;
}

.modal-footer {
    border-top: none;
    padding: 16px 24px;
    justify-content: center;
}

/* Backdrop (Overlay) */
.modal-backdrop {
    background: rgba(0, 0, 0, 0.6);
    /* Darker overlay for better focus */
}

/* Animation for Modal Appearance */
.modal.fade .modal-dialog {
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.modal.show .modal-dialog {
    transform: translateY(0);
    opacity: 1;
}

/* Optional Scrollbar Customization */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}


.btn-country {
    border: 1px solid #ededf5;
    box-shadow: none !important;
    text-align: justify !important;
    font-size: 15px !important;
    border-radius: 10px !important;
    padding: 0.8rem 0.8rem !important;
    box-shadow: 0px 1px 16px rgba(0, 0, 0, 0.1) !important;
}

.btn-country:hover {
    border: 1px solid var(--primary-bg-color) !important;
    box-shadow: 0px 1px 16px rgba(0, 0, 0, 0.1) !important;
}

.btn-country.active {
    border: 1px solid var(--primary-bg-color) !important;
}

.btn-check:checked+.btn-country,
.btn-country.active,
.btn-country:active {
    border: 1px solid var(--primary-bg-color) !important;
}

.btn-lg,
.btn-group-lg>.btn {
    padding: 0.5rem 1rem;
    font-size: 1.125rem;
    line-height: 1.625;
}

.btn-lg+.dropdown-toggle-split,
.btn-group-lg>.btn+.dropdown-toggle-split {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.btn-lg,
.btn-group-lg>.btn {
    font-size: 1rem;
    min-width: 2.75rem;
    font-weight: 400;
}

.btn-social.btn-lg {
    padding-left: 61px;
}

.btn-social.btn-lg> :first-child {
    line-height: 45px;
    width: 45px;
    font-size: 1.8em;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-block+.btn-block {
    margin-top: 0.5rem;
}

.btn-facebook {
    background: #4d7ad9;
}

input[type=submit].btn-block,
input[type=reset].btn-block,
input[type=button].btn-block {
    width: 100%;
}


.country-selector {
    padding: 0.3rem;
}

.country-selector .nav-link {
    color: #495046;
}


.country-selector img {
    width: 28px;
    height: 20px;
    border-radius: 20%;
}

.country-selector .avatar {
    width: 1.4rem;
    height: 1.2rem;
}

ul {
    list-style: none;
}

.country {
    cursor: pointer !important;
}