/* カスタムスタイル */
.tab-btn.active {
    border-bottom-color: #3b82f6 !important;
    color: #3b82f6 !important;
}

.tab-btn {
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: #1f2937 !important;
}

/* チャットエリアのスクロール */
#chatMessages {
    scroll-behavior: smooth;
}

/* モーダルのアニメーション */
#agentModal {
    transition: all 0.3s ease;
}

/* ボタンのホバーエフェクト */
button {
    transition: all 0.2s ease;
}

/* エージェントカードのホバーエフェクト */
.hover\:shadow-md:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

/* 通知のアニメーション */
.notification-enter {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* レスポンシブデザインの調整 */
@media (max-width: 768px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

/* フォーカス時のアウトライン */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    ring: 2px;
    ring-color: #3b82f6;
    border-color: #3b82f6;
}

/* ローディング状態 */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* チャットバブルのスタイル調整 */
.chat-bubble {
    word-wrap: break-word;
    max-width: 80%;
}

/* 編集モーダルのタブスタイル */
.edit-tab-btn.active {
    border-bottom-color: #3b82f6 !important;
    color: #3b82f6 !important;
}

.edit-tab-btn {
    transition: all 0.2s ease;
}

.edit-tab-btn:hover {
    color: #1f2937 !important;
}

/* プレビューエリアのスタイル */
.preview-content {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    line-height: 1.5;
}

/* 編集モーダルのスクロール */
.edit-tab-content {
    overflow-y: auto;
}

/* プロンプトチャットエリア */
#promptChatMessages {
    scroll-behavior: smooth;
}

/* コピーボタンのホバーエフェクト */
button[id$="Btn"]:hover {
    transform: translateY(-1px);
    transition: all 0.2s ease;
}