/* ATS管理システム - カスタムスタイル */

.tab-btn {
    color: #6b7280;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.tab-btn:hover {
    color: #374151;
    background-color: #f9fafb;
}
.tab-btn.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 600;
}
.tab-content { display: none; }
.tab-content.active { display: block; }

.modal { display: none; }
.modal.open { display: flex; }

.master-tab-btn { color: #6b7280; border-bottom: 2px solid transparent; transition: all 0.2s; }
.master-tab-btn.active { color: #2563eb; border-bottom-color: #2563eb; font-weight: 600; }
.master-tab-content { display: none; }
.master-tab-content.active { display: block; }

/* ステータスバッジ */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}
.status-新規応募    { background-color: #dbeafe; color: #1e40af; }
.status-条件確認中  { background-color: #fef3c7; color: #92400e; }
.status-条件OK      { background-color: #d1fae5; color: #065f46; }
.status-条件NG      { background-color: #fee2e2; color: #991b1b; }
.status-面接日程調整中 { background-color: #ede9fe; color: #5b21b6; }
.status-面接確定    { background-color: #dbeafe; color: #1e40af; }
.status-面接完了    { background-color: #e0e7ff; color: #3730a3; }
.status-面接SP      { background-color: #fce7f3; color: #9d174d; }
.status-採用        { background-color: #d1fae5; color: #065f46; }
.status-不採用      { background-color: #f3f4f6; color: #374151; }

/* アニメーション */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.slide-in { animation: slideIn 0.2s ease-out; }

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.fade-in { animation: fadeIn 0.3s ease-out; }

/* トースト通知 */
.toast {
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 250px;
}
.toast-success { background-color: #059669; }
.toast-error   { background-color: #dc2626; }
.toast-warning { background-color: #d97706; }
.toast-info    { background-color: #2563eb; }

/* テーブル */
.data-table th, .data-table td {
    white-space: nowrap;
}
.data-table tr:hover td {
    background-color: #f9fafb;
}

/* ローディング */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* スクロールバー */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
