:root {
    --gt-primary: #2c4fa0;
    --gt-secondary: #fdd949;
    --gt-success: #10b981;
    --gt-bg: #f9fafb;
    --gt-white: #ffffff;
    --gt-border: #e5e7eb;
    --gt-radius: 12px;
}

.gt-dash {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
    background-color: var(--gt-bg);
    padding: 25px;
    border-radius: var(--gt-radius);
    color: #1f2937;
    box-sizing: border-box;
}

/* Header & Announcement */
.gt-header { margin-bottom: 25px; border-bottom: 1px solid var(--gt-border); padding-bottom: 15px; }
.gt-header h2 { color: var(--gt-primary); margin: 0 0 5px 0; }
.gt-announcement { background: #fff3cd; color: #856404; padding: 10px 15px; border-radius: 8px; margin-bottom: 20px; border: 1px solid #ffeeba; }

/* Stats Grid */
.gt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-bottom: 30px; }
.gt-card { background: var(--gt-white); padding: 20px; border-radius: var(--gt-radius); border: 1px solid var(--gt-border); box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.gt-card h3 { margin: 0; color: #6b7280; font-size: 0.9rem; }
.gt-card .gt-amount { font-size: 1.6rem; font-weight: 800; color: var(--gt-primary); display: block; margin-top: 10px; }
.gt-card.is-due { border-right: 4px solid var(--gt-secondary); }
.gt-card.is-paid { border-right: 4px solid var(--gt-success); }

/* Referral Box */
.gt-link-box { background: var(--gt-white); padding: 25px; border-radius: var(--gt-radius); border: 1px dashed var(--gt-primary); text-align: center; margin-bottom: 30px; }
.gt-input-group { display: flex; gap: 10px; max-width: 600px; margin: 15px auto 0; }
.gt-link-input { flex-grow: 1; padding: 10px; border: 1px solid var(--gt-border); border-radius: 6px; background: #f8fafc; text-align: left; direction: ltr; font-family: monospace; }

/* Buttons */
.gt-btn { border: none; padding: 10px 20px; border-radius: 6px; font-weight: bold; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.gt-btn-primary { background: var(--gt-primary); color: #fff; }
.gt-btn-primary:hover { background: #1a3b80; }
.gt-btn-secondary { background: var(--gt-secondary); color: var(--gt-primary); }
.gt-btn-disabled { background: #e5e7eb; color: #9ca3af; cursor: not-allowed; }

/* Table */
.gt-table-wrapper { overflow-x: auto; background: #fff; border-radius: 8px; border: 1px solid var(--gt-border); margin-bottom: 30px; }
.gt-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.gt-table th { text-align: right; padding: 12px; background: #f3f4f6; color: #374151; font-size: 0.9em; }
.gt-table td { padding: 12px; border-bottom: 1px solid #f3f4f6; font-size: 0.9em; }
.status-pill { padding: 3px 10px; border-radius: 15px; font-size: 0.8em; font-weight: bold; }
.status-paid { background: #d1fae5; color: #065f46; }
.status-requested { background: #dbeafe; color: #1e40af; }
.status-due { background: #fef3c7; color: #92400e; }
.status-pending { background: #f3f4f6; color: #4b5563; }

/* Payment Form */
.gt-payment-section { background: #fff; padding: 25px; border-radius: var(--gt-radius); border: 1px solid var(--gt-border); }
.gt-form-group { margin-bottom: 15px; }
.gt-form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.gt-form-group input, .gt-form-group select { width: 100%; padding: 10px; border: 1px solid var(--gt-border); border-radius: 6px; }
.gt-payout-status { padding: 15px; margin: 20px 0; border-radius: 6px; text-align: center; }
.gt-payout-status.success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.gt-payout-status.info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }