﻿.myads-card-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    flex-shrink: 0;
    padding-right: 8px;
    border-right: 1px solid #f0f0f0;
    margin-right: 4px;
}

.myads-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

    .myads-stat svg {
        flex-shrink: 0;
        opacity: 0.6;
    }

    .myads-stat span {
        min-width: 24px;
        text-align: right;
    }
    .partner-list {
    max-height: 300px;
    overflow-y: auto;
    margin: 16px 0;
}

.partner-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}

    .partner-item:hover {
        background: #f5f5f5;
    }

.partner-item-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.partner-item-name {
    font-weight: 500;
}

.partner-item-badge {
    margin-left: 8px;
    font-size: 12px;
    background: #e0e0e0;
    padding: 2px 6px;
    border-radius: 4px;
}
.myads-action-complete {
    color: #4caf50;
}

    .myads-action-complete:hover {
        background-color: #4caf50;
        color: white;
    }
.myads-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e7eb;
    color: #1f2937;
    font-size: 12px;
    font-weight: 500;
    min-width: 20px;
    height: 20px;
    border-radius: 9999px;
    padding: 0 6px;
    margin-left: 6px;
}
.myads-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
}

.myads-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.myads-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .myads-tabs::-webkit-scrollbar {
        display: none;
    }
.myads-tab {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.15s;
}

    .myads-tab:hover {
        color: #1a1a1a;
    }

.myads-tab-active {
    color: #00b0a3;
    border-bottom-color: #00b0a3;
    font-weight: 700;
}

.myads-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    gap: 12px;
    color: #aaa;
    font-size: 15px;
}

.myads-create-btn {
    margin-top: 8px;
    padding: 12px 24px;
    background: #00b0a3;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.15s;
}

    .myads-create-btn:hover {
        background: #009488;
    }

.myads-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.myads-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow 0.15s;
}

    .myads-card:hover {
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }

.myads-card-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

    .myads-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.myads-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.myads-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .myads-card-name:hover {
        color: #00b0a3;
    }

.myads-card-price {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.myads-card-meta {
    font-size: 12px;
    color: #aaa;
}

.myads-card-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.myads-action-btn {
    padding: 7px 16px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s;
}

    .myads-action-btn:hover {
        background: #f5f5f5;
    }

.myads-action-danger {
    color: #cc0000;
    border-color: #ffcccc;
}

    .myads-action-danger:hover {
        background: #fff0f0;
    }
