/* 顔認証サービス カスタムスタイル */

body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

/* カメラプレビュー */
#camera-video {
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    background: #000;
}

#camera-canvas {
    display: none;
}

#face-preview {
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    border: 2px solid #0d6efd;
    display: none;
}

/* 認証結果表示 */
#auth-result-box {
    min-height: 120px;
}

.result-matched {
    border-left: 5px solid #198754;
}

.result-not-found {
    border-left: 5px solid #dc3545;
}

/* ユーザーカード */
.user-card {
    transition: box-shadow 0.2s;
}

.user-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 顔画像なしプレースホルダー */
.face-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6c757d;
}

/* ローディングスピナー */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* タブ切り替え（登録画面） */
.nav-tabs .nav-link {
    color: #495057;
}

.nav-tabs .nav-link.active {
    font-weight: 600;
}

/* 認証画面 - 類似度バー */
.similarity-bar {
    height: 8px;
    border-radius: 4px;
}

/* フォームラベル */
.form-label.required::after {
    content: ' *';
    color: #dc3545;
}

/* テーブル */
.table th {
    background-color: #e9ecef;
    font-weight: 600;
}
