/* =============================================
   Orelias Writing - Custom Styles
   ============================================= */

:root {
    --primary: #1a1a2e;
    --accent: #f9a825;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* HERO */
.hero-section {
    min-height: 520px;
    display: flex;
    align-items: center;
    background-attachment: fixed;
}
.animate-hero { animation: fadeInUp 0.8s ease; }
@keyframes fadeInUp {
    from { opacity:0; transform:translateY(30px); }
    to   { opacity:1; transform:translateY(0); }
}

/* STEP CIRCLES */
.step-circle {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
}

/* HOVER CARDS */
.hover-card { transition: transform .2s, box-shadow .2s; }
.hover-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,0.1)!important; }

/* SIDEBAR */
.sidebar {
    min-height: calc(100vh - 66px);
    background: var(--primary);
    padding-top: 1rem;
}
.sidebar .nav-link {
    color: rgba(255,255,255,0.75);
    border-radius: 8px;
    padding: 10px 16px;
    margin: 2px 8px;
    transition: all .2s;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(249,168,37,0.2);
    color: var(--accent);
}
.sidebar .nav-link i { width: 20px; }

/* DASHBOARD CARDS */
.stat-card {
    border-radius: 12px;
    border: none;
    transition: transform .2s;
}
.stat-card:hover { transform: translateY(-3px); }

/* PROGRESS BAR LABELS */
.progress { height: 22px; border-radius: 20px; }
.progress-bar { font-size: 0.75rem; font-weight: 600; }

/* INVOICE */
.invoice-header { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.invoice-table th { background: #f9a825; color: #000; }

/* STATUS BADGES */
.badge-pending    { background: #ffc107; color:#000; }
.badge-progress   { background: #0d6efd; color:#fff; }
.badge-completed  { background: #198754; color:#fff; }
.badge-cancelled  { background: #dc3545; color:#fff; }
.badge-revision   { background: #6f42c1; color:#fff; }

/* LOCKED FILE */
.locked-file { filter: blur(3px); pointer-events:none; }
.lock-overlay { position: absolute; top:50%; left:50%; transform:translate(-50%,-50%); }

/* ADMIN SIDEBAR */
.admin-sidebar { background: #0f172a; }
.admin-sidebar .nav-link { color: rgba(255,255,255,0.7); border-radius:8px; padding:10px 15px; margin:2px 6px; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { background:rgba(249,168,37,0.15); color:#f9a825; }

/* TABLES */
.table-hover tbody tr:hover { background-color: rgba(249,168,37,0.05); }

/* FORMS */
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 0.2rem rgba(249,168,37,0.25); }

/* UTILITIES */
.min-vh-80 { min-height: 80vh; }
.bg-primary-dark { background: var(--primary); }
.text-accent { color: var(--accent); }
.border-accent { border-color: var(--accent) !important; }

/* WALLET CARD */
.wallet-card { background: linear-gradient(135deg, #1a1a2e, #16213e); border-radius: 16px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-section { min-height: 380px; }
    .sidebar, .admin-sidebar { min-height: auto; }
}
