/*
Theme Name: MockLagao Child Theme
Theme URI: https://mocklagao.in
Description: Official GeneratePress child theme for MockLagao.in - India's premier Sarkari Job & Test Preparation portal.
Author: MockLagao Engineering Team
Author URI: https://mocklagao.in
Template: generatepress
Version: 1.2.0
License: GNU General Public License v2 or later
Text Domain: mocklagao-child
*/

:root {
  --ml-navy: #0f172a;
  --ml-primary: #1e3a8a;
  --ml-primary-hover: #1d4ed8;
  --ml-orange: #ea580c;
  --ml-orange-hover: #c2410c;
  --ml-sky: #0284c7;
  --ml-emerald: #059669;
  --ml-red: #dc2626;
  --ml-bg: #f8fafc;
  --ml-surface: #ffffff;
  --ml-border: #e2e8f0;
  --ml-text: #0f172a;
  --ml-text-muted: #64748b;
  --ml-radius: 8px;
  --ml-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--ml-bg);
  color: var(--ml-text);
  line-height: 1.6;
}

/* Header & Navigation */
.ml-header-wrap {
  background-color: var(--ml-surface);
  border-bottom: 2px solid var(--ml-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ml-brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ml-primary);
  text-decoration: none;
}

.ml-brand-accent {
  color: var(--ml-orange);
}

.ml-nav-link {
  color: var(--ml-text);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 8px 12px;
  border-radius: var(--ml-radius);
  transition: all 0.2s ease;
  text-decoration: none;
}

.ml-nav-link:hover {
  color: var(--ml-primary);
  background-color: #f1f5f9;
}

.ml-btn-dashboard {
  background-color: var(--ml-orange);
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: var(--ml-radius);
  font-weight: 700;
  text-decoration: none;
}

.ml-btn-dashboard:hover {
  background-color: var(--ml-orange-hover);
}

/* Hero & Featured Sections */
.ml-hero-card {
  background: linear-gradient(135deg, var(--ml-navy) 0%, var(--ml-primary) 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 40px 24px;
  margin-bottom: 32px;
  box-shadow: var(--ml-shadow);
}

.ml-hero-badge {
  background-color: rgba(234, 88, 12, 0.2);
  color: #fdba74;
  border: 1px solid rgba(234, 88, 12, 0.4);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 12px;
}

/* Sarkari Job Cards */
.ml-job-card {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ml-job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ml-shadow);
  border-color: #cbd5e1;
}

.ml-job-tag {
  background-color: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

/* CBT Exam Responsive Styling */
.ml-cbt-header {
  background-color: var(--ml-navy);
  color: #ffffff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.ml-timer-badge {
  background-color: #fef3c7;
  color: #92400e;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 6px 16px;
  border-radius: 6px;
  border: 1px solid #fde68a;
  font-family: monospace;
}

.ml-palette-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ml-border);
  cursor: pointer;
  transition: all 0.15s ease;
}

/* Palette Status Colors */
.ml-status-not-visited { background-color: #f1f5f9; color: #475569; }
.ml-status-not-answered { background-color: #fee2e2; color: var(--ml-red); border-color: #fca5a5; }
.ml-status-answered { background-color: #d1fae5; color: var(--ml-emerald); border-color: #6ee7b7; }
.ml-status-marked { background-color: #e0e7ff; color: #4338ca; border-color: #a5b4fc; }
.ml-status-ans-marked { background-color: #fef3c7; color: #b45309; border-color: #fde68a; }

/* Sticky Float CTA (WhatsApp/Telegram) */
.ml-float-cta-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ml-float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 0.2s;
}

.ml-float-btn:hover {
  transform: scale(1.05);
}

.ml-float-whatsapp { background-color: #25d366; }
.ml-float-telegram { background-color: #0088cc; }

/* Utilities */
.ml-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
