/* Hızlı Kazan — Frontend Styles */
.hk-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Campaign Card */
.hk-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hk-card:hover {
    border-color: #ccc;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.hk-card-top {
    display: flex;
    gap: 16px;
    padding: 20px 20px 16px;
    align-items: flex-start;
}

.hk-card-img {
    width: 84px;
    height: 54px;
    border-radius: 8px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    background: #fafafa;
}

.hk-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hk-card-img-placeholder {
    font-size: 16px;
    font-weight: 700;
    color: #bbb;
}

.hk-card-info {
    flex: 1;
    min-width: 0;
}

.hk-card-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.3;
}

/* Descriptions */
.hk-card-desc {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hk-card-desc li {
    font-size: 13px;
    color: #333;
    padding: 6px 0 6px 14px;
    position: relative;
    line-height: 1.5;
    border-left: 2px solid var(--hk-accent-color, #EF9F27);
}

.hk-card-desc li + li {
    margin-top: 6px;
}

.hk-card-desc li b,
.hk-card-desc li strong {
    font-weight: 700;
    color: #1a1a1a;
}

/* Badges */
.hk-card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hk-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-block;
}

.hk-badge-popular {
    background: #FAEEDA;
    color: #854F0B;
}

.hk-badge-ramazan {
    background: #E1F5EE;
    color: #0F6E56;
}

.hk-badge-new {
    background: #E6F1FB;
    color: #185FA5;
}

/* Bottom bar */
.hk-card-bottom {
    display: flex;
    align-items: flex-end;
    gap: 0;
    padding: 14px 20px 16px;
    border-top: 1px solid #f0f0f0;
    background: #fafbfc;
    flex-wrap: wrap;
}

.hk-stat {
    padding-right: 18px;
    display: flex;
    flex-direction: column;
}

.hk-stat-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 3px;
    white-space: nowrap;
}

.hk-stat-val {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.hk-val-system {
    color: #854F0B;
}

.hk-val-task {
    color: #0F6E56;
}

/* === TOPLAM KAZANCINIZ — inline, same alignment as others === */
.hk-val-total {
    color: #185FA5;
}

/* End date */
.hk-end-date {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    border-left: 1px solid #e8e8e8;
    margin-left: auto;
}

.hk-end-date-val {
    font-size: 14px;
    font-weight: 600;
    color: #993C1D;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hk-end-date-val svg {
    color: #993C1D;
}

/* Time */
.hk-time {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    border-left: 1px solid #e8e8e8;
}

.hk-time-val {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hk-time-val svg {
    color: #888;
}

/* Button */
.hk-btn-wrap {
    padding-left: 16px;
    border-left: 1px solid #e8e8e8;
}

.hk-btn {
    display: inline-block;
    background: var(--hk-btn-color, #D85A30);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.15s, transform 0.1s;
    white-space: nowrap;
    line-height: 1.3;
}

.hk-btn:hover {
    filter: brightness(0.88);
    color: #fff !important;
}

.hk-btn:active {
    transform: scale(0.97);
}

/* Pagination */
.hk-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    padding: 16px 0;
}

.hk-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    text-decoration: none !important;
    background: #fff;
    transition: all 0.15s;
    cursor: pointer;
}

.hk-page-btn:hover {
    border-color: #bbb;
    background: #f5f5f5;
    color: #222;
}

.hk-page-active {
    background: var(--hk-btn-color, #D85A30);
    color: #fff !important;
    border-color: var(--hk-btn-color, #D85A30);
    cursor: default;
}

.hk-page-active:hover {
    background: var(--hk-btn-color, #D85A30);
    color: #fff !important;
    border-color: var(--hk-btn-color, #D85A30);
}

/* Responsive */
@media (max-width: 640px) {
    .hk-card-top {
        flex-direction: column;
        gap: 12px;
    }

    .hk-card-img {
        width: 100%;
        height: 50px;
    }

    .hk-card-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .hk-stat {
        flex-direction: row;
        justify-content: space-between;
        padding: 0;
    }

    .hk-end-date {
        flex-direction: row;
        justify-content: space-between;
        border-left: none;
        padding: 8px 0 0;
        margin: 0;
        border-top: 1px solid #e8e8e8;
    }

    .hk-time {
        flex-direction: row;
        justify-content: space-between;
        border-left: none;
        padding: 8px 0 0;
        margin: 0;
        border-top: 1px solid #e8e8e8;
    }

    .hk-btn-wrap {
        border-left: none;
        padding: 4px 0 0;
    }

    .hk-btn {
        display: block;
        text-align: center;
        width: 100%;
    }
}
