/*
Theme Name: Social Media Dashboard Pro
Theme URI: https://chmnisar786.com
Author: Chaudhry Nisar Zulfiqar
Author URI: https://chmnisar786.com
Description: Modern Social Media Dashboard Pro - A beautiful, responsive WordPress theme with login system, personal dashboard, and multi-platform social media search. Perfect for content creators and entrepreneurs.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: social-media-dashboard-pro
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
Tags: dashboard, responsive, modern, social-media, dark-mode, custom-login

Social Media Dashboard Pro is a modern, responsive WordPress theme featuring:
- Beautiful modern digital design
- Dark mode support
- Custom login system
- Personal user dashboard
- Multi-platform social media search
- Fully responsive layout
- High performance optimization
- WCAG 2.1 AA accessibility
*/

/* ========================================
   DESIGN SYSTEM & CSS VARIABLES
   ======================================== */

:root {
  /* Color Palette */
  --primary: #0066ff;
  --primary-light: #0080ff;
  --primary-dark: #0052cc;
  --secondary: #00d9ff;
  --secondary-light: #33e4ff;
  --secondary-dark: #00b8d4;
  --accent: #ff006e;
  --accent-light: #ff1a7f;
  --accent-dark: #e6005c;

  /* Neutral Colors */
  --dark: #0a0e27;
  --dark-secondary: #0f1419;
  --dark-tertiary: #1a1f2e;
  --dark-quaternary: #252d3d;
  --light: #ffffff;
  --light-secondary: #f8f9fa;
  --light-tertiary: #eef0f5;
  --light-quaternary: #e4e6f1;

  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Typography */
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-mono: "Courier New", Courier, monospace;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.35s ease;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: var(--dark-secondary);
    --bg-secondary: var(--dark-tertiary);
    --bg-tertiary: var(--dark-quaternary);
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
    --border: rgba(255, 255, 255, 0.1);
  }
}

/* Light Mode */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #ffffff;
    --bg-secondary: var(--light-secondary);
    --bg-tertiary: var(--light-tertiary);
    --text-primary: var(--dark);
    --text-secondary: #4b5563;
    --text-tertiary: #9ca3af;
    --border: var(--light-quaternary);
  }
}

/* ========================================
   BASE STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color var(--transition-base), color var(--transition-base);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
}

h1 {
  font-size: var(--font-size-2xl);
}

h2 {
  font-size: var(--font-size-xl);
}

h3 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
}

/* ========================================
   LAYOUT
   ======================================== */

.site-content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

.site-main {
  min-height: 100vh;
  padding: var(--spacing-xl) 0;
}

/* ========================================
   FORMS
   ======================================== */

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

button {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: var(--font-weight-semibold);
}

.btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-lg);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.site-title {
  margin: 0;
  font-size: var(--font-size-xl);
}

nav ul {
  list-style: none;
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

nav a {
  color: white;
  transition: opacity var(--transition-fast);
}

nav a:hover {
  opacity: 0.8;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  padding: var(--spacing-2xl) var(--spacing-lg);
  margin-top: var(--spacing-3xl);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .site-content-inner {
    padding: var(--spacing-md);
  }

  .site-main {
    padding: var(--spacing-lg) 0;
  }

  h1 {
    font-size: var(--font-size-xl);
  }

  h2 {
    font-size: var(--font-size-lg);
  }

  nav ul {
    gap: var(--spacing-md);
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  * {
    background: transparent;
    color: black;
    text-shadow: none;
    box-shadow: none;
  }

  a {
    text-decoration: underline;
  }
}
