a.link{
    text-decoration: none;
    color: #000 !important;
    font-weight: bold !important;
}
.active {
    background-color: #fff !important;
}
.required_asterik:after {
    content: '*';
    color: red;
    padding-left: 5px;
}
.color_secondary {
    background-color: #f5f5f5 !important;
}

.hidden{
    display: none !important;
}
a.delete {
    text-decoration: none;
    color: darkred !important;
}

a.delete:hover {
    text-decoration: underline;
    color: red !important;
}

a.edit {
    text-decoration: none;
}

a.edit:hover {
    text-decoration: underline;
}

.sticking {
    position: -webkit-sticky;
    position: sticky;
    top: 70px;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background-color: #000000 !important;
}

fieldset.scheduler-border {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #8fa9ff7a;
    box-shadow:  0px 0px 0px 0px #000;
}

legend.scheduler-border {
    font-size: 1.2em !important;
    font-weight: bold !important;
    text-align: left !important;
    width:auto;
    padding:0 10px;
    border-bottom:none;
}

.pagination > li > a,
.pagination > li > span {
    color: #000;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    background-color: #000;
    border-color: #fff;
}
.color-green {
    color: #0b2e13 !important;
}
.color-darkgreen {
    color: darkgreen;
}
.darkred {
    color: darkred !important;
}
.darkorange{
    color: darkorange !important;
}
.darkgreen {
    color: darkgreen !important;
}
.blurry {
    text-shadow: 0 0 32px white;color: transparent;
}

/* NEED TO BE REMOVED ON PRODUCTION */
[class*=sidebar-light-] .nav-treeview>.nav-item>.nav-link.active {
    color: #fff;
}
[class*=sidebar-light-] .nav-treeview>.nav-item>.nav-link.active:hover {
    color: #ccc;
}
/* END BLOCK TO BE REMOVED */

.ioo-dashboard {
    font-family: "Inter", "Rubik", "Source Sans Pro", sans-serif;
    background-color: #f1f5f9;
    color: #0f172a;
}

.wrapper.dashboard-shell {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #0f1c46 0%, #1e3a8a 40%, #2563eb 100%);
}

.dashboard-sidebar {
    width: 280px;
    background: linear-gradient(180deg, rgba(15, 28, 70, 0.95) 0%, rgba(30, 58, 138, 0.95) 55%, rgba(37, 99, 235, 0.9) 100%);
    color: #f8fafc;
    box-shadow: 16px 0 48px rgba(15, 23, 42, 0.32);
    position: relative;
    z-index: 100;
    overflow-x: hidden;
}

.sidebar-inner {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 2.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow-y: auto;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: inherit;
}

.sidebar-brand .brand {
    max-height: 48px;
    width: auto;
}

.brand-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.brand-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(226, 232, 240, 0.75);
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(16px);
}

.sidebar-profile .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.sidebar-profile .meta {
    display: flex;
    flex-direction: column;
    font-size: 0.82rem;
}

.sidebar-profile .meta .name {
    font-weight: 600;
}

.sidebar-profile .meta .role {
    color: rgba(226, 232, 240, 0.7);
}

.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(226, 232, 240, 0.55);
    margin-bottom: 0.35rem;
    display: block;
    padding-left: 0.25rem;
}

.sidebar-nav {
    gap: 0.35rem;
}

.sidebar-nav .nav-item {
    margin-bottom: 0.15rem;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    color: rgba(226, 232, 240, 0.85);
    transition: all 0.25s ease;
    background-color: transparent;
    width: 100%;
    white-space: normal;
}

.sidebar-nav .nav-link .nav-icon,
.sidebar-nav .nav-link i.nav-icon {
    width: 22px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: inherit;
}

.sidebar-nav .nav-link .nav-label,
.sidebar-nav .nav-link p {
    margin: 0;
    flex: 1;
}

.sidebar-nav .nav-link .badge {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 500;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link:focus {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.sidebar-nav .nav-link.active,
.sidebar-nav .nav-link.profile-active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.35);
}

.sidebar-nav .nav-item.ml-3 .nav-link {
    margin-left: 0;
    padding-left: 2.4rem;
    background: rgba(15, 23, 42, 0.35);
    border-radius: 14px;
}

.sidebar-nav .nav-link.disabled {
    opacity: 0.65;
    cursor: default;
    background: transparent;
}

.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f1f5f9;
    overflow: hidden;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
    margin-left: 280px;
    transition: margin-left 0.3s ease;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 2.25rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(148, 163, 184, 0.18);
}

