body {
    font-size: 14px;
    font-family: Poppins, sans-serif;
}
header {
    height: 56px;
}
#mainContainer {
    height: calc(100vh - 56px);
}
main, .main-container {
    height: 100%;
}

.flex-dir-row {
    flex-direction: row;
}

.flex-dir-col {
    flex-direction: column;
}

.ctk-select {
    min-width: 300px;
    padding: 6px 12px;
    border-width: 0px;
    border-radius: 4px;
    resize: vertical;
    background-color: #f5f5f5;
}

.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}
.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}
.col-35 {
    float: left;
    width: 35%;
}

.col-65 {
    float: left;
    width: 65%;
}

@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%;
}

.container {
    max-width: 100%;
    margin: 0px;
    padding: 0px;
}

.primary-bg-color {
    background-color: #125A97;
}
.primary-bg-text-color {
    color:#FFF;
}

a.navbar-brand { color: #FFF; font-weight: 500; }
.navbar-nav { flex-direction: row-reverse !important; }

#sidebar {
    height: 100%;
    background-color: rgb(243, 242, 241);
    border-right: 1px solid rgb(210, 208, 206);
}
#toggleSidebar {
    border: none;
    color: #FFF;
    background: none;
    margin-right: 10px;
}

.page-header {
    font-size: 1.8em;
    color: #125A97;
}

.breadcrumb {
    margin-bottom: 0px !important;
    line-height: 40px;
}

.breadcrumb-item a, .breadcrumb-item, .breadcrumb-item+.breadcrumb-item::before, .breadcrumb-item.active {
    color: #FFF;
}

/* Start - Command Bar Styling */
.grid-icon-view {
    color: #125A97
}

.list-group-item {
    border: none;
    background-color: #FFF;
    border-radius: 0;
    padding: 10px 30px;
    border-bottom: solid 3px #AAA;
    border-radius: 0px !important;
    margin-left: 3px;
    margin-bottom: 10px;
    text-align: left;
    padding-left: 8px;
    font-size: 1.2em;
    min-width: 150px;
}

    .list-group-item.active {
        border: none;
        background-color: #fff;
        font-weight: bold;
        color: #212529;
        border-bottom: solid 3px #125A97;
    }

.view-container {
    padding: 10px;
    background-color: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.command-bar {
    display: flex;
    background-color: #fff;
    padding: 5px 10px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.command-button {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: none;
    padding: 5px 6px;
    margin-right: 10px;
    border-radius: 3px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

    .command-button:hover {
        background-color: rgb(210, 208, 206);
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
    }

    .command-button i {
        margin-right: 8px;
        font-size: 16px;
    }

    .command-button:active {
        background-color: #dcdcdc;
    }

    .command-button:last-child {
        margin-right: 0;
    }

/* End - Command Bar Styling */

/* Start - Form Styling */

.form-section-container {
    flex: auto;
    background-color: #fff;
    padding: 5px 10px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 200px;
}

    .form-section-container:last-child {
        margin-right: 0px;
    }

    .form-title-container {
        padding: 5px;
        border-bottom: solid 1px #ccc;
        margin-bottom: 10px;
    }

.form-title {
    font-size: 1.2em;
    font-weight: bold;
}

/* End - Form Styling */

/* Start - styles for loader Icon*/
/* Overlay for background */
.loader-overlay {
    display: none; /* Hidden initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9999; /* Ensures it appears on top */
    justify-content: center;
    align-items: center;
}

/* Spinner style */
.loader {
    border: 8px solid #f3f3f3; /* Light gray background */
    border-top: 8px solid #125A97; /* Blue color for the spinning effect */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/* Animation for spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* End - Styles for loader icon*/

/* Start - Success Notification Styling */

body {
    position: relative;
}

.notification {
    position: fixed;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 500px;
    padding: 10px 15px;
    background-color: rgba(76, 175, 80, 0.9);
    color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: top 0.5s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
}

    .notification i {
        margin-right: 10px;
        font-size: 1.5em;
    }

    .notification.visible {
        top: 40px;
    }

#notificationMessage {
    margin-bottom: 0px !important;
}

.hidden {
    display: none;
}

/* End - Success Notification Styling */

/* Start - Tag Styling */

.tag-input-container {
    position: relative;
    display: flex;
    flex-direction: column;
}

.tag-input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

/* Dropdown */
.tag-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    max-height: 150px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    margin: 0px 10px;
}

.tag-dropdown-item {
    padding: 10px;
    cursor: pointer;
}

    .tag-dropdown-item:hover {
        background-color: #f0f0f0;
    }

/* Tags */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.tag {
    background-color: #0f6cbd;
    color: white;
    padding: 5px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
}

    .tag .remove {
        margin-left: 5px;
        cursor: pointer;
        font-weight: bold;
    }

/* End - Tag Styling */