/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-bq929ty2ik] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

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

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

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

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

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

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

    .top-row.auth[b-bq929ty2ik]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

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

/* 認証状態表示用スタイル */
.auth-display-container[b-bq929ty2ik] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 0.5rem;
}

.auth-info[b-bq929ty2ik] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    min-width: 0;
}

.auth-partner-name[b-bq929ty2ik] {
    opacity: 0.9;
    font-size: 0.75rem;
    line-height: 1;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.auth-user-info[b-bq929ty2ik] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.auth-user-name[b-bq929ty2ik] {
    font-weight: 500;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    font-size: 0.875rem;
    line-height: 1.2;
}

.auth-role-chip[b-bq929ty2ik] {
    height: 20px;
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0 6px;
    border-radius: 10px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    color: white;
}

/* ロール別カラー */
.auth-role-admin[b-bq929ty2ik] {
    background-color: #9c27b0; /* Secondary/Purple */
}

.auth-role-enterprise[b-bq929ty2ik] {
    background-color: #ff9800; /* Warning/Orange */
}

.auth-role-standard[b-bq929ty2ik] {
    background-color: #4caf50; /* Success/Green */
}

.auth-role-entry[b-bq929ty2ik] {
    background-color: #2196f3; /* Primary/Blue */
}

.auth-role-trial[b-bq929ty2ik] {
    background-color: #03dac6; /* Info/Teal */
}

.auth-role-developer[b-bq929ty2ik] {
    background-color: #651fff; /* Tertiary/Deep Purple */
}

.auth-role-free[b-bq929ty2ik],
.auth-role-default[b-bq929ty2ik] {
    background-color: #757575; /* Default/Gray */
}

.auth-avatar-button[b-bq929ty2ik] {
    padding: 6px;
    margin-left: 4px;
}

.auth-avatar-button .mud-icon-button-root[b-bq929ty2ik] {
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.auth-avatar-button:hover .mud-icon-button-root[b-bq929ty2ik] {
    background-color: rgba(255, 255, 255, 0.1);
}

.login-button[b-bq929ty2ik] {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.login-button:hover[b-bq929ty2ik] {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .auth-info[b-bq929ty2ik] {
        display: none;
    }
    
    .auth-display-container[b-bq929ty2ik] {
        gap: 0.5rem;
    }
    
    .login-button[b-bq929ty2ik] {
        padding: 4px 12px;
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .auth-partner-name[b-bq929ty2ik] {
        max-width: 120px;
    }
    
    .auth-user-name[b-bq929ty2ik] {
        max-width: 100px;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ni6v4w5ixr] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-ni6v4w5ixr] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ni6v4w5ixr] {
    font-size: 1.1rem;
}

.bi[b-ni6v4w5ixr] {
    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-ni6v4w5ixr] {
    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-ni6v4w5ixr] {
    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-ni6v4w5ixr] {
    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");
}

.nav-item[b-ni6v4w5ixr] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ni6v4w5ixr] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ni6v4w5ixr] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ni6v4w5ixr]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-ni6v4w5ixr]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-ni6v4w5ixr]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ni6v4w5ixr] {
        display: none;
    }

    .collapse[b-ni6v4w5ixr] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-ni6v4w5ixr] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Admin/Login.razor.rz.scp.css */
.login-container[b-1pdy9oun4g] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
}

.login-form[b-1pdy9oun4g] {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    position: relative;
}

