/* style.css */
:root { --af2-primary: #2a9d8f; --af2-dark: #264653; --af2-bg: #f8f9fa; --af2-text: #4a4a4a; }
.af2-wrapper { margin: 20px 20px 0 0; font-family: 'Segoe UI', sans-serif; color: var(--af2-text); }
.af2-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.af2-header h1 { font-weight: 700; color: var(--af2-dark); font-size: 28px; margin: 0; }
.af2-btn-primary { background: var(--af2-primary); color: white; border: none; padding: 10px 24px; border-radius: 50px; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.af2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.af2-card { background: #fff; border-radius: 16px; padding: 25px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.02); text-align: center; }
.af2-card-edit { position: absolute; top: 15px; right: 15px; background: #f0f2f5; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: #666; cursor: pointer; transition: 0.2s; }
.af2-card-edit:hover { background: var(--af2-primary); color: white; }
.af2-card-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px; border: 3px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.af2-card-stats { display: flex; justify-content: space-around; margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; }
.af2-stat-val { font-size: 18px; font-weight: 700; color: var(--af2-primary); }
.af2-stat-label { font-size: 11px; color: #999; text-transform: uppercase; margin-top: 4px; }
.af2-modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 9999; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
.af2-modal { background: white; width: 100%; max-width: 500px; border-radius: 12px; padding: 30px; box-shadow: 0 25px 50px rgba(0,0,0,0.2); }
.af2-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.af2-close-modal { background: none; border: none; font-size: 28px; cursor: pointer; color: #999; }
.af2-form-group { margin-bottom: 15px; text-align: left; }
.af2-form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 13px; }
.af2-form-group input, .af2-form-group select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; }
.af2-row { display: flex; gap: 15px; }
.af2-full-width { width: 100%; margin-top: 10px; }
.af2-profile-upload { display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; }
#af2-preview-img { width: 80px; height: 80px; border-radius: 50%; background-size: cover; background-position: center; margin-bottom: 10px; background-color: #eee; }
#af2-upload-btn { background: none; border: 1px solid #ccc; padding: 5px 12px; border-radius: 4px; cursor: pointer; }
.af2-table { width: 100%; border-collapse: collapse; text-align: left; }
.af2-table th { border-bottom: 2px solid #eee; padding: 10px; color: #999; font-size: 12px;}
.af2-table td { border-bottom: 1px solid #eee; padding: 10px; color: #555; }
.af2-frontend-dashboard { font-family: inherit; }
.af2-frontend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.af2-f-card { background: #fff; padding: 20px; border-radius: 8px; border: 1px solid #e5e5e5; box-shadow: 0 2px 5px rgba(0,0,0,0.03); }
.af2-f-label { display: block; font-size: 12px; color: #777; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; }
.af2-f-val { font-size: 24px; font-weight: 700; color: #333; }
.af2-link-box-wrapper { background: #f9f9f9; padding: 20px; border-radius: 8px; border: 1px solid #eee; margin-bottom: 30px; }
.af2-link-box-wrapper label { font-weight: 600; display: block; margin-bottom: 10px; color: #333; }
.af2-link-box { display: flex; gap: 10px; }
.af2-link-box input { flex-grow: 1; padding: 10px; background: #fff; border: 1px solid #ccc; color: #555; border-radius: 4px; }
.af2-payout-note { margin-top: 10px; font-size: 13px; color: var(--af2-primary); display: flex; align-items: center; gap: 5px; font-weight: 500; }