.sibec-login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    background: #f4f7fb;
}

.sibec-login-visual {
    position: relative;
    align-items: flex-end;
    padding: clamp(40px, 7vw, 88px);
    background:
        linear-gradient(120deg, rgba(0, 134, 172, .94), rgba(199, 1, 143, .76)),
        url("../../mat-dash/assets/images/backgrounds/login-bg.jpg") center/cover;
}

.sibec-login-visual__content {
    max-width: 640px;
}

.sibec-login-visual h1 {
    font-size: clamp(2.4rem, 4.8vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.sibec-login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.sibec-login-card {
    width: min(100%, 460px);
}

.sibec-dashboard-clock {
    min-height: 112px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    background: rgba(255, 255, 255, .12);
}

.sibec-home-hero {
    border-radius: 8px;
    padding: clamp(24px, 4vw, 44px);
    margin-bottom: 24px;
    background:
        linear-gradient(120deg, rgba(0, 134, 172, .96), rgba(199, 1, 143, .82)),
        url("../../mat-dash/assets/images/backgrounds/welcome-bg2.png") right center/auto 100% no-repeat;
    overflow: hidden;
}

.sibec-home-hero h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.sibec-dashboard-clock strong {
    color: #fff;
    font-size: clamp(1.4rem, 2vw, 2rem);
}

.sibec-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex: 0 0 auto;
}

.left-sidebar .sidebar-link > span:first-child {
    width: 22px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.left-sidebar .sidebar-link i.ti {
    font-size: 20px;
    line-height: 1;
}

.system-user-page .btn i.ti {
    font-size: 16px;
    line-height: 1;
}

.system-user-page .btn-sm {
    width: 34px;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.system-user-page .btn:not(.btn-sm) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.system-user-page .btn-group form {
    display: inline-flex;
}

.pagination svg {
    width: 16px;
    height: 16px;
}

.pagination .page-link {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sibec-metric {
    min-height: 96px;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    padding: 16px;
    background: var(--bs-body-bg);
}

.sibec-metric span {
    display: block;
    color: var(--bs-secondary-color);
    margin-bottom: 8px;
}

.sibec-metric strong {
    font-size: 1.15rem;
}

.sibec-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(140px, 1fr));
    gap: 8px;
    overflow-x: auto;
}

.sibec-calendar-day {
    min-height: 132px;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    padding: 10px;
    background: var(--bs-body-bg);
}

.sibec-calendar-event {
    display: block;
    border-radius: 6px;
    padding: 6px 8px;
    margin-bottom: 6px;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    line-height: 1.2;
}

.sibec-calendar-event span,
.sibec-calendar-event small {
    display: block;
}

.sibec-calendar-event small {
    opacity: .72;
}

.sibec-gantt {
    min-width: 920px;
}

.sibec-gantt-range {
    margin-left: 180px;
    margin-bottom: 12px;
    color: var(--bs-secondary-color);
    font-weight: 600;
}

.sibec-gantt-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.sibec-gantt-label {
    font-weight: 700;
}

.sibec-gantt-track {
    position: relative;
    min-height: 42px;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: var(--bs-tertiary-bg);
    overflow: hidden;
}

.sibec-gantt-bar {
    position: absolute;
    top: 7px;
    height: 28px;
    border-radius: 6px;
    padding: 5px 10px;
    color: #fff;
    font-size: .8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sibec-gantt-planning { background: #13b76f; }
.sibec-gantt-on_progress { background: #f6a609; }
.sibec-gantt-running { background: #0086ac; }
.sibec-gantt-finished { background: #5a6a85; }
.sibec-gantt-cancel { background: #fa4d56; }

@media (max-width: 991.98px) {
    .sibec-login-page {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .sibec-login-panel {
        padding: 24px;
    }
}