.header-section {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.page-context {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.page-context .page-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.page-context .page-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 0.65rem 1.1rem;
    width: 320px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.header-search input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: #0f172a;
}

.header-search:focus-within {
    border-color: rgba(37, 99, 235, 0.35);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.icon-button {
    border: none;
    background: #eff6ff;
    color: #1d4ed8;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    position: relative;
}

.icon-button .badge {
    position: absolute;
    top: -6px;
    right: -3px;
}

.icon-button:hover {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.header-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 999px;
    padding: 0.65rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    text-decoration: none;
}

.header-chip--accent {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.header-chip--primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.header-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.18);
    color: #fff;
    text-decoration: none;
}

.header-dropdown .dropdown-menu {
    border: none;
    border-radius: 18px;
    padding: 0;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.26);
    min-width: 320px;
    overflow: hidden;
}

.notification-menu__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(30, 64, 175, 0.15) 100%);
    border-bottom: 1px solid #e2e8f0;
}

.notification-menu__head h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}

.notification-menu__head .count {
    background: #1d4ed8;
    color: #fff;
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.notification-menu__list {
    max-height: 260px;
    overflow-y: auto;
}

.notification-item {
    display: block;
    padding: 0.95rem 1.1rem;
    color: #0f172a;
    transition: background 0.2s ease;
}

.notification-item .source {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1d4ed8;
    margin-bottom: 0.25rem;
}

.notification-item .message {
    font-size: 0.88rem;
    color: #334155;
}

.notification-item:hover {
    background: #eff6ff;
    text-decoration: none;
}

.notification-empty {
    padding: 1.15rem;
    font-size: 0.9rem;
}

.notification-menu__footer {
    padding: 0.7rem;
    border-top: 1px solid #e2e8f0;
}

.header-profile {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.2rem 0.4rem;
}

.header-profile .profile-meta {
    display: flex;
    flex-direction: column;
    font-size: 0.82rem;
    align-items: flex-start;
}

.header-profile .profile-meta .name {
    font-weight: 600;
    color: #0f172a;
}

.header-profile .profile-meta .role {
    font-size: 0.75rem;
    color: #64748b;
}

.header-profile .avatar,
.profile-summary .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.profile-summary {
    padding: 1.2rem 1.4rem;
    background: #eef2ff;
}

.profile-summary h6 {
    margin-top: 0.75rem;
    margin-bottom: 0.15rem;
    font-weight: 600;
}

.profile-summary p {
    margin-bottom: 0.2rem;
}

.profile-summary small {
    display: block;
    margin-top: 0.35rem;
}

.profile-menu .dropdown-item {
    padding: 0.85rem 1.1rem;
    font-size: 0.93rem;
}

.profile-menu .dropdown-item .mr-2 {
    margin-right: 0.5rem !important;
}

.dashboard-body {
    flex: 1;
    overflow-y: auto;
    padding: 2.25rem 2.25rem;
}

.dashboard-content {
    max-width: 1240px;
    margin: 0 auto;
}

.dashboard-footer {
    background: #ffffff;
    padding: 1.35rem 2.25rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #475569;
}

.dashboard-footer a {
    color: #2563eb;
}

.dashboard-header-mobile {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.35rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.dashboard-header-mobile .mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-header-mobile .mobile-context {
    flex: 1;
}

.dashboard-header-mobile .mobile-context .label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #94a3b8;
}

.dashboard-header-mobile .mobile-context .title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
}

.dashboard-header-mobile .mobile-search {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.55rem 0.85rem;
}

.dashboard-header-mobile .mobile-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    width: 100%;
}

.mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding-top: 1rem;
}

.mobile-chip {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 12px;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    background: #f8fafc;
    color: #1f2937;
    border: 1px solid #e2e8f0;
    text-decoration: none;
}

.mobile-chip.is-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
}

.mobile-chip.is-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    border: none;
}

.mobile-chip:hover {
    text-decoration: none;
}

.dashboard-content .card,
.dashboard-content .callout,
.dashboard-content .table,
.dashboard-content .box {
    border-radius: 18px !important;
    border-color: #e2e8f0;
    box-shadow: 0 14px 32px rgba(148, 163, 184, 0.12);
}

.dashboard-content .card-header {
    border-bottom: 1px solid #e2e8f0;
}

.dashboard-content .table thead th {
    background: #f8fafc;
}

