/* Problem Detail - Minimal & Sade Tasarım */

.problem-detail-page {
    padding: 1rem 0;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #6c757d;
    padding: 0.5rem 0;
}

.breadcrumb a {
    color: #ff851b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #e07600;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: #adb5bd;
}

/* Ana Layout - İki Kolon */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

/* SOL TARAF - Arıza Detayları */
.problem-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 133, 27, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

/* Arıza Başlığı */
.problem-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 133, 27, 0.1);
}

/* Araç Bilgisi */
.vehicle-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 133, 27, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 133, 27, 0.1);
}

.vehicle-info a {
    color: #ff851b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.vehicle-info a:hover {
    color: #e07600;
}

.vehicle-info .meta {
    color: #666;
    font-size: 0.9rem;
}

.vehicle-info i {
    color: #ff851b;
}

/* Arıza Açıklaması */
.problem-description {
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.problem-description h3 {
    color: #333;
    font-size: 1.1rem;
    margin: 1.5rem 0 0.8rem 0;
}

.problem-description p {
    margin-bottom: 1rem;
}

.problem-description ul,
.problem-description ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.problem-description li {
    margin-bottom: 0.5rem;
}

/* Belirtiler */
.symptoms-box {
    background: rgba(255, 193, 7, 0.08);
    border-left: 3px solid #ffc107;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.symptoms-box h4 {
    color: #ff851b;
    margin: 0 0 0.8rem 0;
    font-size: 1rem;
}

.symptoms-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.symptoms-box li {
    color: #856404;
    margin-bottom: 0.3rem;
}

/* Maliyet Bilgisi */
.cost-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: rgba(40, 167, 69, 0.08);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 8px;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.cost-info i {
    color: #28a745;
}

.cost-info .amount {
    color: #ff851b;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Yorumlar Bölümü */
.comments-section {
    margin-top: 2rem;
    border-top: 2px solid rgba(255, 133, 27, 0.1);
    padding-top: 2rem;
}

.comments-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.comments-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.comments-header i {
    color: #ff851b;
}

.comments-count {
    background: rgba(255, 133, 27, 0.1);
    color: #ff851b;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Yorum Ekleme Formu */
.comment-form {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 133, 27, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.8rem;
    border: 1px solid rgba(255, 133, 27, 0.2);
    border-radius: 6px;
    font-size: 0.9rem;
    resize: vertical;
    background: white;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #ff851b;
    box-shadow: 0 0 0 2px rgba(255, 133, 27, 0.1);
}

.comment-form .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.8rem;
}

.comment-form .char-count {
    font-size: 0.8rem;
    color: #666;
}

.btn-submit {
    background: #ff851b;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background: #e07600;
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Yorumlar Listesi */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 1rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comment-author {
    font-weight: 600;
    color: #333;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #666;
}

.comment-text {
    color: #555;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.helpful-btn {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.helpful-btn:hover {
    background: #28a745;
    color: white;
}

.helpful-count {
    font-weight: 600;
}

/* SAĞ TARAF - Sidebar */
.problem-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* İstatistik Kutusu */
.stats-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 133, 27, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
}

.stats-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 133, 27, 0.1);
    padding-bottom: 0.8rem;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 133, 27, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 133, 27, 0.1);
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
}

.stat-value {
    font-weight: 600;
    color: #ff851b;
}

/* Aksiyon Butonları */
.action-buttons {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 133, 27, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
}

.action-buttons h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 133, 27, 0.1);
    padding-bottom: 0.8rem;
}

.action-btn {
    width: 100%;
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-experienced {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-color: rgba(40, 167, 69, 0.2);
}

.btn-experienced:hover {
    background: #28a745;
    color: white;
}

.btn-experienced.active {
    background: #28a745;
    color: white;
}

.btn-share {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border-color: rgba(0, 123, 255, 0.2);
}

.btn-share:hover {
    background: #007bff;
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr 280px;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .problem-sidebar {
        order: -1;
    }

    .stats-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1;
        min-width: calc(50% - 0.4rem);
    }
}

@media (max-width: 480px) {
    .problem-detail-page {
        padding: 0.5rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .problem-content,
    .stats-box,
    .action-buttons {
        padding: 1rem;
        border-radius: 8px;
    }

    .problem-title {
        font-size: 1.3rem;
    }

    .stats-grid {
        flex-direction: column;
    }

    .stat-item {
        min-width: auto;
    }
}

/* Giriş Gerekli Uyarısı */
.login-required {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 8px;
    color: #856404;
    font-size: 0.9rem;
}

.login-required a {
    color: #ff851b;
    font-weight: 600;
    text-decoration: none;
}

.login-required a:hover {
    text-decoration: underline;
}