# ============================================================
# LSC Courier — Environment Configuration
# Copy to .env and fill in your real values
# NEVER commit this file to version control
# ============================================================

APP_NAME="LSC Courier"
APP_URL="https://clientdemo.acbizglobal.com"
APP_ENV="development"
APP_KEY="change-this-to-a-random-32-char-secret"

# ── Database ─────────────────────────────────────────────────
DB_HOST="localhost"
DB_PORT="3306"
DB_NAME="yourusername_lsc"
DB_USER="yourusername"
DB_PASS="yourpassword"
DB_CHARSET="utf8mb4"
DB_PERSISTENT="false"

# ── Security ──────────────────────────────────────────────────
SESSION_NAME="lsc_session"
ADMIN_SESSION_KEY="lsc_admin_2026"
JWT_SECRET="change-this-to-a-long-random-secret-for-jwt"
JWT_EXPIRY="86400"
JWT_REFRESH_EXPIRY="604800"

# ── Pricing ──────────────────────────────────────────────────
PRICE_PER_KM="2.50"
PRICE_PER_KG="8.00"
MIN_QUOTE="85.00"
MULTIPLIER_STANDARD="1.0"
MULTIPLIER_EXPRESS="1.5"
MULTIPLIER_SAME_DAY="2.2"

# ── Africa's Talking SMS ──────────────────────────────────────
AT_USERNAME="sandbox"
AT_API_KEY="your-africastalking-api-key"
AT_SENDER_ID="LSCCOURIER"
AT_ENV="sandbox"

# ── WhatsApp Business Cloud API (Meta) ───────────────────────
WA_ACCESS_TOKEN="your-whatsapp-access-token"
WA_PHONE_NUMBER_ID="your-phone-number-id"
WA_VERIFY_TOKEN="your-webhook-verify-token"
WA_API_VERSION="v19.0"

# ── Email / SMTP ──────────────────────────────────────────────
MAIL_HOST="smtp.gmail.com"
MAIL_PORT="587"
MAIL_USERNAME="your-email@gmail.com"
MAIL_PASSWORD="your-app-password"
MAIL_ENCRYPTION="tls"
MAIL_FROM_ADDRESS="noreply@lsccourier.zm"
MAIL_FROM_NAME="LSC Courier"

# ── Rate Limiting ─────────────────────────────────────────────
RATE_LIMIT_REQUESTS="60"
RATE_LIMIT_WINDOW="60"
RATE_LIMIT_LOGIN_REQUESTS="10"
RATE_LIMIT_LOGIN_WINDOW="300"

# ── API / Mobile ──────────────────────────────────────────────
CORS_ALLOWED_ORIGINS="*"
