/*
Theme Name: LAYVA ERP
Theme URI: https://layva-erp.example.com
Author: LAYVA
Author URI: https://layva-erp.example.com
Description: A premium, enterprise-grade WordPress theme built for ERP and SaaS software companies. Minimal, elegant, and performance-optimized, with full Gutenberg (theme.json) support, RTL readiness, WooCommerce compatibility, and accessible, semantic markup throughout.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: layva-erp
Tags: custom-background, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, translation-ready, threaded-comments, wide-blocks, e-commerce

LAYVA ERP is distributed under the terms of the GNU GPL v2 or later.

This CSS file adds the theme header required by WordPress and contains
minimal fallback/reset rules. All production styling lives in the modular
stylesheets under /assets/css/ and is enqueued via inc/enqueue.php so it
can be properly split, cached, and maintained. Do not add bulk styling
rules directly to this file; it exists primarily for the theme header.
*/

/* ------------------------------------------------------------------
   Minimal safety-net resets (in case assets/css/main.css fails to load)
   ------------------------------------------------------------------ */

:root {
	--layva-color-primary: #1E2D42;
	--layva-color-accent: #C9A882;
	--layva-color-background: #F8FAFC;
	--layva-color-surface: #FFFFFF;
	--layva-color-text: #1F2937;
	--layva-color-text-secondary: #64748B;
	--layva-color-border: #E5E7EB;
}

html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	background-color: var(--layva-color-background);
	color: var(--layva-color-text);
	font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--layva-color-surface);
	border-radius: 6px;
	box-shadow: 0 0 4px rgba(0, 0, 0, .3);
	clip: auto !important;
	clip-path: none;
	color: var(--layva-color-primary);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 6px;
	line-height: normal;
	padding: 12px 18px;
	text-decoration: none;
	top: 6px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--layva-color-primary);
	color: #fff;
	padding: 12px 20px;
	z-index: 100000;
	transition: top .2s ease-in-out;
}

.skip-link:focus {
	top: 0;
}
