/* 顧問SEスキルシート専用CSS（独自定義 dkg系） */

/* 検索エリア */
.dkg_search-area {
    background: #f8f9fa;
    padding: 30px;
    margin: 20px 0 40px 0;
    border: 2px solid #17a2b8;
    border-radius: 8px;
}

.dkg_search-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    align-items: center;
}

.dkg_search-input {
    flex: 1;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #17a2b8;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

.dkg_search-input:focus {
    border-color: #138496;
    box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
}

.dkg_search-button {
    padding: 12px 30px;
    background: #17a2b8;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.dkg_search-button:hover {
    background: #138496;
}

.dkg_search-reset {
    padding: 12px 20px;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.dkg_search-reset:hover {
    background: #5a6268;
}

/* 検索結果表示 */
.dkg_search-results {
    margin: 20px 0;
    padding: 15px;
    background: #e7f6f8;
    border-left: 5px solid #17a2b8;
    display: none;
}

.dkg_search-results.active {
    display: block;
}

.dkg_search-count {
    font-weight: bold;
    color: #17a2b8;
    font-size: 18px;
}

/* ハイライト */
.dkg_highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: bold;
}

/* 非表示行 */
tr.dkg_hidden {
    display: none;
}

/* 非表示セクション */
.dkg_section.dkg_hidden {
    display: none;
}


/* ローディング表示 */
.dkg_loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #17a2b8;
}

.dkg_loading::after {
    content: '...';
    animation: dkg_dots 1.5s steps(4, end) infinite;
}

@keyframes dkg_dots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}

/* エラー表示 */
.dkg_error {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    margin: 20px 0;
    border-left: 5px solid #f5c6cb;
    border-radius: 5px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .dkg_search-area {
        padding: 20px;
    }
    
    .dkg_search-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .dkg_search-input,
    .dkg_search-button,
    .dkg_search-reset {
        width: 100%;
    }
    
    .dkg_search-results {
        padding: 10px;
        font-size: 14px;
    }
}

/* スキルステータスバッジのカスタマイズ */
.status-proven {
    animation: dkg_pulse-proven 2s ease-in-out infinite;
}

@keyframes dkg_pulse-proven {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(21, 87, 36, 0.4);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(21, 87, 36, 0);
    }
}

/* テーブル行のホバー効果強化 */
tbody tr:hover {
    background: #e7f6f8 !important;
    transition: background 0.2s;
}

/* 凡例のスタイル調整 */
.legend {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #17a2b8;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .legend {
        flex-direction: column;
        gap: 10px;
    }
}