﻿.catalog-card {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    transition: all .25s ease;
}

    .catalog-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
    }

/* Logo */

.catalog-image {
    width: 130px;
    min-width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .catalog-image img {
        width: 100px;
        height: 100px;
        object-fit: contain;
        background: #fff;
        padding: 10px;
        border-radius: 18px;
        border: 1px solid #e5e7eb;
        box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 8px 20px rgba(0,0,0,.04);
        transition: .25s;
    }

.catalog-card:hover .catalog-image img {
    transform: scale(1.05);
}

/* İçerik */

.catalog-content {
    flex: 1;
    padding-left: 20px;
    padding-right: 180px;
}

.catalog-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 14px;
}

/* Katılımcı / Ders */

.catalog-footer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.catalog-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 5px 10px;
    font-size: 12px;
    color: #64748b;
}

    .catalog-stat i {
        font-size: 11px;
        color: #2563eb;
    }

/* Birim */

.catalog-unit {
    position: absolute;
    top: 18px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg,#eff6ff,#dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37,99,235,.08);
}

    .catalog-unit i {
        font-size: 13px;
    }

/* Tarih */

.catalog-date {
    position: absolute;
    right: 20px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
}

    .catalog-date i {
        color: #3b82f6;
    }

@media(max-width:768px) {

    .catalog-card {
        flex-direction: column;
        text-align: center;
    }

    .catalog-content {
        padding: 15px 0 0 0;
    }

    .catalog-footer {
        justify-content: center;
    }

    .catalog-unit,
    .catalog-date {
        position: static;
        margin-bottom: 10px;
        text-align: center;
    }
}

/* ===========================================
   SEARCH
=========================================== */
/* ===========================================
   SEARCH
=========================================== */

.catalog-header-section {
    background: #fff;
    padding: 35px 0 25px;
}

.catalog-search-wrapper {
    max-width: 850px;
    margin: auto;
    position: relative;
}

.catalog-search {
    position: relative;
}

    .catalog-search i {
        position: absolute;
        left: 22px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 17px;
        z-index: 2;
        pointer-events: none;
    }

    .catalog-search input {
        width: 100%;
        height: 64px;
        padding: 0 24px 0 58px;
        border: 1px solid #edf2f7;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 4px 20px rgba(0,0,0,.05), 0 1px 3px rgba(0,0,0,.04);
        font-size: 15px;
        transition: all .3s ease;
    }

        .catalog-search input:hover {
            border-color: #dbe4f0;
        }

        .catalog-search input:focus {
            outline: none;
            border-color: rgba(13,110,253,.4);
            box-shadow: 0 0 0 4px rgba(13,110,253,.08);
        }

.catalog-count-badge {
    position: absolute;
    right: -12px;
    top: -12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f59e0b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(245,158,11,.35);
}

/* Mobil */

@media(max-width:768px) {

    .catalog-search input {
        height: 56px;
        font-size: 14px;
        border-radius: 14px;
    }

    .catalog-count-badge {
        width: 34px;
        height: 34px;
        font-size: 12px;
        right: -5px;
    }
}

.announcement-header {
    background: linear-gradient(135deg,#0f172a,#1e3a8a,#2563eb) !important;
}