/* /Components/Account/Pages/Login.razor.rz.scp.css */
/* Позадина: длабока сина до navy радијален градиент + заоблени светли форми */
.login-outer[b-dgdh1v1p8v] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 50%, #1a237e 0%, #0d47a1 40%, #1565c0 100%);
    padding: 24px;
    font-family: 'Outfit', 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.login-bg-blob[b-dgdh1v1p8v] {
    position: absolute;
    border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
    background: rgba(100, 181, 246, 0.25);
    filter: blur(60px);
    pointer-events: none;
}

.login-bg-blob-1[b-dgdh1v1p8v] {
    width: 60vmax;
    height: 50vmax;
    top: -15vmax;
    right: -15vmax;
}

.login-bg-blob-2[b-dgdh1v1p8v] {
    width: 50vmax;
    height: 55vmax;
    bottom: -15vmax;
    left: -15vmax;
    border-radius: 55% 45% 45% 55% / 50% 50% 50% 50%;
}

.login-bg-blob-3[b-dgdh1v1p8v] {
    display: none;
}

/* Централна картичка со сенка */
.login-card-modern[b-dgdh1v1p8v] {
    width: 100%;
    max-width: 440px;
    background: #f0f4f8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}

/* Горен дел – Welcome: светлосин градиент + заоблени форми */
.welcome-pane[b-dgdh1v1p8v] {
    background: linear-gradient(165deg, #64b5f6 0%, #42a5f5 40%, #1e88e5 100%);
    padding: 44px 40px 40px;
    position: relative;
    overflow: hidden;
    color: white;
}

.welcome-wave[b-dgdh1v1p8v] {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.welcome-wave-1[b-dgdh1v1p8v] {
    width: 220px;
    height: 220px;
    top: -60px;
    right: -50px;
}

.welcome-wave-2[b-dgdh1v1p8v] {
    width: 140px;
    height: 140px;
    bottom: 40px;
    left: -30px;
}

.welcome-wave-3[b-dgdh1v1p8v] {
    width: 260px;
    height: 260px;
    bottom: -100px;
    right: -80px;
    opacity: 0.7;
}

.welcome-content[b-dgdh1v1p8v] {
    position: relative;
    z-index: 2;
}

.welcome-title[b-dgdh1v1p8v] {
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.welcome-title-small[b-dgdh1v1p8v] {
    font-size: 1.05rem;
    font-weight: 600;
    opacity: 0.95;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.welcome-subtitle[b-dgdh1v1p8v] {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 320px;
    line-height: 1.55;
    margin: 0;
}

/* Долен дел – User Login: иста тонска позадина (светло сива/сина, не бела) */
.form-pane[b-dgdh1v1p8v] {
    padding: 44px 40px 48px;
    background: #f0f4f8;
}

.form-title[b-dgdh1v1p8v] {
    font-size: 1.35rem;
    font-weight: 800;
    color: #37474f;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 28px 0;
}

.login-field[b-dgdh1v1p8v] {
    margin-bottom: 22px;
}

/* Полиња: заоблени краеви, иста светла сина позадина */
.login-input-wrap[b-dgdh1v1p8v] {
    display: flex;
    align-items: stretch;
    background: #e3f2fd;
    border-radius: 50px;
    min-height: 52px;
    border: 1px solid rgba(33, 150, 243, 0.25);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input-wrap:focus-within[b-dgdh1v1p8v] {
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

.login-input-icon-box[b-dgdh1v1p8v] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-width: 52px;
    background: #e3f2fd;
    color: #1565c0;
    flex-shrink: 0;
    border-radius: 50px 0 0 50px;
}

.login-input-icon-inner[b-dgdh1v1p8v] {
    font-size: 1.25rem !important;
}

.login-input-wrap .login-input[b-dgdh1v1p8v] {
    padding-left: 16px;
}

/* Иста светла сина позадина на двете полиња */
.login-input-wrap .login-input[b-dgdh1v1p8v],
.login-input-wrap input[type="text"][b-dgdh1v1p8v],
.login-input-wrap input[type="password"][b-dgdh1v1p8v],
.login-field .login-input-wrap input[b-dgdh1v1p8v] {
    flex: 1;
    border: none;
    background: #e3f2fd !important;
    font-size: 1rem;
    outline: none;
    color: #1e293b;
}

.login-input-wrap input[b-dgdh1v1p8v]::placeholder,
.login-input[b-dgdh1v1p8v]::placeholder {
    color: #546e7a;
}

/* Полето за лозинка: внатрешен wrapper така што Show е во полето */
.login-field-password .login-input-wrap.password-wrap[b-dgdh1v1p8v] {
    position: relative;
    padding-right: 0;
}

.password-input-inner[b-dgdh1v1p8v] {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.password-input-inner .login-input[b-dgdh1v1p8v] {
    flex: 1;
    min-width: 0;
    padding-right: 56px;
}

/* Show/Hide внатре во полето за лозинка (десно во границите на полето) */
.password-toggle[b-dgdh1v1p8v] {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #1565c0;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 8px;
    z-index: 2;
    pointer-events: auto;
}

.password-toggle:hover[b-dgdh1v1p8v] {
    color: #0d47a1;
}

.login-options[b-dgdh1v1p8v] {
    display: flex;
    align-items: center;
    margin: 20px 0 28px 0;
}

.login-remember[b-dgdh1v1p8v] {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #37474f;
}

.login-remember span[b-dgdh1v1p8v] {
    margin-left: 10px;
}

.furniflow-checkbox[b-dgdh1v1p8v] {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
    accent-color: #1565c0;
    flex-shrink: 0 !important;
    appearance: auto !important;
}

/* LOGIN копче: цврста темно сина (како на сликата) */
.login-submit-btn[b-dgdh1v1p8v] {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 50px;
    background: #0d47a1;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.login-submit-btn:hover[b-dgdh1v1p8v] {
    background: #0a3d91;
    box-shadow: 0 8px 24px rgba(13, 71, 161, 0.4);
}

@media (max-width: 480px) {
    .login-outer[b-dgdh1v1p8v] {
        padding: 16px;
    }

    .welcome-pane[b-dgdh1v1p8v] {
        padding: 36px 24px 32px;
    }

    .form-pane[b-dgdh1v1p8v] {
        padding: 36px 24px 40px;
    }

    .form-title[b-dgdh1v1p8v] {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }
}
/* /Components/Account/Pages/LoginRfid.razor.rz.scp.css */
/* Reuse same styles from Login.razor.css - they are scoped, so we repeat here */

.login-outer[b-u9x8ssbj3g] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 50%, #1a237e 0%, #0d47a1 40%, #1565c0 100%);
    padding: 24px;
    font-family: 'Outfit', 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.login-bg-blob[b-u9x8ssbj3g] {
    position: absolute;
    border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
    background: rgba(100, 181, 246, 0.25);
    filter: blur(60px);
    pointer-events: none;
}

.login-bg-blob-1[b-u9x8ssbj3g] {
    width: 60vmax;
    height: 50vmax;
    top: -15vmax;
    right: -15vmax;
}

.login-bg-blob-2[b-u9x8ssbj3g] {
    width: 50vmax;
    height: 55vmax;
    bottom: -15vmax;
    left: -15vmax;
    border-radius: 55% 45% 45% 55% / 50% 50% 50% 50%;
}

.login-card-modern[b-u9x8ssbj3g] {
    width: 100%;
    max-width: 440px;
    background: #f0f4f8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}

.welcome-pane[b-u9x8ssbj3g] {
    background: linear-gradient(165deg, #64b5f6 0%, #42a5f5 40%, #1e88e5 100%);
    padding: 44px 40px 40px;
    position: relative;
    overflow: hidden;
    color: white;
}

.welcome-wave[b-u9x8ssbj3g] {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.welcome-wave-1[b-u9x8ssbj3g] {
    width: 220px;
    height: 220px;
    top: -60px;
    right: -50px;
}

.welcome-wave-2[b-u9x8ssbj3g] {
    width: 140px;
    height: 140px;
    bottom: 40px;
    left: -30px;
}

.welcome-wave-3[b-u9x8ssbj3g] {
    width: 260px;
    height: 260px;
    bottom: -100px;
    right: -80px;
    opacity: 0.7;
}

.welcome-content[b-u9x8ssbj3g] {
    position: relative;
    z-index: 2;
}

.welcome-title[b-u9x8ssbj3g] {
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.welcome-title-small[b-u9x8ssbj3g] {
    font-size: 1.05rem;
    font-weight: 600;
    opacity: 0.95;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.welcome-subtitle[b-u9x8ssbj3g] {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 320px;
    line-height: 1.55;
    margin: 0;
}

.form-pane[b-u9x8ssbj3g] {
    padding: 44px 40px 48px;
    background: #f0f4f8;
}

.form-title[b-u9x8ssbj3g] {
    font-size: 1.35rem;
    font-weight: 800;
    color: #37474f;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 28px 0;
}

.login-field[b-u9x8ssbj3g] {
    margin-bottom: 22px;
}

.login-input-wrap[b-u9x8ssbj3g] {
    display: flex;
    align-items: stretch;
    background: #e3f2fd;
    border-radius: 50px;
    min-height: 52px;
    border: 1px solid rgba(33, 150, 243, 0.25);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input-wrap:focus-within[b-u9x8ssbj3g] {
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

.login-input-icon-box[b-u9x8ssbj3g] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-width: 52px;
    background: #e3f2fd;
    color: #1565c0;
    flex-shrink: 0;
    border-radius: 50px 0 0 50px;
}

.login-input-icon-inner[b-u9x8ssbj3g] {
    font-size: 1.25rem !important;
}

.login-input-wrap .login-input[b-u9x8ssbj3g] {
    padding-left: 16px;
}

.login-input-wrap .login-input[b-u9x8ssbj3g],
.login-input-wrap input[type="text"][b-u9x8ssbj3g] {
    flex: 1;
    border: none;
    background: #e3f2fd !important;
    font-size: 1rem;
    outline: none;
    color: #1e293b;
}

.login-input-wrap input[b-u9x8ssbj3g]::placeholder,
.login-input[b-u9x8ssbj3g]::placeholder {
    color: #546e7a;
}

.login-submit-btn[b-u9x8ssbj3g] {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 50px;
    background: #0d47a1;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.login-submit-btn:hover[b-u9x8ssbj3g] {
    background: #0a3d91;
    box-shadow: 0 8px 24px rgba(13, 71, 161, 0.4);
}

.rfid-submit-btn[b-u9x8ssbj3g] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1565c0;
}

.rfid-submit-btn:hover[b-u9x8ssbj3g] {
    background: #0d47a1;
}

.rfid-divider[b-u9x8ssbj3g] {
    display: flex;
    align-items: center;
    margin: 28px 0;
    gap: 16px;
}

.rfid-divider[b-u9x8ssbj3g]::before,
.rfid-divider[b-u9x8ssbj3g]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #b0bec5;
}

.rfid-divider span[b-u9x8ssbj3g] {
    color: #78909c;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.rfid-alt-login[b-u9x8ssbj3g] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    border: 2px solid #90caf9;
    border-radius: 50px;
    background: transparent;
    color: #1565c0;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}

.rfid-alt-login:hover[b-u9x8ssbj3g] {
    background: #e3f2fd;
    border-color: #1976d2;
    text-decoration: none;
}

@media (max-width: 480px) {
    .login-outer[b-u9x8ssbj3g] {
        padding: 16px;
    }

    .welcome-pane[b-u9x8ssbj3g] {
        padding: 36px 24px 32px;
    }

    .form-pane[b-u9x8ssbj3g] {
        padding: 36px 24px 40px;
    }

    .form-title[b-u9x8ssbj3g] {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-fb28icw92x] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-fb28icw92x] {
    flex: 1;
}

.sidebar[b-fb28icw92x] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-fb28icw92x] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-fb28icw92x]  a, .top-row[b-fb28icw92x]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-fb28icw92x]  a:hover, .top-row[b-fb28icw92x]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-fb28icw92x]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-fb28icw92x] {
        justify-content: space-between;
    }

    .top-row[b-fb28icw92x]  a, .top-row[b-fb28icw92x]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-fb28icw92x] {
        flex-direction: row;
    }

    .sidebar[b-fb28icw92x] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-fb28icw92x] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-fb28icw92x]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-fb28icw92x], article[b-fb28icw92x] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-fb28icw92x] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-fb28icw92x] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-d9sl6ou4it] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-d9sl6ou4it] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-d9sl6ou4it] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-d9sl6ou4it] {
    font-size: 1.1rem;
}

