/* ==========================================================================
   YSSTORE EARN — Frontend Affiliate Dashboard
   Mobile-first, responsive
   ========================================================================== */

.ysf-wrap{
    max-width:900px;
    margin:0 auto;
    padding:16px;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    background:#f5f6fa;
}

.ysf-banner{
    background:linear-gradient(135deg,#E85D2C,#ff7a45);
    border-radius:18px;
    padding:22px;
    color:#fff;
    margin-bottom:16px;
}

.ysf-banner h1{
    margin:0 0 4px;
    font-size:20px;
    font-weight:700;
}

.ysf-banner p{
    margin:0;
    font-size:13px;
    opacity:.9;
}

.ysf-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    margin-bottom:16px;
}

.ysf-card{
    background:#fff;
    border-radius:14px;
    padding:16px;
    box-shadow:0 3px 12px rgba(0,0,0,.05);
}

.ysf-card-icon{
    width:36px;
    height:36px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:10px;
}

.ysf-card-icon .dashicons{
    color:#fff;
    font-size:18px;
    width:18px;
    height:18px;
}

.ysf-card h3{
    margin:0;
    font-size:11.5px;
    color:#888;
    font-weight:500;
}

.ysf-card h2{
    margin:4px 0 0;
    font-size:19px;
    font-weight:700;
    color:#1a1a1a;
}

.ysf-link-box{
    background:#fff;
    border-radius:16px;
    padding:20px;
    margin-bottom:16px;
    box-shadow:0 3px 12px rgba(0,0,0,.05);
}

.ysf-link-box h3{
    margin:0 0 12px;
    font-size:15px;
    font-weight:700;
    color:#1a1a1a;
}

.ysf-link-row{
    display:flex;
    gap:8px;
}

.ysf-link-row input{
    flex:1;
    padding:11px 14px;
    border:1px solid #eee;
    border-radius:10px;
    background:#fafafa;
    font-size:13px;
    color:#555;
}

.ysf-btn-copy{
    background:#E85D2C;
    color:#fff;
    border:none;
    padding:0 18px;
    border-radius:10px;
    font-weight:600;
    font-size:13px;
    cursor:pointer;
}

.ysf-section{
    background:#fff;
    border-radius:16px;
    padding:20px;
    margin-bottom:16px;
    box-shadow:0 3px 12px rgba(0,0,0,.05);
}

.ysf-section h3{
    margin:0 0 16px;
    font-size:15px;
    font-weight:700;
    color:#1a1a1a;
}

.ysf-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 0;
    border-bottom:1px solid #f3f3f3;
    font-size:13px;
}

.ysf-row:last-child{
    border-bottom:none;
}

.ysf-empty{
    text-align:center;
    padding:30px 10px;
    color:#999;
    font-size:13px;
}

.ysf-status{
    padding:3px 10px;
    border-radius:20px;
    font-size:11px;
    font-weight:600;
}

.ysf-status-paid, .ysf-status-completed{ background:#e8f8ee; color:#2ecc71; }
.ysf-status-pending, .ysf-status-unpaid{ background:#fdeee6; color:#E85D2C; }

.ysf-notice{
    background:#fff3cd;
    color:#856404;
    padding:14px 18px;
    border-radius:12px;
    margin-bottom:16px;
    font-size:13.5px;
}

@media (max-width: 600px){
    .ysf-cards{ grid-template-columns:repeat(2,1fr); }
    .ysf-link-row{ flex-direction:column; }
    .ysf-btn-copy{ padding:11px; }
}