/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #0b0f19;
    color: #f3f4f6;
    height: 100vh;
    overflow: hidden;
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Üst Bar Tasarımı */
.main-header {
    background: linear-gradient(90deg, #111827 0%, #1f2937 100%);
    border-bottom: 1px solid #374151;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-icon {
    font-size: 24px;
    color: #6366f1;
    animation: pulse 2s infinite;
}

.logo-area h1 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-area h1 span {
    color: #6366f1;
    font-size: 12px;
    background: rgba(99, 102, 241, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.header-status {
    font-size: 13px;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

/* Ana Alan İki Sütun Düzeni */
.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sol Menü: Meslek Listesi */
.sidebar-professions {
    width: 320px;
    background-color: #111827;
    border-right: 1px solid #374151;
    display: flex;
    flex-direction: column;
}

.search-container {
    padding: 20px;
    border-bottom: 1px solid #2d3748;
}

.search-container input {
    width: 100%;
    background-color: #1f2937;
    border: 1px solid #4b5563;
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.search-container input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.profession-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.profession-btn {
    width: 100%;
    background: none;
    border: none;
    color: #9ca3af;
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    transition: all 0.2s;
}

.profession-btn:hover {
    background-color: #1f2937;
    color: #fff;
}

.profession-btn.active {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.prof-icon {
    color: #6366f1;
}

.profession-btn.active .prof-icon {
    color: #fff;
}

/* Sağ Alan: Dinamik İçerik Ekranları */
.content-dynamic {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 25px;
    gap: 20px;
    overflow-y: auto;
    background-color: #0b0f19;
}

.card {
    background-color: #111827;
    border: 1px solid #2d3748;
    border-radius: 12px;
    padding: 24px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #2d3748;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.badge {
    background-color: #3b82f6;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.card-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.curriculum-box h3, .faq-title {
    font-size: 15px;
    color: #9ca3af;
    margin-bottom: 12px;
    font-weight: 600;
}

.curriculum-box ul {
    list-style: none;
    padding-left: 5px;
    margin-bottom: 25px;
}

.curriculum-box ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #d1d5db;
}

.curriculum-box ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: #1f2937;
    padding: 14px;
    border-radius: 8px;
    border-left: 3px solid #6366f1;
}

.faq-q {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.faq-a {
    font-size: 13px;
    color: #9ca3af;
}

/* Chat Paneli Tasarımı */
.ai-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.ai-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.chat-display {
    flex: 1;
    background-color: #0b0f19;
    border: 1px solid #2d3748;
    border-radius: 8px;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
    max-height: 450px;
}

.msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.gemini-msg {
    background-color: #1f2937;
    color: #e5e7eb;
    align-self: flex-start;
    border-left: 4px solid #4f46e5;
}

.user-msg {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    align-self: flex-end;
}

.loading-msg {
    border-left-color: #f59e0b;
    color: #f59e0b;
    font-style: italic;
}

.ai-input-group {
    display: flex;
    gap: 12px;
}

.ai-input-group input {
    flex: 1;
    background-color: #1f2937;
    border: 1px solid #4b5563;
    padding: 14px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.ai-input-group input:focus {
    border-color: #4f46e5;
}

.btn-send {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #fff;
    border: none;
    padding: 0 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-send:hover {
    opacity: 0.9;
}

/* Scrollbar Özelleştirme */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0b0f19;
}
::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 3px;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}