.bi[b-d9sl6ou4it] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-d9sl6ou4it] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-d9sl6ou4it] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-d9sl6ou4it] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-d9sl6ou4it] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-d9sl6ou4it] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-d9sl6ou4it] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-d9sl6ou4it] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-d9sl6ou4it] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-d9sl6ou4it] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-d9sl6ou4it] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-d9sl6ou4it] {
        padding-bottom: 1rem;
    }

    .nav-item[b-d9sl6ou4it]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-d9sl6ou4it]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-d9sl6ou4it]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-d9sl6ou4it] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-d9sl6ou4it] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-d9sl6ou4it] {
        display: none;
    }

    .nav-scrollable[b-d9sl6ou4it] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-wldzoppcwe],
.components-reconnect-repeated-attempt-visible[b-wldzoppcwe],
.components-reconnect-failed-visible[b-wldzoppcwe],
.components-pause-visible[b-wldzoppcwe],
.components-resume-failed-visible[b-wldzoppcwe],
.components-rejoining-animation[b-wldzoppcwe] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-wldzoppcwe],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-wldzoppcwe],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-wldzoppcwe],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-wldzoppcwe],
#components-reconnect-modal.components-reconnect-retrying[b-wldzoppcwe],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-wldzoppcwe],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-wldzoppcwe],
#components-reconnect-modal.components-reconnect-failed[b-wldzoppcwe],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-wldzoppcwe] {
    display: block;
}


