/* 研修動画システム - フロントエンド用基本スタイル */

/* 将来の動画視聴画面用のスタイルを配置予定 */

.tvs-frontend-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.tvs-groups-list h2 {
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.tvs-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tvs-video-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tvs-video-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.tvs-video-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.tvs-video-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.tvs-watch-btn {
    display: inline-block;
    background: #2271b1;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.tvs-watch-btn:hover {
    background: #135e96;
    color: white;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .tvs-frontend-container {
        padding: 15px;
    }

    .tvs-video-grid {
        grid-template-columns: 1fr;
    }
}

/* テスト受験制限用スタイル */

/* 受験制限があるテストアイテム */
.tvs-test-item.tvs-restricted {
    opacity: 0.7;
    /*border-left: 4px solid #f39c12;*/
}

/* 受験制限情報 */
.tvs-restriction-info {
    color: #f39c12 !important;
    font-weight: bold;
}

.tvs-restriction-info .tvs-meta-icon {
    color: #f39c12;
}

/* 制限メッセージエリア */
.tvs-restriction-message {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 0px;
    /*margin: 10px 0;*/
}
.tvs-restriction-message p {
    margin: 10px;
    color: #856404;
    font-size: 0.85em;
}

/* 無効化されたボタン */
.tvs-btn-disabled {
    background-color: #95a5a6 !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    width:100%;
}

.tvs-btn-disabled:hover {
    background-color: #95a5a6 !important;
    transform: none !important;
}

/* 制限アイコンの色調整 */
.tvs-restricted .tvs-content-icon {
    opacity: 0.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .tvs-restriction-message {
        padding: 8px;
        font-size: 0.9em;
    }

    .tvs-incomplete-list {
        margin-left: 15px;
    }
}