/* Affiliate Portal Styles */

/* Sidebar dark theme */
.navbar-vertical {
    background-color: #1a1f2e;
}

.navbar-vertical .nav-link {
    color: rgba(255,255,255,.7);
    border-radius: 6px;
    margin: 2px 8px;
}

.navbar-vertical .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.navbar-vertical .nav-link.active {
    color: #fff;
    background: rgba(66, 153, 225, 0.2);
}

.navbar-vertical .nav-link-icon {
    width: 24px;
    text-align: center;
}

/* Stats cards */
.stat-card {
    transition: transform 0.15s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #626976;
}

/* Commission tier badges */
.badge-tier1 {
    background-color: #206bc4;
    color: #fff;
}

.badge-tier2 {
    background-color: #ae3ec9;
    color: #fff;
}

/* Status badges */
.badge-pending {
    background-color: #f59f00;
    color: #fff;
}

.badge-approved {
    background-color: #2fb344;
    color: #fff;
}

.badge-paid {
    background-color: #206bc4;
    color: #fff;
}

.badge-cancelled, .badge-rejected {
    background-color: #d63939;
    color: #fff;
}

/* Affiliate link copy box */
.affiliate-link-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f4f6fa;
    border: 1px solid #e6e7e9;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
}

.affiliate-link-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

.affiliate-link-box .btn-copy {
    flex-shrink: 0;
}

/* Chart container */
.chart-container {
    position: relative;
    height: 300px;
}

/* DataTable tweaks */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #e6e7e9;
    border-radius: 6px;
    padding: 4px 12px;
}

/* Auth pages (login/register) */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 40px;
}

.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 24px;
}

.auth-card .auth-logo img {
    height: 40px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.25rem;
}

/* Payout method cards */
.payout-method-card {
    cursor: pointer;
    border: 2px solid #e6e7e9;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    transition: border-color 0.15s ease;
}

.payout-method-card:hover {
    border-color: #206bc4;
}

.payout-method-card.selected {
    border-color: #206bc4;
    background: rgba(32, 107, 196, 0.05);
}

.payout-method-card .icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

/* Marketing QR code */
.qr-code-box {
    display: inline-block;
    padding: 16px;
    background: #fff;
    border: 1px solid #e6e7e9;
    border-radius: 8px;
}
