/* _content/SmartFormPlatform.Admin/Components/FormFieldComponent.razor.rz.scp.css */
/* 民國年日期選擇器樣式 - 美觀flexbox佈局 */
.roc-date-container .d-flex[b-z30iiv6jb9] {
    gap: 0.75rem;
}

.roc-date-container .form-select-sm[b-z30iiv6jb9] {
    min-width: 100px;
    font-size: 0.875rem;
}

/* 民國年欄位稍微寬一些 */
.roc-date-container .d-flex > div:first-child[b-z30iiv6jb9] {
    flex: 1.5; /* 民國年欄位較寬 */
    min-width: 130px;
}

.roc-date-container .d-flex > div:nth-child(2)[b-z30iiv6jb9],
.roc-date-container .d-flex > div:nth-child(3)[b-z30iiv6jb9] {
    flex: 1; /* 月份和日期欄位標準寬度 */
    min-width: 90px;
}

.roc-date-container .form-label[b-z30iiv6jb9] {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.roc-date-container .form-label i[b-z30iiv6jb9] {
    color: #6c757d;
}

.roc-date-container .alert-info[b-z30iiv6jb9] {
    border-left: 4px solid #0dcaf0;
    background-color: #e7f3ff;
    border-color: #bee5eb;
}

/* 響應式調整 */
@media (max-width: 576px) {
    .roc-date-container .d-flex[b-z30iiv6jb9] {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .roc-date-container .d-flex > div:first-child[b-z30iiv6jb9],
    .roc-date-container .d-flex > div:nth-child(2)[b-z30iiv6jb9],
    .roc-date-container .d-flex > div:nth-child(3)[b-z30iiv6jb9] {
        flex: 1;
        min-width: auto;
    }
    
    .roc-date-container .form-select-sm[b-z30iiv6jb9] {
        min-width: auto;
    }
} 
/* _content/SmartFormPlatform.Admin/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-qmuhdo6ud5] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-qmuhdo6ud5] {
    flex: 1;
}

.sidebar[b-qmuhdo6ud5] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-qmuhdo6ud5] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-start;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-qmuhdo6ud5]  a, .top-row[b-qmuhdo6ud5]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-qmuhdo6ud5]  a:hover, .top-row[b-qmuhdo6ud5]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-qmuhdo6ud5]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row[b-qmuhdo6ud5] {
        justify-content: space-between;
    }

    .top-row[b-qmuhdo6ud5]  a, .top-row[b-qmuhdo6ud5]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-qmuhdo6ud5] {
        flex-direction: row;
    }

    .sidebar[b-qmuhdo6ud5] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-qmuhdo6ud5] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row .user-info[b-qmuhdo6ud5] {
        max-width: 480px;
        white-space: nowrap;
    }

    .top-row[b-qmuhdo6ud5], article[b-qmuhdo6ud5] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-qmuhdo6ud5] {
    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-qmuhdo6ud5] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}


/* _content/SmartFormPlatform.Admin/Components/Shared/NavMenu.razor.rz.scp.css */
.navbar[b-mag3l3zgii] {
    padding: 0.75rem 0.75rem 1rem 0.75rem;
}

.navbar-nav[b-mag3l3zgii] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* NavLink 會產生 <a>，用 ::deep 才能套進去 */
.navbar[b-mag3l3zgii]  .nav-link {
    color: #d7d7d7;
    background: none;
    border: none;
    border-radius: 6px;
    height: 2.75rem;
    display: flex;
    align-items: center;
    line-height: 2.75rem;
    padding: 0 0.75rem;
    text-decoration: none;
}

.navbar[b-mag3l3zgii]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

.navbar[b-mag3l3zgii]  a.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* icon spacing */
.navbar[b-mag3l3zgii]  .nav-link i {
    width: 1.25rem;
}