.login-header[b-1pdy9oun4g] {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2[b-1pdy9oun4g] {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.login-header p[b-1pdy9oun4g] {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.9rem;
}

.form-group[b-1pdy9oun4g] {
    margin-bottom: 1.5rem;
}

.form-label[b-1pdy9oun4g] {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
}

.form-control[b-1pdy9oun4g] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-1pdy9oun4g] {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control[b-1pdy9oun4g]::placeholder {
    color: #95a5a6;
    opacity: 1;
}

.btn[b-1pdy9oun4g] {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-primary[b-1pdy9oun4g] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover:not(:disabled)[b-1pdy9oun4g] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn:disabled[b-1pdy9oun4g] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.alert[b-1pdy9oun4g] {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: none;
}

.alert-danger[b-1pdy9oun4g] {
    background-color: #fee;
    color: #c53030;
    border-left: 4px solid #e53e3e;
}

.spinner-border[b-1pdy9oun4g] {
    width: 1rem;
    height: 1rem;
    border-width: 0.125em;
}

.spinner-border-sm[b-1pdy9oun4g] {
    width: 0.875rem;
    height: 0.875rem;
}

.login-footer[b-1pdy9oun4g] {
    border-top: 1px solid #e1e8ed;
    padding-top: 1rem;
}

.login-footer a[b-1pdy9oun4g] {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover[b-1pdy9oun4g] {
    text-decoration: underline;
}

.w-100[b-1pdy9oun4g] {
    width: 100% !important;
}

.me-2[b-1pdy9oun4g] {
    margin-right: 0.5rem !important;
}

.mb-3[b-1pdy9oun4g] {
    margin-bottom: 1rem !important;
}

.mt-4[b-1pdy9oun4g] {
    margin-top: 1.5rem !important;
}

.text-center[b-1pdy9oun4g] {
    text-align: center !important;
}

.text-muted[b-1pdy9oun4g] {
    color: #6c757d !important;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .login-container[b-1pdy9oun4g] {
        padding: 1rem;
    }

    .login-form[b-1pdy9oun4g] {
        padding: 1.5rem;
    }
}
/* /Pages/Partner/Login.razor.rz.scp.css */
.login-container[b-w61ttffggs] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 2rem;
}

.login-form[b-w61ttffggs] {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    position: relative;
}

.login-header[b-w61ttffggs] {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2[b-w61ttffggs] {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.login-header p[b-w61ttffggs] {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.9rem;
}

.form-group[b-w61ttffggs] {
    margin-bottom: 1.5rem;
}

.form-label[b-w61ttffggs] {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
}

.form-control[b-w61ttffggs] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-w61ttffggs] {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.form-control[b-w61ttffggs]::placeholder {
    color: #95a5a6;
    opacity: 1;
}

.form-text[b-w61ttffggs] {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.btn[b-w61ttffggs] {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-primary[b-w61ttffggs] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.btn-primary:hover:not(:disabled)[b-w61ttffggs] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}

.btn:disabled[b-w61ttffggs] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.alert[b-w61ttffggs] {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: none;
}

.alert-danger[b-w61ttffggs] {
    background-color: #fee;
    color: #c53030;
    border-left: 4px solid #e53e3e;
}

.spinner-border[b-w61ttffggs] {
    width: 1rem;
    height: 1rem;
    border-width: 0.125em;
}

.spinner-border-sm[b-w61ttffggs] {
    width: 0.875rem;
    height: 0.875rem;
}

.login-footer[b-w61ttffggs] {
    border-top: 1px solid #e1e8ed;
    padding-top: 1rem;
}

.login-footer a[b-w61ttffggs] {
    color: #4facfe;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover[b-w61ttffggs] {
    text-decoration: underline;
}

.w-100[b-w61ttffggs] {
    width: 100% !important;
}

.me-2[b-w61ttffggs] {
    margin-right: 0.5rem !important;
}

.mb-3[b-w61ttffggs] {
    margin-bottom: 1rem !important;
}

.mt-4[b-w61ttffggs] {
    margin-top: 1.5rem !important;
}

.text-center[b-w61ttffggs] {
    text-align: center !important;
}

.text-muted[b-w61ttffggs] {
    color: #6c757d !important;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .login-container[b-w61ttffggs] {
        padding: 1rem;
    }

    .login-form[b-w61ttffggs] {
        padding: 1.5rem;
    }
}
