/* static/css/fisa.css */
/* FISA Design System (authoritative) - Mobile-first, RTL, consistent brand */

:root {
  --primary: #1a252f;
  --bg: #f8f9fa;
  --white: #ffffff;
  --muted: #6b7280;

  /* New primary brand palette (from login.html) */
  --accent: #667eea;
  --accent2: hsl(270, 37%, 46%);

  /* Utility */
  --gold: #f1c40f;
  --error: #e74c3c;
  --danger: #e74c3c;
  --warning: #f39c12;

  --radius-lg: 20px;
  --radius-md: 14px;

  --shadow-soft: 0 8px 20px rgba(0,0,0,0.05);
  --shadow-strong: 0 10px 40px rgba(0,0,0,0.2);
}

/* RTL + touch */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  font-family: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--primary);
}

/* Logo standard (from .clinerules / index) */
.logo-box img,
.fisa-logo {
  height: 185px;
  width: auto;
  display: block;
  position: relative;
  z-index: 2000;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

/* Mobile adjustment (match index behavior) */
@media (max-width: 768px) {
  .logo-box img,
  .fisa-logo {
    height: 140px;
  }
}

/* Buttons (shared) */
.fisa-btn {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}

.fisa-btn:active { transform: scale(0.98); }

.fisa-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.25);
}

.fisa-btn-primary:hover { transform: translateY(-1px); }

/* Cards (shared) */
.fisa-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
}

/* Inputs (shared) */
.fisa-input {
  border-radius: 10px;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  font-size: 16px;
  transition: 0.3s;
}

.fisa-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

/* Small helper to keep headings consistent */
.fisa-title {
  font-weight: 800;
  color: var(--primary);
}

/* Shared header layout */
.fisa-header {
  background: var(--white);
  height: 75px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.fisa-header .logo-box {
  display: flex;
  align-items: center;
  min-width: 150px;
}

/* Shared container */
.fisa-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}