#components-reconnect-modal[b-wldzoppcwe] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    animation: components-reconnect-modal-fadeOutOpacity-b-wldzoppcwe 0.5s both;
}

#components-reconnect-modal[open][b-wldzoppcwe] {
    animation: components-reconnect-modal-slideUp-b-wldzoppcwe 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-wldzoppcwe 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-wldzoppcwe]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-wldzoppcwe 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-wldzoppcwe {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-wldzoppcwe {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-wldzoppcwe {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-wldzoppcwe] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-wldzoppcwe] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-wldzoppcwe] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

#components-reconnect-modal button:hover[b-wldzoppcwe] {
    background-color: #3b6ea2;
}

#components-reconnect-modal button:active[b-wldzoppcwe] {
    background-color: #6b9ed2;
}

.components-rejoining-animation[b-wldzoppcwe] {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div[b-wldzoppcwe] {
    position: absolute;
    border: 3px solid #0087ff;
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-wldzoppcwe 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-wldzoppcwe] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-wldzoppcwe {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/DocumentViewerDialog.razor.rz.scp.css */
.document-viewer-container[b-qd6n8sznoj] {
    min-height: 400px;
}

.document-viewer-header[b-qd6n8sznoj] {
    border-bottom: 1px solid var(--mud-palette-divider);
    padding-bottom: 12px;
}

.document-viewer-content[b-qd6n8sznoj] {
    margin-top: 16px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-viewer-content img[b-qd6n8sznoj] {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/* /Components/Pages/Home.razor.rz.scp.css */
.cursor-pointer[b-gyq9mbossp] {
    cursor: pointer;
    transition: all 0.2s ease;
}

.cursor-pointer:hover[b-gyq9mbossp] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.mud-text-hover:hover[b-gyq9mbossp] {
    text-decoration: underline !important;
    opacity: 0.8;
}

/* Клиент во „Последни етапи“ – попрофилен и поголем како побитен податок */
.last-stage-client-name[b-gyq9mbossp] {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    color: #1e3a5f;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    font-family: 'Roboto', 'Segoe UI', system-ui, sans-serif;
}
.last-stage-client-name:hover[b-gyq9mbossp] {
    color: #2c5282;
}

/* Подебели столбови на графиконот „Projects per Month“ */
.dashboard-chart svg rect[width][b-gyq9mbossp] {
    min-width: 14px;
}
.dashboard-chart[b-gyq9mbossp] {
    overflow: visible;
}
/* /Components/Pages/ProjectDialog.razor.rz.scp.css */
/* Project Dialog Custom Styles */
/* Autocomplete за клиент – не стегај ја стрелката десно (ист flex како MudSelect) */
.project-dialog-print .mud-autocomplete.mud-select .mud-input-root[b-089u84ohln],
.project-dialog-print .mud-autocomplete.mud-select .mud-input-slot[b-089u84ohln] {
    overflow: visible !important;
}

/* Униформа висина и ист padding за ВНАТРЕШНИТЕ елементи (input-slot, select-slot) */
.project-dialog-print .mud-input-root[b-089u84ohln],
.project-dialog-print .mud-select .mud-input-root[b-089u84ohln],
.project-dialog-print .mud-text-field .mud-input-root[b-089u84ohln],
.project-dialog-print .mud-date-picker .mud-input-root[b-089u84ohln] {
    min-height: 40px !important;
    height: 40px !important;
    box-sizing: border-box !important;
    padding: 8px 14px 8px 0 !important;
}
.project-dialog-print .mud-input-slot[b-089u84ohln],
.project-dialog-print .mud-select .mud-input-slot[b-089u84ohln],
.project-dialog-print .mud-text-field .mud-input-slot[b-089u84ohln],
.project-dialog-print .mud-date-picker .mud-input-slot[b-089u84ohln] {
    min-height: 40px !important;
    height: 40px !important;
    box-sizing: border-box !important;
    padding: 8px 14px 8px 0 !important;
}

/* Ист padding и вертикално усогласување на текстот во MudSelect како кај input полињата */
.project-dialog-print .mud-select .mud-input-root[b-089u84ohln],
.project-dialog-print .mud-select .mud-input-slot[b-089u84ohln] {
    display: flex !important;
    align-items: center !important;
}
/* Иста висина на текстот во select како во input: 16px font, 24px line-height */
.project-dialog-print .mud-select .mud-select-input[b-089u84ohln],
.project-dialog-print .mud-select .mud-select-input *[b-089u84ohln],
.project-dialog-print .mud-select .mud-input-slot input[b-089u84ohln] {
    font-size: 16px !important;
    line-height: 24px !important;
    font-family: Roboto, Helvetica, Arial, sans-serif !important;
}
.project-dialog-print .mud-select .mud-select-input[b-089u84ohln] {
    display: flex !important;
    align-items: center !important;
    padding: 8px 14px 8px 0 !important;
    min-height: 40px !important;
    height: 40px !important;
    box-sizing: border-box !important;
}
/* Иста висина на текст во input полињата */
.project-dialog-print .mud-text-field .mud-input-slot input[b-089u84ohln],
.project-dialog-print .mud-date-picker .mud-input-slot input[b-089u84ohln] {
    font-size: 16px !important;
    line-height: 24px !important;
}
/* Иста вертикална средина за текст во сите полиња */
.project-dialog-print .mud-text-field .mud-input-root[b-089u84ohln],
.project-dialog-print .mud-text-field .mud-input-slot[b-089u84ohln],
.project-dialog-print .mud-date-picker .mud-input-root[b-089u84ohln],
.project-dialog-print .mud-date-picker .mud-input-slot[b-089u84ohln] {
    display: flex !important;
    align-items: center !important;
}

/* Исти димензии во ред: grid-ќелиите се истегнуваат, полињата го исполнуваат просторот */
.project-dialog-print .mud-grid[b-089u84ohln] {
    align-items: stretch;
}
.project-dialog-print .mud-item[b-089u84ohln] {
    display: flex !important;
    align-self: stretch;
}
.project-dialog-print .mud-item > div:first-child[b-089u84ohln],
.project-dialog-print .mud-item > .select-desktop[b-089u84ohln],
.project-dialog-print .mud-item > .select-mobile[b-089u84ohln] {
    width: 100%;
    min-height: 40px;
    display: flex !important;
    flex-direction: column !important;
}
.project-dialog-print .mud-item .mud-input-control[b-089u84ohln],
.project-dialog-print .mud-item .mud-select-root[b-089u84ohln] {
    min-height: 40px !important;
}
/* Исти margin/padding за изедначување на редовите */
.project-dialog-print .mud-input-control[b-089u84ohln],
.project-dialog-print .mud-select-root[b-089u84ohln] {
    margin-bottom: 0 !important;
}
.project-dialog-print .mud-grid .mud-grid-item[b-089u84ohln],
.project-dialog-print .mud-grid .mud-item[b-089u84ohln] {
    margin-bottom: 0 !important;
}

/* Reduce dialog title padding */
.mud-dialog-title[b-089u84ohln] {
    padding: 12px 16px !important;
}

.mud-dialog-title h6[b-089u84ohln] {
    margin: 0 !important;
    padding: 0 !important;
}

.project-dialog-section[b-089u84ohln] {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 12px;
    margin-bottom: 10px;
    transition: box-shadow 0.2s ease;
}

.project-dialog-section:hover[b-089u84ohln] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-dialog-section-header[b-089u84ohln] {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-dialog-section-header .mud-icon[b-089u84ohln] {
    color: #2c5282;
}

/* Improved form field spacing */
.project-dialog-section .mud-grid-item[b-089u84ohln] {
    margin-bottom: 0px;
    padding: 0px 2px !important;
}

/* Reduce padding on input fields */
.project-dialog-section .mud-input-control[b-089u84ohln] {
    margin-bottom: 2px;
}

.project-dialog-section .mud-input[b-089u84ohln] {
    padding: 2px 6px !important;
    min-height: 32px !important;
}

.project-dialog-section .mud-input-slot[b-089u84ohln] {
    padding: 1px 4px !important;
}

.project-dialog-section .mud-input-root[b-089u84ohln] {
    padding: 1px 4px !important;
}

.project-dialog-section .mud-select-input[b-089u84ohln] {
    padding: 1px 4px !important;
}

.project-dialog-section .mud-input-label[b-089u84ohln] {
    font-size: 0.875rem !important;
    padding: 0 !important;
}

.project-dialog-section .mud-select[b-089u84ohln] {
    min-height: 32px !important;
}

.project-dialog-section .mud-select .mud-input[b-089u84ohln] {
    padding: 1px 4px !important;
}

.project-dialog-section .mud-select .mud-input-slot[b-089u84ohln] {
    padding: 1px 4px !important;
}

.project-dialog-section .mud-select .mud-input-root[b-089u84ohln] {
    padding: 1px 4px !important;
}

.project-dialog-section .mud-select .mud-select-input[b-089u84ohln] {
    padding: 1px 4px !important;
}

.project-dialog-section .mud-text-field[b-089u84ohln] {
    margin-bottom: 2px !important;
}

.project-dialog-section .mud-select-root[b-089u84ohln] {
    margin-bottom: 2px !important;
}

/* Reduce padding on all input controls */
.project-dialog-section .mud-input-control[b-089u84ohln] {
    padding: 0 !important;
}

.project-dialog-section .mud-input-control-input-container[b-089u84ohln] {
    padding: 0 !important;
}

/* Reduce padding on date picker */
.project-dialog-section .mud-date-picker[b-089u84ohln] {
    margin-bottom: 2px !important;
}

.project-dialog-section .mud-date-picker[b-089u84ohln] {
    min-height: 32px !important;
}

.project-dialog-section .mud-date-picker .mud-input[b-089u84ohln] {
    padding: 1px 4px !important;
}

.project-dialog-section .mud-date-picker .mud-input-slot[b-089u84ohln] {
    padding: 1px 4px !important;
}

/* Better alert styling */
.project-dialog-section .mud-alert[b-089u84ohln] {
    border-radius: 8px;
    border-left: 4px solid #0ea5e9;
}

/* Table improvements for stages */
.project-dialog-section .mud-table[b-089u84ohln] {
    border-radius: 8px;
    overflow: hidden;
}

.project-dialog-section .mud-table-row:hover[b-089u84ohln] {
    background-color: #f8fafc;
}

/* Action buttons styling */
.project-dialog-actions[b-089u84ohln] {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Responsive improvements */
@media (max-width: 600px) {
    .project-dialog-section[b-089u84ohln] {
        padding: 16px;
    }
    
    .project-dialog-section-header[b-089u84ohln] {
        font-size: 1rem;
    }
}
/* /Components/Pages/ProjectDocuments.razor.rz.scp.css */
.mud-list-item[b-px7hahk68a] {
    transition: background-color 0.2s ease;
}

.mud-list-item:hover[b-px7hahk68a] {
    background-color: rgba(0, 0, 0, 0.04);
}

.mud-list-item .mud-icon-button[b-px7hahk68a] {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.mud-list-item:hover .mud-icon-button[b-px7hahk68a] {
    opacity: 1;
}
/* /Components/Pages/WorkOrderGantt.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   Work Order Gantt Timeline — Scoped Styles
   ═══════════════════════════════════════════════════════ */

/* ── Container ── */
.gantt-wrapper[b-ujqzzoejyr] {
    background: var(--mud-palette-surface);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.gantt-container[b-ujqzzoejyr] {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 75vh;
    position: relative;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    /* Ширина на левата колона — иста за заглавие и редови */
    --gantt-label-col: 260px;
}

/* ── Header / редови: 2-колонен grid (фиксна етикета + временска оска што СЕКОГАШ го полни остатокот) ── */
.gantt-header[b-ujqzzoejyr] {
    display: grid;
    grid-template-columns: var(--gantt-label-col, 260px) minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    min-width: 0;
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--mud-palette-appbar-background);
    color: var(--mud-palette-appbar-text);
    border-bottom: 2px solid var(--mud-palette-lines-default);
    box-sizing: border-box;
}

.gantt-header-corner[b-ujqzzoejyr] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mud-palette-appbar-background);
    color: var(--mud-palette-appbar-text);
    border-right: 1px solid var(--mud-palette-lines-default);
    min-width: 0;
}

.gantt-timeline-header[b-ujqzzoejyr] {
    display: grid;
    grid-template-columns: repeat(var(--gantt-day-count, 7), minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.gantt-time-col[b-ujqzzoejyr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    padding: 8px 2px;
    border-left: 1px solid rgba(0,0,0,0.08);
    font-size: 0.78rem;
    transition: background-color 0.15s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.gantt-time-col .gantt-time-day[b-ujqzzoejyr],
.gantt-time-col .gantt-time-date[b-ujqzzoejyr] {
    max-width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
}

.gantt-time-day[b-ujqzzoejyr] {
    font-weight: 700;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gantt-time-date[b-ujqzzoejyr] {
    font-weight: 400;
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 1px;
}

.gantt-today-col[b-ujqzzoejyr] {
    background: rgba(46, 125, 50, 0.3) !important;
    border-top: 3px solid var(--mud-palette-success);
}

.gantt-weekend-col[b-ujqzzoejyr] {
    background: rgba(0,0,0,0.15);
}

/* Фаза закажана надвор од избраниот период на Гант (мала лента на работ) */
.gantt-bar-off-view[b-ujqzzoejyr] {
    opacity: 0.92;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}

.gantt-bar-off-view-before[b-ujqzzoejyr] {
    border-left-style: dashed !important;
}

.gantt-bar-off-view-after[b-ujqzzoejyr] {
    border-right-style: dashed !important;
}

/* ── Label Column (лево; ширината ја задава grid-колоната, не фиксен px тука) ── */
.gantt-label-cell[b-ujqzzoejyr] {
    min-width: 0;
    padding: 6px 12px;
    position: sticky;
    left: 0;
    z-index: 10;
    background: var(--mud-palette-surface);
    border-right: 1px solid var(--mud-palette-lines-default);
    box-sizing: border-box;
}

/* ── Body ── */
.gantt-body[b-ujqzzoejyr] {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* ── Work Order Row (истата 2-колонена мрежа како заглавието) ── */
.gantt-row[b-ujqzzoejyr] {
    display: grid;
    grid-template-columns: var(--gantt-label-col, 260px) minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    min-width: 0;
    border-bottom: 1px solid var(--mud-palette-lines-inputs);
    transition: background-color 0.12s ease;
    min-height: 50px;
    box-sizing: border-box;
}

.gantt-row:hover[b-ujqzzoejyr] {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.04);
}

.gantt-row:hover .gantt-label-cell[b-ujqzzoejyr] {
    background: rgba(var(--mud-palette-primary-rgb), 0.06) !important;
}

.gantt-wo-label[b-ujqzzoejyr] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    transition: all 0.12s ease;
}

.gantt-wo-label:hover[b-ujqzzoejyr] {
    background: rgba(var(--mud-palette-primary-rgb), 0.08) !important;
}

.gantt-wo-indicator[b-ujqzzoejyr] {
    width: 4px;
    min-height: 24px;
    align-self: stretch;
    border-radius: 4px;
    flex-shrink: 0;
}

.gantt-wo-info[b-ujqzzoejyr] {
    overflow: hidden;
    min-width: 0;
}

.gantt-wo-name[b-ujqzzoejyr] {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.35;
}

.gantt-wo-ref[b-ujqzzoejyr] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ── Timeline track: втора grid-колона — целосна ширина на временската оска ── */
.gantt-timeline-track[b-ujqzzoejyr] {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    box-sizing: border-box;
}

/* Саатна мрежа над ќелиите (ќелиите со weekend/today ја покриваа само background на parent) */
.gantt-timeline-track.gantt-track-hourly[b-ujqzzoejyr]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        to right,
        transparent 0,
        transparent calc(100% / var(--gantt-total-hours, 168) - 1px),
        rgba(25, 118, 210, 0.22) calc(100% / var(--gantt-total-hours, 168) - 1px),
        rgba(25, 118, 210, 0.22) calc(100% / var(--gantt-total-hours, 168))
    );
}

.gantt-timeline-cells[b-ujqzzoejyr] {
    display: grid;
    grid-template-columns: repeat(var(--gantt-day-count, 7), minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
}

/* (сата мрежа е на .gantt-track-hourly::before) */

.gantt-timeline-overlay[b-ujqzzoejyr] {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    z-index: 2;
}

.gantt-timeline-overlay .gantt-bar[b-ujqzzoejyr],
.gantt-timeline-overlay .gantt-milestone[b-ujqzzoejyr] {
    pointer-events: auto;
}

/* ── Grid Cells ── */
.gantt-cell[b-ujqzzoejyr] {
    min-width: 0;
    width: 100%;
    border-left: 1px solid var(--mud-palette-lines-inputs);
    box-sizing: border-box;
}

.gantt-weekend-cell[b-ujqzzoejyr] {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(0,0,0,0.015) 5px,
        rgba(0,0,0,0.015) 10px
    );
}

.gantt-today-cell[b-ujqzzoejyr] {
    background: rgba(46, 125, 50, 0.06);
}

/* ── Phase Bars (ширина пропорционална на време; min ширина за кратки фази на долг период) ── */
.gantt-bar[b-ujqzzoejyr] {
    position: absolute;
    height: 24px;
    min-width: 20px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 3px;
    font-size: 0.72rem;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    z-index: 5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    outline: 1px solid rgba(13, 71, 161, 0.35);
    outline-offset: -1px;
    transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
    box-sizing: border-box;
}

.gantt-bar:hover[b-ujqzzoejyr] {
    transform: scaleY(1.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    z-index: 15;
}

.gantt-bar-production[b-ujqzzoejyr] {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 50%, #64b5f6 100%);
    color: #0d47a1;
}

.gantt-bar-installation[b-ujqzzoejyr] {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 50%, #81c784 100%);
    color: #1b5e20;
}

.gantt-bar-realized[b-ujqzzoejyr] {
    opacity: 0.7;
    background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 50%, #9e9e9e 100%) !important;
    color: #424242 !important;
    text-decoration: line-through;
}

.gantt-bar-label[b-ujqzzoejyr] {
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.gantt-bar-check[b-ujqzzoejyr] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #2e7d32;
    margin-left: 2px;
    flex-shrink: 0;
}

/* ── Milestones ── */
.gantt-milestone[b-ujqzzoejyr] {
    position: absolute;
    z-index: 8;
    cursor: pointer;
}

.gantt-milestone-diamond[b-ujqzzoejyr] {
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    transition: transform 0.15s ease;
}

.gantt-milestone:hover .gantt-milestone-diamond[b-ujqzzoejyr] {
    transform: rotate(45deg) scale(1.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ── Today Line ── */
.gantt-today-line[b-ujqzzoejyr] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--mud-palette-error);
    z-index: 6;
    pointer-events: none;
    box-shadow: 0 0 6px rgba(211, 47, 47, 0.4);
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .gantt-container[b-ujqzzoejyr] {
        --gantt-label-col: 180px;
    }

    .gantt-label-cell[b-ujqzzoejyr] {
        padding: 4px 8px;
    }

    .gantt-wo-name[b-ujqzzoejyr] {
        font-size: 0.75rem;
    }

    .gantt-wo-ref[b-ujqzzoejyr] {
        font-size: 0.62rem;
    }
}

/* ── Scrollbar Styling ── */
.gantt-container[b-ujqzzoejyr]::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

.gantt-container[b-ujqzzoejyr]::-webkit-scrollbar-track {
    background: var(--mud-palette-background-grey);
    border-radius: 5px;
}

.gantt-container[b-ujqzzoejyr]::-webkit-scrollbar-thumb {
    background: var(--mud-palette-text-disabled);
    border-radius: 5px;
    border: 2px solid var(--mud-palette-background-grey);
}

.gantt-container[b-ujqzzoejyr]::-webkit-scrollbar-thumb:hover {
    background: var(--mud-palette-text-secondary);
}
/* /Components/Pages/WorkOrderTimelineView.razor.rz.scp.css */
/* ???????????????????????????????????????????????????????
   Work Order Gantt Timeline ? Scoped Styles
   ??????????????????????????????????????????????????????? */

/* ?? Container ?? */
.gantt-wrapper[b-0rcy5j14h3] {
    background: var(--mud-palette-surface);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.gantt-container[b-0rcy5j14h3] {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 75vh;
    position: relative;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    /* ?????? ?? ?????? ?????? ? ???? ?? ???????? ? ?????? */
    --gantt-label-col: 260px;
}

/* ?? Header / ??????: 2-??????? grid (?????? ??????? + ????????? ???? ??? ??????? ?? ????? ?????????) ?? */
.gantt-header[b-0rcy5j14h3] {
    display: grid;
    grid-template-columns: var(--gantt-label-col, 260px) minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    min-width: 0;
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--mud-palette-appbar-background);
    color: var(--mud-palette-appbar-text);
    border-bottom: 2px solid var(--mud-palette-lines-default);
    box-sizing: border-box;
}

.gantt-header-corner[b-0rcy5j14h3] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mud-palette-appbar-background);
    color: var(--mud-palette-appbar-text);
    border-right: 1px solid var(--mud-palette-lines-default);
    min-width: 0;
}

.gantt-timeline-header[b-0rcy5j14h3] {
    display: grid;
    grid-template-columns: repeat(var(--gantt-day-count, 7), minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.gantt-time-col[b-0rcy5j14h3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    padding: 8px 2px;
    border-left: 1px solid rgba(0,0,0,0.08);
    font-size: 0.78rem;
    transition: background-color 0.15s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.gantt-time-col .gantt-time-day[b-0rcy5j14h3],
.gantt-time-col .gantt-time-date[b-0rcy5j14h3] {
    max-width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
}

.gantt-time-day[b-0rcy5j14h3] {
    font-weight: 700;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gantt-time-date[b-0rcy5j14h3] {
    font-weight: 400;
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 1px;
}

.gantt-today-col[b-0rcy5j14h3] {
    background: rgba(46, 125, 50, 0.3) !important;
    border-top: 3px solid var(--mud-palette-success);
}

.gantt-weekend-col[b-0rcy5j14h3] {
    background: rgba(0,0,0,0.15);
}

/* ?? Label Column (????; ???????? ?? ?????? grid-????????, ?? ?????? px ????) ?? */
.gantt-label-cell[b-0rcy5j14h3] {
    min-width: 0;
    padding: 6px 12px;
    position: sticky;
    left: 0;
    z-index: 10;
    background: var(--mud-palette-surface);
    border-right: 1px solid var(--mud-palette-lines-default);
    box-sizing: border-box;
}

/* ?? Body ?? */
.gantt-body[b-0rcy5j14h3] {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* ?? Work Order Row (?????? 2-???????? ????? ???? ??????????) ?? */
.gantt-row[b-0rcy5j14h3] {
    display: grid;
    grid-template-columns: var(--gantt-label-col, 260px) minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    min-width: 0;
    border-bottom: 1px solid var(--mud-palette-lines-inputs);
    transition: background-color 0.12s ease;
    min-height: 50px;
    box-sizing: border-box;
}

.gantt-row:hover[b-0rcy5j14h3] {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.04);
}

.gantt-row:hover .gantt-label-cell[b-0rcy5j14h3] {
    background: rgba(var(--mud-palette-primary-rgb), 0.06) !important;
}

.gantt-wo-label[b-0rcy5j14h3] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    transition: all 0.12s ease;
}

.gantt-wo-label:hover[b-0rcy5j14h3] {
    background: rgba(var(--mud-palette-primary-rgb), 0.08) !important;
}

.gantt-wo-indicator[b-0rcy5j14h3] {
    width: 4px;
    min-height: 24px;
    align-self: stretch;
    border-radius: 4px;
    flex-shrink: 0;
}

.gantt-wo-info[b-0rcy5j14h3] {
    overflow: hidden;
    min-width: 0;
}

.gantt-wo-name[b-0rcy5j14h3] {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.35;
}

.gantt-wo-ref[b-0rcy5j14h3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ?? Timeline track: ????? grid-?????? ? ??????? ?????? ?? ??????????? ???? ?? */
.gantt-timeline-track[b-0rcy5j14h3] {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    box-sizing: border-box;
}

/* ?????? ????? ??? ??????? (??????? ?? weekend/today ?? ???????? ???? background ?? parent) */
.gantt-timeline-track.gantt-track-hourly[b-0rcy5j14h3]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        to right,
        transparent 0,
        transparent calc(100% / var(--gantt-total-hours, 168) - 1px),
        rgba(25, 118, 210, 0.22) calc(100% / var(--gantt-total-hours, 168) - 1px),
        rgba(25, 118, 210, 0.22) calc(100% / var(--gantt-total-hours, 168))
    );
}

.gantt-timeline-cells[b-0rcy5j14h3] {
    display: grid;
    grid-template-columns: repeat(var(--gantt-day-count, 7), minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
}

/* (???? ????? ? ?? .gantt-track-hourly::before) */

.gantt-timeline-overlay[b-0rcy5j14h3] {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    z-index: 2;
}

.gantt-timeline-overlay .gantt-bar[b-0rcy5j14h3],
.gantt-timeline-overlay .gantt-milestone[b-0rcy5j14h3] {
    pointer-events: auto;
}

/* ?? Grid Cells ?? */
.gantt-cell[b-0rcy5j14h3] {
    min-width: 0;
    width: 100%;
    border-left: 1px solid var(--mud-palette-lines-inputs);
    box-sizing: border-box;
}

.gantt-weekend-cell[b-0rcy5j14h3] {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(0,0,0,0.015) 5px,
        rgba(0,0,0,0.015) 10px
    );
}

.gantt-today-cell[b-0rcy5j14h3] {
    background: rgba(46, 125, 50, 0.06);
}

/* ?? Phase Bars (?????? ?????????????? ?? ?????; min ?????? ?? ?????? ???? ?? ???? ??????) ?? */
.gantt-bar[b-0rcy5j14h3] {
    position: absolute;
    height: 24px;
    min-width: 20px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 3px;
    font-size: 0.72rem;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    z-index: 5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    outline: 1px solid rgba(13, 71, 161, 0.35);
    outline-offset: -1px;
    transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
    box-sizing: border-box;
}

.gantt-bar:hover[b-0rcy5j14h3] {
    transform: scaleY(1.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    z-index: 15;
}

.gantt-bar-production[b-0rcy5j14h3] {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 50%, #64b5f6 100%);
    color: #0d47a1;
}

.gantt-bar-installation[b-0rcy5j14h3] {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 50%, #81c784 100%);
    color: #1b5e20;
}

.gantt-bar-realized[b-0rcy5j14h3] {
    opacity: 0.7;
    background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 50%, #9e9e9e 100%) !important;
    color: #424242 !important;
    text-decoration: line-through;
}

.gantt-bar-label[b-0rcy5j14h3] {
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.gantt-bar-check[b-0rcy5j14h3] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #2e7d32;
    margin-left: 2px;
    flex-shrink: 0;
}

/* ?? Milestones ?? */
.gantt-milestone[b-0rcy5j14h3] {
    position: absolute;
    z-index: 8;
    cursor: pointer;
}

.gantt-milestone-diamond[b-0rcy5j14h3] {
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    transition: transform 0.15s ease;
}

.gantt-milestone:hover .gantt-milestone-diamond[b-0rcy5j14h3] {
    transform: rotate(45deg) scale(1.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ?? Today Line ?? */
.gantt-today-line[b-0rcy5j14h3] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--mud-palette-error);
    z-index: 6;
    pointer-events: none;
    box-shadow: 0 0 6px rgba(211, 47, 47, 0.4);
}

/* ?? Responsive ?? */
@media (max-width: 960px) {
    .gantt-container[b-0rcy5j14h3] {
        --gantt-label-col: 180px;
    }

    .gantt-label-cell[b-0rcy5j14h3] {
        padding: 4px 8px;
    }

    .gantt-wo-name[b-0rcy5j14h3] {
        font-size: 0.75rem;
    }

    .gantt-wo-ref[b-0rcy5j14h3] {
        font-size: 0.62rem;
    }
}

/* ?? Scrollbar Styling ?? */
.gantt-container[b-0rcy5j14h3]::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

.gantt-container[b-0rcy5j14h3]::-webkit-scrollbar-track {
    background: var(--mud-palette-background-grey);
    border-radius: 5px;
}

.gantt-container[b-0rcy5j14h3]::-webkit-scrollbar-thumb {
    background: var(--mud-palette-text-disabled);
    border-radius: 5px;
    border: 2px solid var(--mud-palette-background-grey);
}

.gantt-container[b-0rcy5j14h3]::-webkit-scrollbar-thumb:hover {
    background: var(--mud-palette-text-secondary);
}

/* Resource view: phase row label */
.gantt-label-cell.resource-cell[b-0rcy5j14h3] {
    border-left: 4px solid var(--mud-palette-primary);
}

