/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
/* ============================================
   MATBA3TY GLOBAL DESIGN SYSTEM
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-primary: #2D3A8C;
  --color-secondary: #3B5BDB;
  --color-accent: #0ABFBC;
  --color-bg-light: #F8F9FA;
  --color-white: #FFFFFF;
  --color-text-dark: #1a1a2e;
  --color-text-mid: #6B7280;
  --color-border: #E5E7EB;
  --font-main: 'Cairo', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(45,58,140,0.08);
}

body, h1, h2, h3, h4, h5, h6, p, a, span, div, button, input, textarea, select {
  font-family: 'Cairo', sans-serif !important;
}

body {
  direction: rtl;
  text-align: right;
}

h1 { font-size: 48px; font-weight: 800; color: #2D3A8C; line-height: 1.2; }
h2 { font-size: 36px; font-weight: 700; color: #2D3A8C; line-height: 1.3; }
h3 { font-size: 24px; font-weight: 600; color: #2D3A8C; }
h4 { font-size: 18px; font-weight: 600; color: #2D3A8C; }
p  { font-size: 16px; color: #6B7280; line-height: 1.8; }

#masthead,
.site-header,
.main-header-bar,
.ast-primary-header-bar {
  background: #FFFFFF !important;
  border-bottom: 1px solid #E5E7EB !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
}

.main-header-menu .current-menu-item > a {
  color: #2D3A8C !important;
  border-bottom: 5px solid #2D3A8C !important;
  font-weight: 700 !important;
}

.main-header-menu .menu-item a:hover {
  color: #3B5BDB !important;
}

.main-header-menu .current-menu-item > a {
  border-bottom: 3px solid #2D3A8C !important;
  color: #2D3A8C !important;
}

.ast-custom-button {
  background: #2D3A8C !important;
  color: #FFFFFF !important;
  border: 2px solid #2D3A8C !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
}

.ast-custom-button:hover {
  background: #3B5BDB !important;
  border-color: #3B5BDB !important;
}

.elementor-button,
.wp-block-button__link {
  font-family: 'Cairo', sans-serif !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

/* Force override Astra Builder Header */
#masthead { background-color: #FFFFFF !important; }
#masthead * { background-color: transparent !important; }
#masthead .ast-builder-grid-row { background-color: #FFFFFF !important; }
#masthead .ast-primary-header-bar { background-color: #FFFFFF !important; }
#masthead .site-primary-header-wrap { background-color: #FFFFFF !important; }

/* Force nav text dark blue */
#masthead a,
#masthead .menu-link,
#masthead .menu-item > a {
  color: #2D3A8C !important;
}

/* Force buttons */
#masthead .ast-custom-button {
  background-color: #2D3A8C !important;
  color: #FFFFFF !important;
}

#masthead .ast-builder-button-wrap a {
  background-color: #2D3A8C !important;
  color: #FFFFFF !important;
  border-color: #2D3A8C !important;
}

.elementor-section,
.e-con {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

.matba3ty-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(45,58,140,0.08);
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #E5E7EB;
}
.matba3ty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(45,58,140,0.15);
}

.category-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.category-card:hover {
  border-color: #3B5BDB;
  box-shadow: 0 4px 24px rgba(45,58,140,0.08);
  transform: translateY(-3px);
}