.auth-layout {
    min-height: 100vh;
   /* background: linear-gradient(135deg, #1d4ed8 0%, #0f172a 100%);*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    font-family: "Inter", "Rubik", sans-serif;
}

.auth-container {
    width: 100%;
    max-width: 1140px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    box-shadow: 0 32px 70px rgba(15, 23, 42, 0.35);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
}

.auth-hero {
    background: linear-gradient(225deg, rgba(37, 99, 235, 0.9) 0%, rgba(15, 23, 42, 0.96) 100%);
    color: #f8fafc;
    padding: 2.75rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
}

.auth-hero__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.auth-hero__brand img {
    max-height: 48px;
}

.auth-hero__content h1 {
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.auth-hero__content p {
    font-size: 1rem;
    color: rgba(226, 232, 240, 0.85);
    margin: 0;
}

.auth-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.auth-hero__stats .stat {
    background: rgba(15, 23, 42, 0.45);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.auth-hero__stats .label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(226, 232, 240, 0.65);
}

.auth-hero__stats .value {
    font-size: 1.35rem;
    font-weight: 700;
}

.auth-card {
    background: #ffffff;
    padding: 2.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.auth-card__header h2 {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 600;
    color: #0f172a;
}

.auth-card__header p {
    margin: 0.25rem 0 0;
    color: #64748b;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.4rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f2937;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #f8fafc;
    border-radius: 16px;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.input-field i {
    color: #64748b;
}

.input-field input,
.input-field select {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: #0f172a;
}

.input-field:focus-within {
    border-color: rgba(37, 99, 235, 0.45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.input-field.has-error {
    border-color: rgba(239, 68, 68, 0.7);
    background: rgba(254, 226, 226, 0.6);
}

.select-field select {
    padding-left: 0.15rem;
}

.select-field .select2-container {
    width: 100% !important;
}

.select-field .select2-container--default .select2-selection--single {
    border: none;
    background: transparent;
    height: auto;
    padding: 0;
}

.select-field .select2-selection__rendered {
    padding-left: 0 !important;
    color: #0f172a !important;
}

.select-field .select2-selection__arrow {
    height: auto !important;
    top: 50% !important;
    transform: translateY(-50%);
}

.input-toggle {
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 0.95rem;
}

.form-group--inline {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.form-group--inline .custom-control-label {
    font-weight: 400;
    color: #475569;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-error {
    color: #ef4444;
    font-size: 0.82rem;
}

.form-hint {
    font-size: 0.78rem;
    color: #466099;
}

.auth-form .btn-primary,
.auth-card .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 14px;
    padding: 0.85rem;
    font-weight: 600;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35);
}

.auth-form .btn-primary:hover,
.auth-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.45);
}

.auth-form__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.auth-form__meta a {
    font-weight: 600;
    color: #2563eb;
}

.link-muted {
    color: #64748b;
}

.auth-card__footer {
    text-align: center;
    color: #94a3b8;
}

.spinner-overlay {
    backdrop-filter: blur(8px);
}

.spinner {
    border-width: 6px;
}

body.sidebar-collapse .dashboard-sidebar {
    width: 96px;
}

body.sidebar-collapse .sidebar-inner {
    padding: 1.75rem 0.8rem;
    align-items: center;
}

body.sidebar-collapse .sidebar-brand .brand-meta,
body.sidebar-collapse .sidebar-profile .meta,
body.sidebar-collapse .sidebar-heading,
body.sidebar-collapse .nav-label,
body.sidebar-collapse .sidebar-nav .nav-link p {
    display: none !important;
}

body.sidebar-collapse .sidebar-profile {
    flex-direction: column;
    gap: 0.5rem;
}

body.sidebar-collapse .sidebar-nav .nav-link {
    justify-content: center;
    padding: 0.75rem;
}

body.sidebar-collapse .sidebar-nav .nav-item.ml-3 .nav-link {
    margin-left: 0;
    padding-left: 0.75rem;
}

body.sidebar-collapse .sidebar-nav .nav-link .badge {
    display: none;
}

body.sidebar-collapse .dashboard-main {
    margin-left: 96px;
}

@media (max-width: 1399px) {
    .header-search {
        width: 260px;
    }
}

@media (max-width: 1199px) {
    .wrapper.dashboard-shell {
        flex-direction: column;
        background: #f1f5f9;
    }

    .dashboard-sidebar {
        width: 260px;
        position: fixed;
        height: 100%;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 24px 0 60px rgba(15, 23, 42, 0.35);
    }

    body.sidebar-open .dashboard-sidebar {
        transform: translateX(0);
    }

    body.sidebar-collapse .dashboard-sidebar {
        transform: translateX(-100%);
    }

    .dashboard-main {
        border-radius: 0;
        margin-left: 0;
    }

    body.sidebar-collapse .dashboard-main {
        margin-left: 0;
    }

    .dashboard-header {
        display: none;
    }

    .dashboard-body {
        padding: 1.5rem 1.35rem;
    }

    .dashboard-footer {
        padding: 1.1rem 1.35rem;
    }
}

@media (max-width: 991px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-hero {
        padding: 2.2rem;
    }

    .auth-card {
        padding: 2.2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group--inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
}

@media (max-width: 767px) {
    .auth-layout {
        padding: 1.5rem 1rem;
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }

    .dashboard-header-mobile .mobile-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .dashboard-body {
        padding: 1.25rem;
    }

    .dashboard-footer {
        flex-direction: column;
        text-align: center;
    }

    .auth-hero__content h1 {
        font-size: 1.55rem;
    }

    .auth-hero__content p {
        font-size: 0.95rem;
    }
}
