/* ═══════════════════════════════════════════════════════════════════
   EXCEL TIP CARD COMPONENT
   Shared partial: resources/views/_shared/_excel-tip-card.blade.php
   Used on: anasayfa (home.blade.php) + dosya detay (file/show.blade.php)
   KURAL: Gradient yok, emoji yok, fad/fal yok — solid renk + fas + lite icon.
═══════════════════════════════════════════════════════════════════ */

.excel-tip-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #D9EDF7;
    border: 1px solid #a4cddf;
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    /* Parent context flex/grid ise full-width zorla */
    flex: 1 1 100%;
    grid-column: 1 / -1;
}

.excel-tip-card .tip-icon-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: #245269;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.excel-tip-card .tip-icon-wrap i {
    font-size: 24px;
    color: #fde68a;       /* sari ampul rengi */
}

/* Lite FA'da fa-lightbulb yok — burada manuel tanimliyoruz (font dosyasinda glyph mevcut) */
.fa-lightbulb:before { content: "\f0eb"; }

.excel-tip-card .tip-body {
    flex: 1;
    min-width: 0;
}

.excel-tip-card .tip-eyebrow {
    font-size: 11px;
    color: #245269;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.excel-tip-card .tip-eyebrow .tip-category {
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    margin-left: 8px;
}

.excel-tip-card .tip-title {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
}

.excel-tip-card .tip-content {
    font-size: 14.5px;
    color: #334155;
    line-height: 1.7;
}

.excel-tip-card .tip-content code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13.5px;
    color: #0f172a;
}

.excel-tip-card .tip-related-link-wrap {
    margin-top: 14px;
}

.excel-tip-card .tip-related-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #245269;
    text-decoration: none;
    border-bottom: 1px dashed #a4cddf;
    padding-bottom: 2px;
}

.excel-tip-card .tip-related-link:hover {
    color: #173a4a;
    border-bottom-color: #245269;
}

/* Dark mode */
html.dark .excel-tip-card {
    background: #1e3a47;
    border-color: #2a4d5e;
}
html.dark .excel-tip-card .tip-eyebrow,
html.dark .excel-tip-card .tip-related-link { color: #93c5fd; }
html.dark .excel-tip-card .tip-title { color: #f1f5f9; }
html.dark .excel-tip-card .tip-content { color: #cbd5e1; }
html.dark .excel-tip-card .tip-content code { background: #0f172a; color: #e2e8f0; }

/* Mobile */
@media (max-width: 600px) {
    .excel-tip-card {
        padding: 22px 18px;
        gap: 14px;
        border-radius: 12px;
    }
    .excel-tip-card .tip-icon-wrap { width: 44px; height: 44px; }
    .excel-tip-card .tip-icon-wrap i { font-size: 20px; }
    .excel-tip-card .tip-title { font-size: 17px; }
    .excel-tip-card .tip-content { font-size: 14px; }
}
