body {
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}

.sidebar-transition {
    transition: transform 0.3s ease-in-out;
}

.guide-card {
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.step-container {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.step-number {
    background-color: #dd3612;
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1em;
    margin-right: 12px;
    flex-shrink: 0;
}
.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
}
.step-content p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 10px;
}
.step-image {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: opacity 0.2s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.step-image:hover {
    opacity: 0.9;
}

.image-modal {
    backdrop-filter: blur(5px);
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobil ve tablet */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f9fafb;
    padding: 10px 5px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f3f4f6;
}

.card-item img {
    max-width: 130px;
    height: auto;
    border-radius: 4px;
    margin-bottom: 8px;
}

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }

    .card-item {
        padding: 15px 10px;
    }

    .card-item img {
        max-width: 150px;
    }
}

.chat-widget {
    position: fixed;
    bottom: 4px;
    right: 4px;
    width: 95%;
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: translateY(120%);
    transition: transform 0.3s ease-in-out;
    z-index: 50;
    display: flex;
    flex-direction: column;
}
.chat-widget.active {
     transform: translateY(0);
}

.llm-response {
    white-space: pre-wrap;
    font-size: 0.95em;
    color: #333;
    min-height: 50px;
    text-align: left;
}
.llm-response.loading {
    font-style: italic;
    color: #6b7280;
    text-align: center;
}
.chat-input-area {
    resize: none;
    min-height: 60px !important;
    max-height: 120px;
}

@media (min-width: 1024px) {
    .quick-access-grid {
        grid-template-columns: repeat(3, minmax(200px, 1fr)); 
        gap: 20px;
    }
    .search-input-container {
        display: block;
    }
    .mobile-title-container {
        display: none;
    }
}

@media (max-width: 1023px) {
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px;
    }
}

/* Training Hero Section */
.training-hero {
    background-color: #dd3612;
    border-radius: 16px;
    padding: 24px;
    color: white;
    box-shadow: 0 10px 30px rgba(221, 54, 18, 0.2);
}

@media (min-width: 1024px) {
    .training-hero {
        border-radius: 24px;
        padding: 32px;
    }
}

/* Progress bar styling */
.progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.8) 100%);
    border-radius: 9999px;
    transition: width 0.5s ease;
}
