/* Global Styles */
body{font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;background:#f2f4f8;color:#2c3e50;padding:0;margin:0;min-height: 100vh;}
.container{width:95%; max-width: 900px; margin: 0 auto; padding-top: 80px; padding-bottom: 80px;}

/* Header & Alignment */
header{
    display: flex; justify-content: center; align-items: center;
    position: fixed; top: 0; left: 0; width: 100%; height: 60px;
    background: #1a2333; color: white; box-shadow: 0 2px 10px rgba(0,0,0,0.4); z-index: 100;
    padding: 0 15px;
}
.logo-center { position: absolute; left: 50%; transform: translateX(-50%); font-size: 24px; color: #30c7ff; font-weight: bold; }
.left-controls { position: absolute; left: 15px; display: flex; align-items: center; }
.right-controls { position: absolute; right: 15px; display: flex; align-items: center; gap: 15px; }

.wallet-display{font-weight: 700; color: #ffd86b; font-size: 14px;}
.profile-icon{width:36px;height:36px;border-radius:50%;background:#30c7ff;color:white;display:flex;align-items:center;justify-content:center;font-weight:700;cursor:pointer;font-size:18px;}
.hidden { display: none; }

/* Card Wrapper */
.card-wrapper{
    background: white; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px; margin-bottom: 20px;
}
.card-wrapper h2 { color: #34495e; margin-top: 0; border-bottom: 1px solid #e0e0e0; padding-bottom: 10px; }

/* Category/Task Styles */
.categories-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px; margin-top: 20px;
}
.category-card{
    background: #f8f8f8; border: 1px solid #e0e0e0; border-radius: 8px;
    padding: 20px 10px; text-align: center; cursor: pointer; transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.category-card:hover{ background: #e0f2ff; border-color: #30c7ff; transform: translateY(-2px); }
.category-icon { font-size: 36px; margin-bottom: 10px; }

/* Icon Colors */
.youtube-icon { color: #ff0000; }
.instagram-icon { color: #e1306c; }
.tiktok-icon { color: #000000; }
.whatsapp-icon { color: #25d366; }
.web-icon { color: #30c7ff; }
.app-icon { color: #8e44ad; }
.other-icon { color: #34495e; }

/* Task Listing View */
.back-link { margin-bottom: 20px; display: inline-block; color: #30c7ff; text-decoration: none; font-weight: 600; }
.task-listing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px;
}
.task-card-detail{
    background: #2c2c2c; color: white; padding: 15px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.product-image { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; margin-bottom: 10px; }

/* Warning Box Style */
.task-description{
    background: #4a4a4a; padding: 10px; margin-top: 15px; margin-bottom: 15px;
    border-radius: 6px; font-size: 13px; line-height: 1.5;
    color: #f0f0f0; display: flex; align-items: flex-start;
    border-left: 5px solid #ffcc00; 
}
.task-description .material-icons { color: #ffcc00; font-size: 20px; margin-right: 8px; margin-top: 2px; }

.btn-open-earn{
    display: block; width: 100%; padding: 12px; border-radius: 6px; background: #00bcd4; 
    color: #1a2333; font-weight: 700; text-align: center; margin-top: 15px; text-decoration: none;
}
.btn-open-earn:hover { opacity: 0.9; }

/* Footer Navigation */
#userFooter{
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: #1a2333; border-top: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-around; padding: 8px 0; z-index: 20;
}
.footer-btn{
    background: none; border: none; color: #94a3b8; font-size: 14px;
    padding: 8px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center;
    line-height: 1.2;
}
.footer-btn.active{ color: #30c7ff; font-weight: bold; }

/* Proof History Styles */
.proof-history-item {
    padding: 10px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between;
    align-items: center;
}
.proof-status-tag {
    padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: bold;
}
.status-pending { background: #fff3c4; color: #a18800; }
.status-approved { background: #c6f6d5; color: #008000; }
.status-rejected { background: #fecaca; color: #c53030; }
