/* Blog sayfası mobil okunabilirlik */
@media (max-width: 576px) {
  .blog-page .card.bg-dark .text-muted { color: rgba(255, 255, 255, 0.88) !important; }
  .blog-page .card.bg-dark .card-text { font-size: 0.98rem; line-height: 1.6; }
  .blog-page .card.bg-dark .card-title { font-size: 1.05rem; color: #ffffff !important; }
  .blog-page .bg-dark { background-color: #1c242c !important; }
}
/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

/* Kart Stilleri */
.card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-header {
    font-weight: 600;
}

/* Buton Stilleri */
.btn {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 10px 20px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* Form Stilleri */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Mesajlaşma Stilleri */
.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.message-content {
    white-space: pre-wrap;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 30px;
    }
    
    .card-body {
        padding: 1rem;
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Premium Sistem CSS */

.premium-badge {
    background: linear-gradient(45deg, #ffd700, #ffed4e) !important;
    border: 2px solid #ffd700 !important;
    position: relative;
}

.premium-badge::before {
    content: "⭐";
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 12px;
    background: #ffd700;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-user {
    color: #ffd700 !important;
}

.premium-card {
    border: 2px solid #ffd700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.limit-warning {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
}

.limit-info {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    border: none;
}

/* Modal Stilleri */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-bottom: none;
    border-radius: 15px 15px 0 0;
}

.modal-header .modal-title {
    color: white !important;
    font-weight: 600;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    background-color: #f8f9fa;
    color: #333 !important;
    padding: 2rem;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 15px 15px;
}

/* Modal içindeki tablo stilleri */
.modal-body .table {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-body .table th {
    background-color: #343a40;
    color: white;
    border: none;
    font-weight: 600;
}

.modal-body .table td {
    border-color: #dee2e6;
    vertical-align: middle;
}

.modal-body .alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Modal içindeki badge stilleri */
.modal-body .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
}

/* Modal içindeki text renkleri */
.modal-body h6,
.modal-body p,
.modal-body span,
.modal-body td {
    color: #333 !important;
}

.modal-body .text-dark {
    color: #333 !important;
}

/* Manuel Modal Stilleri */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.modal.show {
    display: block !important;
    z-index: 1050;
}

body.modal-open {
    overflow: hidden;
}

/* Modal kapatma butonu */
.btn-close {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.btn-close:hover {
    color: #fff;
    opacity: 0.75;
}

/* Kullanıcı Profil Linkleri */
.user-profile-link {
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 2px 6px;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.user-profile-link:hover {
    color: #5a6fd8;
    background: rgba(102, 126, 234, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.user-profile-link:active {
    transform: translateY(0);
}

.user-profile-link:focus {
    outline: 2px solid rgba(102, 126, 234, 0.3);
    outline-offset: 2px;
}

/* Farklı varyasyonlar */
.user-profile-link.simple {
    padding: 0;
    background: none;
}

.user-profile-link.simple:hover {
    background: none;
    transform: none;
    box-shadow: none;
}

.user-profile-link.card {
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.user-profile-link.card:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .user-profile-link {
        padding: 4px 8px;
        font-size: 14px;
    }
    
    .user-profile-link:hover {
        background: rgba(102, 126, 234, 0.15);
    }
}