.badge { border-radius: 20px; padding: 4px 14px; font-size: 12px; font-weight: 600; display: inline-block; }
.badge-pending  { background: #FFF3CD; color: #856404; }
.badge-approved { background: #D1FAE5; color: #065F46; }
.badge-rejected { background: #FEE2E2; color: #991B1B; }
.badge-new      { background: #DBEAFE; color: #1E40AF; }

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #E5E7EB;
}
.stat-card-number { font-size: 42px; font-weight: 800; color: #2D3A8C; }
.stat-card-label { color: #6B7280; font-size: 14px; }

.print-house-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  padding: 24px;
  transition: all 0.3s ease;
}
.print-house-card:hover {
  box-shadow: 0 4px 24px rgba(45,58,140,0.08);
  transform: translateY(-3px);
}

.elementor-form .elementor-field-group input,
.elementor-form .elementor-field-group textarea,
.elementor-form .elementor-field-group select,
.um-form input,
.um-form select,
.um-form textarea {
  border: 1px solid #E5E7EB !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 15px !important;
  direction: rtl !important;
  text-align: right !important;
}

.um .um-form { direction: rtl; text-align: right; }
.um-btn,
.um button[type="submit"] {
  background: #3B5BDB !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-family: 'Cairo', sans-serif !important;
  font-weight: 600 !important;
  padding: 12px 32px !important;
  width: 100% !important;
  border: none !important;
}
.um-btn:hover { background: #2D3A8C !important; }

.site-footer,
#colophon {
  background: #F8F9FA !important;
  border-top: 1px solid #E5E7EB;
  padding: 60px 40px 20px !important;
}
.footer-bottom {
  border-top: 1px solid #E5E7EB;
  padding-top: 20px;
  margin-top: 40px;
  font-size: 13px;
  color: #6B7280;
  text-align: center;
}

.instapay-card {
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 32px;
  background: #fff;
  max-width: 620px;
  margin: 0 auto;
}

.cta-blue { background: #3B5BDB !important; border-radius: 20px; }
.cta-teal { background: #0ABFBC !important; }

.matba3ty-admin-wrap { display: flex; min-height: 100vh; direction: rtl; }
.matba3ty-admin-sidebar {
  width: 240px;
  background: #fff;
  border-left: 1px solid #E5E7EB;
  padding: 24px 0;
  flex-shrink: 0;
}
.matba3ty-admin-content { flex: 1; padding: 32px; background: #F8F9FA; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #6B7280;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  direction: rtl;
}
.admin-nav-item:hover,
.admin-nav-item.active {
  background: #F0F4FF;
  color: #3B5BDB;
  border-right: 3px solid #3B5BDB;
}
.admin-nav-section {
  font-size: 11px;
  font-weight: 700;
  color: #9CA3AF;
  padding: 16px 20px 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.matba3ty-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(45,58,140,0.08);
}
.matba3ty-table th {
  background: #F8F9FA;
  color: #6B7280;
  font-size: 12px;
  font-weight: 600;
  padding: 14px 16px;
  text-align: right;
  border-bottom: 1px solid #E5E7EB;
}
.matba3ty-table td {
  padding: 16px;
  border-bottom: 1px solid #E5E7EB;
  color: #374151;
  font-size: 14px;
  text-align: right;
}
.matba3ty-table tr:last-child td { border-bottom: none; }
.matba3ty-table tr:hover td { background: #F8F9FA; }

@media (max-width: 768px) {
  h1 { font-size: 30px !important; }
  h2 { font-size: 24px !important; }
  .elementor-section, .e-con { padding-top: 48px !important; padding-bottom: 48px !important; }
  .instapay-card { flex-direction: column; text-align: center; }
  .matba3ty-admin-sidebar { display: none; }
  .matba3ty-admin-content { padding: 16px; }
}

@media (max-width: 480px) {
  h1 { font-size: 26px !important; }
  .site-header { padding: 0 16px !important; }
}

/* ============================================
   LOGIN & REGISTER PAGES STYLING
   ============================================ */

/* Login/Register page background */
body.um-page-login,
body.um-page-register,
body.um-page-resetpassword {
  background: linear-gradient(135deg, #F0F4FF 0%, #E8ECFF 100%) !important;
  min-height: 100vh;
}

/* Center the UM form container */
.um-page-login .entry-content,
.um-page-register .entry-content,
.um-page-resetpassword .entry-content {
  max-width: 480px !important;
  margin: 60px auto !important;
  padding: 0 20px !important;
}

/* Card wrapper around form */
.um-page-login .um,
.um-page-register .um,
.um-page-resetpassword .um {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 40px !important;
  box-shadow: 0 8px 40px rgba(45,58,140,0.12) !important;
  border: 1px solid #E5E7EB !important;
}

/* Form title */
.um .um-header h3 {
  color: #2D3A8C !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  text-align: center !important;
  font-family: 'Cairo', sans-serif !important;
}

/* Input fields */
.um .um-field input[type="text"],
.um .um-field input[type="email"],
.um .um-field input[type="password"],
.um .um-field input[type="tel"] {
  border: 1px solid #E5E7EB !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 14px !important;
  width: 100% !important;
  transition: border-color 0.3s !important;
}

.um .um-field input:focus {
  border-color: #3B5BDB !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(59,91,219,0.1) !important;
}

/* Field labels */
.um .um-field-label label {
  color: #374151 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  font-family: 'Cairo', sans-serif !important;
}

/* Submit button */
.um-btn,
.um .um-field input[type="submit"],
.um button[type="submit"] {
  background: #3B5BDB !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 13px 20px !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background 0.3s !important;
}

.um-btn:hover {
  background: #2D3A8C !important;
}

/* Links */
.um .um-alt-link a,
.um a {
  color: #3B5BDB !important;
  font-family: 'Cairo', sans-serif !important;
}

/* Error messages */
.um .um-field-error {
  color: #EF4444 !important;
  font-size: 12px !important;
  font-family: 'Cairo', sans-serif !important;
}

/* Success messages */
.um .um-notice {
  background: #D1FAE5 !important;
  border-color: #10B981 !important;
  color: #065F46 !important;
  border-radius: 8px !important;
  font-family: 'Cairo', sans-serif !important;
}

/* Hide default page title on auth pages */
.um-page-login .entry-title,
.um-page-register .entry-title,
.um-page-resetpassword .entry-title {
  display: none !important;
}

/* Registration form - add spacing between fields */
.um .um-field {
  margin-bottom: 16px !important;
}

/* Checkbox fields */
.um .um-field-checkbox label {
  font-family: 'Cairo', sans-serif !important;
  color: #374151 !important;
  font-size: 14px !important;
}

/* White Header */
#masthead,
.site-header,
.main-header-bar,
.ast-primary-header-bar {
  background: #FFFFFF !important;
  border-bottom: 1px solid #E5E7EB !important;
}

/* Dark blue nav links */
.main-header-menu .menu-item a,
.ast-primary-header-bar .menu-item a {
  color: #2D3A8C !important;
}

/* Dark blue buttons */
.ast-custom-button {
  background: #2D3A8C !important;
  color: #FFFFFF !important;
  border: 2px solid #2D3A8C !important;
  border-radius: 8px !important;
}

/* ---- MOBILE HEADER FIX ---- */
.menu-toggle {
  color: #2D3A8C !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.menu-toggle .ast-icon svg,
.menu-toggle svg path,
.menu-toggle svg rect,
.menu-toggle svg line {
  fill: #2D3A8C !important;
  stroke: #2D3A8C !important;
}

/* Mobile menu items */
.main-navigation .menu-item a {
  color: #2D3A8C !important;
  font-family: 'Cairo', sans-serif !important;
  padding: 12px 20px !important;
  display: block !important;
  border-bottom: 1px solid #F3F4F6!important;
}

.main-navigation .menu-item a {
  color: #2D3A8C !important;
  font-family: 'Cairo', sans-serif !important;
}