/* your styles go here */
.rounded-notification {
    border-radius: .50rem !important
}

.table-clear {
    background-color: transparent !important
}

.rollover_image:hover {
    opacity: .3;
}

.align-center {
    text-align: center !important;
}

/* FORM ELEMENTS   
----------------------------------------------------------*/

fieldset.top {
    margin: 1em 0px;
    padding: 1em;
    border: 1px solid #dee2e6;
}

    fieldset.top p {
        margin: 2px 12px 10px 10px;
    }

fieldset label.inline {
    display: inline;
}

legend.top {
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

legend.large {
    font-size: 1.5em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

.col-xl-2_5 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%
}

.custom-rounded {
    border-radius: 20px;
}

.custom-textbox {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 20px; /* Adjust for rounded corners */
    padding: 10px 15px;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.custom-textbox .input-label {
    margin-right: 15px;
    color: #6c757d;
    font-size: 1rem;
}

.custom-textbox .input-content {
    flex-grow: 1;
    text-align: right;
    color: #495057;
    font-size: 1rem;
}

/* Calendar Style Start Here */
.calendar_icon {
    padding: 0;
    border-spacing: 0;
    height: 100px;
    width: 94px;
    border-collapse: collapse;
}

.calendar_top {
    background-image: url('../img/calendar_top.png') !important;
    background-repeat: no-repeat;
    height: 32px;
    text-align: center;
    padding: 0;
    border-spacing: 0;
    vertical-align: bottom;
    font-size: 8pt;
}

.calendar_bottom {
    background-image: url('../img/calendar_bottom.png') !important;
    background-repeat: no-repeat;
    height: 68px;
    text-align: center;
    vertical-align: top;
    padding: 0;
    border-spacing: 0;
}

/* Calendar Style End Here */

/* Font Style Start Here */
.xx-large-font {
    font-size: XX-Large;
}

.x-large-font {
    font-size: X-Large;
}

.no-link-style {
    text-decoration: none;
    color: inherit;
}

.no-link-style:focus, .no-link-style:hover {
    outline: none;
    color: inherit;
}
/* Font Style End Here */

/* Dropdown Style Start Here */
/* Dropdown menu styling */
.dropdown-menu {
    background-color: #f5f6f7; /* Light gray background */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    min-width: 150px; /* Consistent dropdown width */
    max-width: 200px; /* Limit excessive width */
    width: auto; /* Adjust width based on content */
    right: 0; /* Align dropdown to the right of the button */
}

    /* Dropdown item styling */
    .dropdown-menu .dropdown-item {
        border-radius: 4px; /* Rounded item corners */
        transition: background-color 0.2s ease; /* Smooth hover effect */
        padding: 0.5rem 1rem; /* Comfortable padding */
        color: #495057; /* High contrast text */
    }

        /* Hover effect for dropdown items */
        .dropdown-menu .dropdown-item:hover {
            background-color: #ebedef; /* Slightly darker hover background */
        }

/* Icon button styling */
.dropdown-toggle-box {
    display: inline-flex; /* Flex to center icon */
    align-items: center; /* Vertically align icon */
    justify-content: center; /* Horizontally align icon */
    width: 32px; /* Set square dimensions */
    height: 32px;
    border-radius: 4px; /* Slightly rounded corners */
    cursor: pointer; /* Pointer cursor */
    transition: background-color 0.2s ease; /* Smooth hover effect */
}

    /* Subtle hover effect for the button */
    .dropdown-toggle-box:hover {
        background-color: rgba(0, 0, 0, 0.05); /* Lighter hover background */
    }
/* Dropdown Style End Here */

/* Sidebar styles */
.sidebar-item .sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    text-decoration: none;
    width: 100%;
}

    .sidebar-item .sidebar-link:hover {
        border-radius: 5px;
    }

.sidebar-item i {
    font-size: 20px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .sidebar-item .sidebar-link {
        font-size: 14px;
        padding: 8px 10px;
    }

    .sidebar-item i {
        font-size: 18px;
    }
}

/* Truncate long file names in modal */
#selectedFiles div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

#selectedFiles span {
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Add ellipsis for overflow */
    max-width: 70%; /* Adjust width as needed */
    display: inline-block;
}

#selectedFiles button {
    flex-shrink: 0; /* Prevent the button from shrinking */
}

#progressContainer div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap; /* Ensure items wrap when space is limited */
}

#progressContainer span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%; /* Adjust to control how much space filenames occupy */
    display: inline-block;
    flex: 1 1 auto; /* Allow the span to grow and shrink as needed */
}

#progressContainer .progress {
    flex: 1 1 100%; /* Progress bar takes full width below the filename */
    margin-top: 8px; /* Add spacing between the filename and the progress bar */
}
