/* Şikayet Detay Sayfası */

/* Breadcrumb */
.breadcrumb {
    background: rgba(31, 41, 55, 0.5);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 14px;
}

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

.breadcrumb a:hover {
    color: #60a5fa;
}

.breadcrumb .separator {
    color: #6b7280;
    margin: 0 10px;
}

.breadcrumb .current {
    color: #e5e7eb;
    font-weight: 500;
}

/* Main Container */
.complaint-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.complaint-header-section {
    background: linear-gradient(135deg, #1f2937, #111827);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.company-info-large {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
}

.company-logo-large {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.company-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.company-logo-placeholder-large {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    font-size: 32px;
}

.company-name-large {
    color: #3b82f6;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.complaint-meta-large {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #a0aec0;
    font-size: 14px;
}

.complaint-meta-large span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.complaint-status-large {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.status-badge-large {
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 120px;
    text-align: center;
}

.status-badge-large.resolved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 2px solid #10b981;
}

.status-badge-large.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 2px solid #f59e0b;
}

.status-badge-large.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 2px solid #ef4444;
}

.priority-badge {
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.priority-badge.priority-low {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid #6b7280;
}

.priority-badge.priority-medium {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.priority-badge.priority-high {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
}

/* Content Section */
.complaint-content-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.complaint-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.complaint-title-section {
    background: linear-gradient(135deg, #1f2937, #111827);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.complaint-title-large {
    color: #e5e7eb;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.complaint-amount {
    color: #10b981;
    font-size: 1.1rem;
    font-weight: 500;
}

.complaint-description-section,
.complaint-response-section,
.complaint-tags-section,
.voting-section {
    background: linear-gradient(135deg, #1f2937, #111827);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.complaint-description-section h3,
.complaint-response-section h3,
.complaint-tags-section h3,
.voting-section h3 {
    color: #3b82f6;
    font-size: 1.3rem;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.complaint-description-content {
    color: #e5e7eb;
    line-height: 1.7;
    font-size: 1rem;
}

.response-content {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    padding: 20px;
    border-radius: 0 10px 10px 0;
}

.response-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #10b981;
    font-size: 14px;
    font-weight: 500;
}

.response-text {
    color: #e5e7eb;
    line-height: 1.6;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.complaint-tag {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.voting-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.vote-btn {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: #e5e7eb;
    border: 2px solid #4a5568;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vote-btn:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
}

.vote-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.vote-count {
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Sidebar */
.complaint-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: linear-gradient(135deg, #1f2937, #111827);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.sidebar-card h3 {
    color: #3b82f6;
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(75, 85, 104, 0.3);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #a0aec0;
    font-size: 14px;
    font-weight: 500;
}

.info-value {
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 500;
}

.info-value.status-resolved {
    color: #10b981;
}

.info-value.status-pending {
    color: #f59e0b;
}

.info-value.status-rejected {
    color: #ef4444;
}

.similar-complaints {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.similar-complaint-item {
    background: rgba(31, 41, 55, 0.5);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(75, 85, 104, 0.3);
    transition: all 0.3s ease;
}

.similar-complaint-item:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.similar-complaint-link {
    text-decoration: none;
    color: inherit;
}

.similar-complaint-title {
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.similar-complaint-meta {
    color: #a0aec0;
    font-size: 12px;
}

.no-similar {
    color: #a0aec0;
    font-style: italic;
    text-align: center;
    margin: 0;
}

.btn-submit-complaint {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-submit-complaint:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* Back to List */
.back-to-list {
    text-align: center;
    margin: 40px 0;
}

.btn-back {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: #3b82f6;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #3b82f6;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-back:hover {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    color: white;
    transform: translateY(-2px);
}

/* Vote Thank You Message */
.vote-thank-you {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
    .complaint-content-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .complaint-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .complaint-status-large {
        align-items: flex-start;
        flex-direction: row;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .complaint-detail-container {
        padding: 0 15px;
    }
    
    .complaint-header-section {
        padding: 25px;
    }
    
    .company-info-large {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .company-logo-large,
    .company-logo-placeholder-large {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .company-name-large {
        font-size: 1.5rem;
    }
    
    .complaint-meta-large {
        flex-direction: column;
        gap: 5px;
    }
    
    .voting-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .vote-btn {
        justify-content: center;
    }
    
    .breadcrumb {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .breadcrumb .separator {
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .complaint-title-section,
    .complaint-description-section,
    .complaint-response-section,
    .complaint-tags-section,
    .voting-section,
    .sidebar-card {
        padding: 20px;
    }
    
    .complaint-title-large {
        font-size: 1.4rem;
    }
    
    .status-badge-large {
        padding: 10px 20px;
        font-size: 12px;
        min-width: 100px;
    }
}
