/* ==========================================================================
   Başarı Hikayeleri (Hall of Fame) - Sayfaya Özel Modüler Stiller
   ========================================================================== */

/* Hero Compact Kart */
.gd-bh-hero-compact {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 16px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.gd-bh-hero-compact .gd-page-header-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gd-bh-hero-compact .gd-page-header-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
}

.gd-bh-hero-compact .gd-page-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.gd-bh-hero-compact .gd-page-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 2px 0 0 0;
    line-height: 1.4;
}

/* İstatistik Özeti Banner */
.gd-bh-stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    width: 100%;
    margin-bottom: 4px;
}

.gd-bh-stat-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.gd-bh-stat-box__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gd-bh-stat-box__icon--gold { background: #fef3c7; color: #d97706; }
.gd-bh-stat-box__icon--green { background: #dcfce7; color: #166534; }
.gd-bh-stat-box__icon--blue { background: #dbeafe; color: #1e40af; }
.gd-bh-stat-box__icon--purple { background: #f3e8ff; color: #6b21a8; }

.gd-bh-stat-box__number {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.gd-bh-stat-box__label {
    font-size: 0.76rem;
    color: #64748b;
    font-weight: 600;
}

/* Kart Grid */
.gd-bh-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
    width: 100%;
}

/* Başarı Hikayesi Kartı */
.gd-bh-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.gd-bh-card:hover {
    transform: translateY(-3px);
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
}

.gd-bh-card__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.gd-bh-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
}

.gd-bh-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gd-bh-card__user-meta {
    flex: 1;
    min-width: 0;
}

.gd-bh-card__name {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gd-bh-card__title {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.gd-bh-card__inst-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.gd-bh-card__badge-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 10px;
    border: 1px solid #f1f5f9;
}

.gd-bh-card__rank-badge {
    font-size: 0.82rem;
    font-weight: 800;
    color: #d97706;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gd-bh-card__score-badge {
    font-size: 0.82rem;
    font-weight: 800;
    color: #166534;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 6px;
}

.gd-bh-card__quote {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
    position: relative;
    padding-left: 12px;
    border-left: 3px solid #cbd5e1;
}

.gd-bh-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.gd-bh-card__date {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 600;
}

.gd-bh-card__btn {
    font-size: 0.8rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.gd-bh-card__btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Zippi Modal Overlays & Styling */
.gd-notes-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.gd-notes-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gd-notes-modal-card {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 24px;
    box-sizing: border-box;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.gd-notes-modal-overlay.active .gd-notes-modal-card {
    transform: translateY(0);
}

.gd-notes-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s ease;
}

.gd-notes-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.gd-bh-modal-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.gd-bh-modal-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #2563eb;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.gd-bh-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gd-bh-modal-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.gd-bh-modal-subtitle {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.gd-bh-modal-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gd-bh-modal-section-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
    margin: 16px 0 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gd-bh-modal-body-text {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.6;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 14px;
    margin: 0 0 14px 0;
}

.gd-bh-modal-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gd-bh-modal-tips-list li {
    font-size: 0.84rem;
    color: #1e293b;
    background: #eff6ff;
    border-left: 3px solid #2563eb;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .gd-bh-stories-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Yönetici (Admin) Modu & Düzenleme Arayüzü Stilleri
   ========================================================================== */

.gd-bh-admin-bar {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #007BF5;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.gd-bh-admin-bar__info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gd-bh-admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #007BF5;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.gd-bh-admin-bar__text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.gd-bh-admin-bar__stats {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.gd-bh-admin-btn-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #007BF5;
    color: #ffffff;
    border: none;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 123, 245, 0.25);
}

.gd-bh-admin-btn-add:hover {
    background: #0066d1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 123, 245, 0.35);
}

/* Kart Üzeri Admin Eylemleri */
.gd-bh-card__admin-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px dashed #cbd5e1;
}

.gd-bh-card--inactive {
    opacity: 0.75;
    background: #fcfcfd;
    border-style: dashed;
    border-color: #94a3b8;
}

.gd-bh-admin-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gd-bh-admin-action-btn--edit {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.gd-bh-admin-action-btn--edit:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.gd-bh-admin-action-btn--toggle-active {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.gd-bh-admin-action-btn--toggle-active:hover {
    background: #047857;
    color: #ffffff;
}

.gd-bh-admin-action-btn--toggle-inactive {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.gd-bh-admin-action-btn--toggle-inactive:hover {
    background: #b91c1c;
    color: #ffffff;
}

.gd-bh-admin-action-btn--delete {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
    margin-left: auto;
}

.gd-bh-admin-action-btn--delete:hover {
    background: #dc2626;
    color: #ffffff;
}

/* Düzenleme Formu Grid & Input Stilleri */
.gd-bh-edit-modal-card {
    max-width: 720px;
    width: 100%;
}

.gd-bh-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 600px) {
    .gd-bh-form-grid {
        grid-template-columns: 1fr;
    }
}

.gd-bh-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gd-bh-form-group--full {
    grid-column: 1 / -1;
}

.gd-bh-form-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gd-bh-form-input,
.gd-bh-form-select,
.gd-bh-form-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.86rem;
    color: #0f172a;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.gd-bh-form-input:focus,
.gd-bh-form-select:focus,
.gd-bh-form-textarea:focus {
    border-color: #007BF5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 245, 0.15);
}

.gd-bh-form-textarea {
    resize: vertical;
    min-height: 70px;
    line-height: 1.5;
}

.gd-bh-form-hint {
    font-size: 0.72rem;
    color: #64748b;
}

.gd-bh-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.gd-bh-modal-btn {
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.gd-bh-modal-btn--cancel {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}

.gd-bh-modal-btn--cancel:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.gd-bh-modal-btn--save {
    background: #007BF5;
    color: #ffffff;
}

.gd-bh-modal-btn--save:hover {
    background: #0066d1;
}

.gd-bh-modal-btn--danger {
    background: #dc2626;
    color: #ffffff;
}

.gd-bh-modal-btn--danger:hover {
    background: #b91c1c;
}

.gd-bh-delete-card {
    max-width: 440px;
    text-align: center;
}

.gd-bh-delete-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fef2f2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
}

.gd-bh-delete-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.gd-bh-delete-desc {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

/* Toast Bildirimi */
.gd-bh-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100000;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(30px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gd-bh-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.gd-bh-toast--success { border-left: 4px solid #22c55e; }
.gd-bh-toast--error { border-left: 4px solid #ef4444; }
