:root {
    /* Colors used for backgrounds, text, dividers, etc.  */
    /* shades */
    --shade-1: #fff;
    --shade-2: #222;
    --shade-2-30: #2222224D;
    --shade-2-5: #2222220D;

    /* Neutrals */
    --neutral-1: #F7F7F7;
    --neutral-2: #EBEBEB;
    --neutral-3: #DDDDDD;
    --neutral-4: #D3D3D3;
    --neutral-5: #C2C2C2;
    --neutral-6: #B0B0B0;
    --neutral-7: #717171;
    --neutral-8: #5E5E5E;

    /* Colors used for logos and icons */
    /* Primary */
    --primary-1: #5c73fc;
    --primary-2: #568cfd;

    /* Gradients */
    --gradient-1: radial-gradient(100% 12158.24% at 99.42% 0%, #7128fc 0%, #6a44fc 48.44%, #645dfc 100%),
        radial-gradient(100% 12158.24% at 99.42% 0%, #7128fc 0%, #6a44fc 48.44%, #646cfc 100%),
        radial-gradient(100% 12158.24% at 99.42% 0%, #529cfc 0%, #529cfc 48.44%, #529cfc 100%);
    --gradient-2: radial-gradient(103.95% 1413.54% at -3.95% 100%, #5788fc 0%, #646cfc 52.83%, #7128fc 100%);
    --gradient-3: radial-gradient(100% 12158.24% at 99.42% 0%, #7128fc 0%, #646cfc 48.44%, #5788fc 100%),
        radial-gradient(100% 12158.24% at 99.42% 0%, #7128fc 0%, #645dfc 48.44%, #646cfc 100%);

    /* Error */
    --error-1: #FEF8F6;
    --error-2: #C13515;

    /* Accents */
    --accent-1: #F6D7DF;
    --accent-2: #D03660;
    --accent-3: #008A05;
    --accent-4: #004CC4;

    /* Topography */
    --heading-1-400: 400 22px;
    --heading-1-600: 600 20px;
    --body-1-400: 400 18px;
    --body-1-500: 500 18px;
    --body-1-600: 600 18px;
    --body-2-400: 400 16px;
    --body-2-600: 600 16px;
    --body-3-400: 400 14px;
    --body-3-600: 600 14px;
    --body-4-400: 400 13px;
    --body-4-600: 600 13px;
    --body-5-400: 400 12px;
    --body-5-600: 600 12px;
    --caption-600: 600 10px;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {}

img {
    max-width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.fi-sidebar-nav {
    background: #fff;
    z-index: -1;
    border-left: 1px solid rgba(var(--gray-200), 1);
}

.fi-sidebar-nav::-webkit-scrollbar {
    width: 5px;
}

.fi-sidebar-nav::-webkit-scrollbar-track {
    background: rgba(var(--gray-200), 1);
}

.fi-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(var(--gray-500), 1);
    border-radius: 10px;
}

.fi-sidebar-item.fi-active>.fi-sidebar-item-button {
    background-color: #5c73fc !important;
    /* Change to your preferred color */
}

.fi-btn-color-primary {
    background: linear-gradient(135deg, #529cfc 0%, #7c3aed 100%) !important;
}

.fi-btn-color-primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #529cfc 100%) !important;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3) !important;
}

/* Primary outline buttons */
.fi-btn-outlined.fi-btn-color-primary {
    background: transparent !important;

    -o-border-image: linear-gradient(135deg, #529cfc 0%, #7c3aed 100%) 1 !important;

    border-image: linear-gradient(135deg, #529cfc 0%, #7c3aed 100%) 1 !important;
    color: #4f46e5 !important;
    position: relative !important;
}

.fi-btn-outlined.fi-btn-color-primary:hover {
    background: linear-gradient(135deg, #529cfc 0%, #7c3aed 100%) !important;
    color: white !important;
    /*box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3) !important;*/
}

/* Secondary buttons */
.fi-btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
}

.fi-btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%) !important;
    box-shadow: 0 4px 15px rgba(75, 85, 99, 0.3) !important;
}

/* Secondary outline buttons */
.fi-btn-secondary-outline {
    background: transparent !important;
    border: 2px solid !important;
    -o-border-image: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) 1 !important;
    border-image: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) 1 !important;
    color: #6b7280 !important;
}

.fi-btn-secondary-outline:hover {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(75, 85, 99, 0.3) !important;
}

/* Success buttons */
.fi-btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.fi-btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

/* Success outline buttons */
.fi-btn-success-outline {
    background: transparent !important;
    border: 2px solid !important;
    -o-border-image: linear-gradient(135deg, #10b981 0%, #059669 100%) 1 !important;
    border-image: linear-gradient(135deg, #10b981 0%, #059669 100%) 1 !important;
    color: #10b981 !important;
}

.fi-btn-success-outline:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

/* Danger buttons */
.fi-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

.fi-btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3) !important;
}

/* Danger outline buttons */
.fi-btn-danger-outline {
    background: transparent !important;
    border: 2px solid !important;
    -o-border-image: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) 1 !important;
    border-image: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) 1 !important;
    color: #ef4444 !important;
}

.fi-btn-danger-outline:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3) !important;
}

/* Warning buttons */
.fi-btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.fi-btn-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3) !important;
}

