/* ==========================================================================
   LAYOUT - Düzen ve Başlık Kartları
   ========================================================================== */

/* Başlık Kartları için iyileştirmeler */
.titles-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.title-card {
    display: block;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.title-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    border-color: #d1d5db;
}

.title-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.title-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.title-card-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.title-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.title-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.title-card-author span {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.title-card-date {
    color: #9ca3af;
    font-size: 0.75rem;
}

.continue-btn {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.title-card:hover .continue-btn {
    background: var(--bs-primary);
    color: white;
}

.titles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.titles-header h1 {
    margin: 0;
    color: #1f2937;
    font-weight: 700;
}

/* Yeni Başlık butonu */
.new-title-btn {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

.new-title-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}