/* Variables */
:root {
  --primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary: #6c5ce7;
  --success: #00b894;
  --danger: #d63031;
  --warning: #fdcb6e;
  --info: #0984e3;
  --light: #f8f9fa;
  --dark: #2d3436;
  --sidebar-bg: #2c3e50;
  --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  direction: rtl;
  text-align: right;
}

/* Hero Section */
.hero-section {
  background: var(--primary);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

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

/* Cards */
.dashboard-card {
  background: white;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.dashboard-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.dashboard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary);
}

/* Buttons */
.btn-gradient {
  background: var(--primary);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.6);
}

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

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

.slide-in {
  animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Stats */
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--secondary);
  font-weight: 600;
  margin-top: 10px;
}
