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;
}
.checked {
    color: orange;
}
/* Sidebar Styles */
#sidebar {
    background-color: #f8f9fa; /* Light background */
    border-right: 1px solid #ddd; /* Slight border on the right */
    height: 100vh; /* Full height */
    position: sticky; /* Stay fixed while scrolling */
    top: 0;
}

    #sidebar .nav-link {
        color: #495057; /* Dark text color */
        padding: 10px 15px; /* Add padding for better spacing */
        font-size: 16px; /* Font size for readability */
        font-weight: 500; /* Make text slightly bolder */
        text-align: left; /* Left-align text */
        border-radius: 4px; /* Rounded corners for the links */
    }

        #sidebar .nav-link:hover {
            background-color: #007bff; /* Blue background on hover */
            color: white; /* White text on hover */
        }

        #sidebar .nav-link.active {
            background-color: #007bff; /* Active link background color */
            color: white; /* Active link text color */
        }

/* Optional: Adjust the font for better readability */
body {
    font-family: 'Arial', sans-serif;
}
footer {
    margin-top: auto; /* Pushes the footer to the bottom */
    text-align: center; /* Center the footer content */
}

#sidebar {
    position: sticky;
    top: 0;
    height: 100%;
}
.table-container {
    max-height: calc(100vh - 200px); /* Adjust to fit screen */
    overflow-y: auto;
    margin-bottom: 80px; /* Ensures the last row is visible */
}
.dropdown-menu1 {
    z-index: 1050; /* Make sure it's above other elements */
    max-height: 200px; /* Optional: scroll if too many countries */
    overflow-y: auto;
}
.isDisabled {
    color: currentColor;
    cursor: not-allowed;
    opacity: 0.5;
    text-decoration: none;
    pointer-events: none;
}
/* Icon Styles */
.circle-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    margin-right: 10px; /* Space between the icon and text */
}

    .circle-icon.success {
        background-color: #fff;
        color: #4CAF50; /* Green color for the check icon */
    }

    .circle-icon.error {
        background-color: #dc3545;
        color: white;
    }

.alert span {
    flex-grow: 1; /* Allow the text to grow and take available space */
}

/* Optional: Adjust font size of the message */
.alert.success span, .alert.error span {
    font-size: 14px;
}
.otp-input {
    width: 3rem;
    text-align: center;
    font-size: 1.25rem;
    padding: 0.375rem 0.75rem;
    box-sizing: border-box; /* Prevent padding/border from shrinking the input */
}

    .otp-input:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    }

    .otp-input.is-invalid {
        border-color: #dc3545;
    }
.clear-btn:hover {
    background-color: #c82333 !important;
}
.dropzone {
    min-height: 200px;
    border: 2px dashed #ced4da;
    border-radius: 0.375rem;
    padding: 1rem;
    background: #f8f9fa;
}
/* Base style for Select2 input box */
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    height: 2.5rem;
    padding: 0.375rem 0.75rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Placeholder text color */
.select2-container--default .select2-selection__placeholder {
    color: #6c757d;
}
.select2-container {
    width: 100% !important;
}
form input,
form textarea,
form select {
    color: black !important;
}

.view-modal {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1060 !important;
    box-shadow: 2px 2px 4px 1px #524d4d !important;
}
.modal-dialog {
    top: 15%;
}
.modal-header {
    padding: 16px;
}
.modal-header, .modal-footer {
    height: 50px;
}
.modal-footer {
    padding-right: 8px;
}
.modal-body, .modal-footer {
    background-color: #f0f0f0;
}

.modal-body-container {
    height: 100% !important
}

.expand {
    opacity: 0.5
}

    .expand:hover {
        opacity: 1
    }

.modal-fullscreen {
    width: 99vw
}

::ng-deep .modal-fullscreen {
    width: 99vw
}

.view-modal tbody tr td{
    padding:0px;
}
