@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueBlack.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueBlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

/* Bold */
@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueBold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueBoldItalic.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}

/* Heavy */
@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueHeavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueHeavyItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
}

/* Medium */
@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueMediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

/* Regular (Roman) */
@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueRoman.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Italic */
@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

/* Light */
@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueLightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

/* Thin */
@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueThin.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueThinItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

/* Ultra Light */
@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueUltraLight.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('/assets/fonts/helvetica-neue/HelveticaNeueUltraLightItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
}

:root {
    --brand-primary: #094A8D;
    --brand-secondary: #6dc7de;
    --gray-light: #e9ecef;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: 'HelveticaNeue', sans-serif;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}



.stepper-header .nav-item {
    color: #adb5bd;
    font-weight: 600;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

    .stepper-header .nav-item:not(:last-child)::after {
        content: "";
        position: absolute;
        height: 2px;
        width: 100%;
        background-color: var(--gray-light);
        top: 16px;
        left: 50%;
        z-index: 1;
        transition: background-color 0.3s ease;
    }

    .stepper-header .nav-item.completed:not(:last-child)::after {
        background-color: var(--brand-secondary);
    }

    .stepper-header .nav-item.active {
        color: var(--brand-primary);
    }

    .stepper-header .nav-item.completed {
        color: var(--brand-secondary);
    }

.step-num {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 28px;
    border-radius: 50%;
    background: var(--gray-light);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
    position: relative;
    z-index: 2;
}

.active .step-num {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
    box-shadow: 0 0 0 3px rgba(9, 74, 141, 0.2);
}

.completed .step-num {
    background: var(--brand-secondary);
    border-color: var(--brand-secondary);
    color: white;
}

.btn-primary {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
}

    .btn-primary:hover {
        background-color: #073a6e !important;
    }

.text-primary {
    color: var(--brand-primary) !important;
}

.text-secondary {
    color: var(--brand-secondary) !important;
}

/*.step-content h4.section-title {
    font-family: 'HelveticaNeue';
    font-weight: 700;
    color: var(--brand-primary);
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .step-content h4.section-title::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 80%;
        background: linear-gradient(to bottom, var(--brand-primary), var(--brand-secondary));
        border-radius: 10px;
    }*/

.step-content h4.section-title {
    font-family: 'HelveticaNeue';
    font-weight: 700;
    color: var(--brand-primary);
    padding-left: 30px;
    position: relative;
}

    .step-content h4.section-title::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) rotate(45deg); /* Diamond shape */
        width: 12px;
        height: 12px;
        background: var(--brand-primary);
        border: 2px solid var(--brand-secondary);
    }

.fancy-step-group {
    margin-top: 20px;
    border-left: 2px solid #e9ecef; 
    padding-left: 15px;
}

.fancy-p {
    font-family: 'HelveticaNeue';
    font-weight: 400;
    color: #495057;
    position: relative;
    padding: 10px 15px 10px 35px;
    margin-bottom: 20px;
    margin-bottom: 20px;
    background: #efefef;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/*    .fancy-p:hover {
        background: #ffffff;
        border-color: var(--brand-secondary);
        box-shadow: 0 4px 12px rgba(109, 199, 222, 0.1);
        transform: translateX(5px);
    }*/

    .fancy-p::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 14px;
        height: 14px;
        background-color: var(--brand-secondary);
        border-radius: 3px;
        box-shadow: 0 0 0 4px rgba(109, 199, 222, 0.15);
    }

    .fancy-p::after {
        content: "";
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background-color: white;
        border-radius: 50%;
    }

.form-step-item {
    margin-bottom: 2rem;
    position: relative;
}

    .form-step-item label.form-label {
        font-family: 'HelveticaNeue';
        font-weight: 500;
        color: var(--brand-primary);
        display: block;
        margin-bottom: 7px;
        font-size: 1rem;
        line-height: 1.4;
    }

    .form-step-item .form-control,
    .form-step-item .form-select {
        font-family: 'HelveticaNeue';
        font-weight: 400; 
        border: 2px solid #e9ecef;
        border-radius: 10px;
        padding: 12px 16px;
        transition: all 0.3s ease;
        background-color: #fcfcfc;
        color: #333;
    }

        .form-step-item .form-control:hover {
            border-color: var(--brand-secondary);
            background-color: #fff;
        }

        .form-step-item .form-control:focus,
        .form-step-item .form-select:focus {
            border-color: var(--brand-primary);
            background-color: #fff;
            box-shadow: 0 0 0 4px rgba(9, 74, 141, 0.1);
            outline: none;
        }

        .form-step-item .form-control:disabled,
        .form-step-item .form-control:read-only,
        .form-step-item .form-select:focus {
            border-color: var(--gray-light);
            background-color: #e4e4e4;
            outline: none;
        }

    .form-step-item .is-invalid {
        border-color: #dc3545 !important;
        background-color: #fff8f8;
    }

.text-danger {
    font-family: 'HelveticaNeue';
    font-weight: 500; 
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.dt-search input {
    margin-left:0px !important;
}
.nav-item.active a {
    color:var(--brand-secondary) !important;
}
.tbl-icon {
    cursor:pointer;
}
.tbl-icon svg {
    fill: var(--brand-primary);
    width: 30px;
}
.tbl-icon:hover svg {
fill:var(--brand-secondary);
}

.flatpickr-calendar {
    font-family: 'HelveticaNeue', Arial, sans-serif !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e9ecef !important;
}

.flatpickr-months .flatpickr-month {
    background: #fff !important;
    color: var(--brand-primary) !important;
    fill: var(--brand-primary) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.hasEvent,
.flatpickr-day.selected:hover,
.flatpickr-day.selected:focus {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #fff !important;
}

.flatpickr-day.today {
    border-color: var(--brand-secondary) !important;
}

    .flatpickr-day.today:hover {
        background: var(--brand-secondary) !important;
        color: #fff !important;
    }

.flatpickr-day:hover {
    background: #f0f7ff !important;
}

.d-label {
    font-family: 'HelveticaNeue';
    font-weight: 500;
    color: var(--brand-primary);
    display: block;
    font-size: 1rem;
    line-height: 1.4;
}