/*
 * DCJOBS-CORE — Credable Creator Economy Job Portal
 * ------------------------------------------------
 * File: app.css
 * Path: /public_html/assets/css/app.css
 *
 * Software Version : DCJOBS-CORE v1.1.0
 * Phase            : Phase-5.5 (Navigation CSS Cleanup)
 */

/* ==============================
   BASE RESET
================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Inter, Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* ==============================
   TYPOGRAPHY
================================ */

h1, h2, h3 {
    margin: 0 0 16px;
    font-weight: 600;
    color: #0f172a;
}

h1 { font-size: 2rem; }

p {
    margin: 0 0 16px;
    color: #475569;
}

ul {
    margin: 0;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
    color: #334155;
}

/* ==============================
   LAYOUT
================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    padding: 48px 0;
}

/* ==============================
   HEADER & NAVIGATION
================================ */

header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    font-size: 0.95rem;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
}

.nav a:hover {
    color: #2563eb;
}

/* ==============================
   FOOTER
================================ */

footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    margin-top: 64px;
}

footer p {
    font-size: 0.875rem;
    color: #64748b;
    padding: 16px 0;
}

/* ==============================
   UTILITIES
================================ */

.text-accent {
    color: #2563eb;
    font-weight: 600;
}

.text-success {
    color: #16a34a;
    font-weight: 600;
}

.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.max-w-720 { max-width: 720px; }

/* ==============================
   RTL SUPPORT (URDU / FUTURE AR)
   ============================== */

/* Enable RTL direction */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Typography */
html[dir="rtl"] body {
    text-align: right;
}

/* Lists */
html[dir="rtl"] ul {
    padding-left: 0;
    padding-right: 20px;
}

/* Containers */
html[dir="rtl"] .container {
    direction: rtl;
}

/* Header & Navigation */
html[dir="rtl"] .header-inner {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav a {
    text-align: right;
}

/* Auth Forms */
html[dir="rtl"] .auth-form label {
    text-align: right;
}

html[dir="rtl"] .auth-form input {
    text-align: right;
}

/* Buttons remain centered */
html[dir="rtl"] .btn-primary {
    text-align: center;
}

/* Divider text */
html[dir="rtl"] .auth-divider span {
    direction: rtl;
}

/* Footer */
html[dir="rtl"] footer {
    direction: rtl;
}

html[dir="rtl"] .footer-container {
    flex-direction: row-reverse;
}

html[dir="rtl"] .footer-right a {
    margin-right: 16px;
    margin-left: 0;
}