/* Warning outline buttons */
.fi-btn-warning-outline {
    background: transparent !important;
    border: 2px solid !important;
    -o-border-image: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) 1 !important;
    border-image: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) 1 !important;
    color: #f59e0b !important;
}

.fi-btn-warning-outline:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3) !important;
}

/* Info buttons */
.fi-btn-info {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
}

.fi-btn-info:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
}

/* Info outline buttons */
.fi-btn-info-outline {
    background: transparent !important;
    border: 2px solid !important;
    -o-border-image: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) 1 !important;
    border-image: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) 1 !important;
    color: #3b82f6 !important;
}

.fi-btn-info-outline:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
}

/* Table action buttons */
.fi-ta-btn {
    background: linear-gradient(135deg, #529cfc 0%, #8b5cf6 100%) !important;
    border: none !important;
}

.fi-ta-btn:hover {
    background: linear-gradient(135deg, #529cfc 0%, #6366f1 100%) !important;
    transform: translateY(-1px) !important;
}

/* Table action outline buttons */
.fi-ta-btn-outline {
    background: transparent !important;
    border: 2px solid !important;
    -o-border-image: linear-gradient(135deg, #529cfc 0%, #8b5cf6 100%) 1 !important;
    border-image: linear-gradient(135deg, #529cfc 0%, #8b5cf6 100%) 1 !important;
    color: #6366f1 !important;
}

.fi-ta-btn-outline:hover {
    background: linear-gradient(135deg, #529cfc 0%, #8b5cf6 100%) !important;
    color: white !important;
    transform: translateY(-1px) !important;
}

/* Form action buttons */
.fi-form-actions .fi-btn {
    background: linear-gradient(135deg, #529cfc 0%, #7c3aed 100%) !important;
}

.fi-form-actions .fi-btn:hover {
    background: linear-gradient(135deg, #529cfc 0%, #7c3aed 100%) !important;
}

/* Form action outline buttons */
.fi-form-actions .fi-btn-outline {
    background: transparent !important;
    border: 2px solid !important;
    -o-border-image: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) 1 !important;
    border-image: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) 1 !important;
    color: #06b6d4 !important;
}

.fi-form-actions .fi-btn-outline:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    color: white !important;
}

/* Alternative outline button implementation using pseudo-elements */
.fi-btn-outline-alt {
    background: transparent !important;
    border: none !important;
    position: relative !important;
    color: #4f46e5 !important;
    padding: 2px !important;
}

.fi-btn-outline-alt::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    border-radius: inherit !important;
    z-index: -1 !important;
}

.fi-btn-outline-alt::after {
    content: '' !important;
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    right: 2px !important;
    bottom: 2px !important;
    background: white !important;
    border-radius: inherit !important;
    z-index: -1 !important;
}

.fi-btn-outline-alt:hover::after {
    background: transparent !important;
}

.fi-btn-outline-alt:hover {
    color: white !important;
}

.fi-sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--gray-600), 1);
}

.phone-format span {
    unicode-bidi: -moz-plaintext;
    unicode-bidi: plaintext;
}

.operatingHours-repeater ul li,
.clinic-operatingHours-section {
    box-shadow: none !important;
    border-radius: 0 !important;
}

.operatingHours-repeater .fi-fo-repeater-item-content {
    padding: 5px 0 !important;
}

.fi-logo {
    height: 2rem !important;
    /* Adjust size */
}


.my-section .fi-section-content {
    padding: 0 1rem !important;
}

.map-section .fi-fo-field-wrp {
    overflow: hidden !important;
    border-radius: 20px !important;
}

/* Orange text for pending confirmation text columns */
.orange-text {
    color: #f97316 !important;
}

.orange-text * {
    color: #f97316 !important;
}

.my-animated-process-button {
    -webkit-animation: flash-border 1.5s infinite ease-in-out !important;
    animation: flash-border 1.5s infinite ease-in-out !important;
    box-shadow: 0 0 0 2px #FFD502, 0 0 5px rgba(255, 213, 2, 0.2);
    transition: .2s ease-in-out !important;

}

.my-animated-process-button:hover {
    box-shadow: 0 0 0 2px #FFD502, 0 0 5px rgba(255, 213, 2, 0.2) !important;

}

.ellipsis-btn, .ellipsis-btn:hover {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.ellipsis-btn svg {
    color: #222 !important;
}

@-webkit-keyframes flash-border {
    0%, 100% {
        box-shadow: 0 0 0 2px #FFD502, 0 0 5px rgba(255, 213, 2, 0.2);
    }

    50% {
        box-shadow: 0 0 0 4px #FFD502, 0 0 15px rgba(255, 213, 2, 0.5);
    }
}

@keyframes flash-border {
    0%, 100% {
        box-shadow: 0 0 0 2px #FFD502, 0 0 5px rgba(255, 213, 2, 0.2);
    }

    50% {
        box-shadow: 0 0 0 4px #FFD502, 0 0 15px rgba(255, 213, 2, 0.5);
    }
}

.my-date p {
    font-size: .7rem;
    font-weight: 600;
}
