/* Customize Tabs */
.toggle-btn {
    font-weight: 600;
    font-size: 13px;
    color: #000000E0;

}

/* Button Styles */
.btn-primary, .btn-success {
    border-radius: 8px;
    font-size: 16px;
}

.tab-content { display: none; }
        .tab-content.active { display: block; }
        .nav-tabs .nav-link { pointer-events: none; }
        .btn[disabled] { cursor: not-allowed; }

/* General Form Styling */
.form-control {
    height: 50px;
    border-radius: 3px;
    border: 1px solid #767676;
    padding: 10px;
    font-size: 14px;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

/* Placeholder Styling */
.form-control::placeholder {
    color: #6c757d;
    font-weight: 500;
}

/* Focus State */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    background-color: transparent;
}

/* Date Input Field */
input[type="date"] {
    position: relative;
    padding-right: 40px;
}

/* Date Picker Icon */
input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    filter: opacity(0.6);
}

/* Required Field Indicator */
label {
    font-weight: 600;
    color: #343a40;
}

.floating-group {
    position: relative;
    margin-bottom: 0.5rem;
    
}

.floating-label {
    position: absolute;
    left: 17px;
    top: 46%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #706d6d;
    background: transparent;
    padding: 0 5px;
    transition: 0.2s ease-in-out;
    pointer-events: none;
}

.float-date{
    position: absolute;
    left: 17px;
    top: 0%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #706d6d;
    background: #cdcdcde0;
    padding: 0 5px;
    transition: 0.2s ease-in-out;
    pointer-events: none;
}

/* Pseudo-element to mask the border behind the label */
.floating-label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 8px; /* Adjust this to match your label height */
    background: #cdcdcde0; /* Match the input background */
    transform: translateY(-50%);
    z-index: -1; /* Puts it behind the label but above the input border */
}

.floating-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #767676;
    border-radius: 5px;
    background: transparent;
    font-size: 16px;
    outline: none;
    transition: border 0.2s;
}

.floating-input:focus {
    border-color: rgb(0, 49, 139);
}

.floating-input:focus + .floating-label,
.floating-input:not(:placeholder-shown) + .floating-label {
    top: -1px;
    font-size: 12px;
    color: rgb(0, 49, 139);
}

.floating-input:focus + .float-date,
.floating-input:valid + .float-date {
    top: -1px;
    font-size: 12px;
    color: rgb(0, 49, 139);
}


/* Adjust the mask when label moves up */
.floating-input:focus + .floating-label::before,
.floating-input:valid + .floating-label::before {
    height: 10px; /* Adjust if needed */
}

.flatpickr-wrapper{
    display:block!important;
}

.dropdown-toggle:hover{
    border: 1px solid #767676 !important;
    background: transparent!important;
    }