/*
Theme Name: Pharmacy ERP
Description: A custom block theme.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pharmacy-erp
*/

/* === root === */
:root {
    --erp-navy:    #0f2b4a;
    --erp-teal:    #0aadad;
    --erp-green:   #00b894;
    --erp-white:   #f8fbff;
    --erp-font:    'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* === global === */
body { font-family: var(--erp-font); background: var(--erp-navy); color: #fff; margin: 0; }
.wp-site-blocks { min-height: 100vh; }

/* === hero-login === */
.erp-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f2b4a 0%, #1a3d5c 50%, #0aadad22 100%);
    display: flex; align-items: center; justify-content: center;
    padding: 40px 20px; position: relative; overflow: hidden;
}
.erp-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(10,173,173,.18) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(0,184,148,.12) 0%, transparent 60%);
    pointer-events: none;
}
.erp-card {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 48px 52px;
    max-width: 480px; width: 100%;
    box-shadow: 0 24px 64px rgba(0,0,0,.4);
    position: relative; z-index: 1;
}
.erp-logo {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--erp-teal), var(--erp-green));
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(10,173,173,.4);
}
.erp-card h1 {
    text-align: center; color: #fff;
    font-size: 26px; font-weight: 800;
    margin: 0 0 6px; letter-spacing: -.3px;
}
.erp-card .subtitle {
    text-align: center; color: rgba(255,255,255,.6);
    font-size: 14px; margin-bottom: 32px;
}
.erp-login-btn {
    display: block; width: 100%;
    background: linear-gradient(135deg, var(--erp-teal), var(--erp-green));
    color: #fff !important;
    padding: 14px 24px; border-radius: 10px;
    font-size: 16px; font-weight: 700;
    text-align: center; text-decoration: none;
    box-shadow: 0 6px 20px rgba(10,173,173,.4);
    transition: transform .15s, box-shadow .15s;
    margin-top: 8px;
}
.erp-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(10,173,173,.5);
}
.erp-modules {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; margin: 28px 0;
}
.erp-module {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px; padding: 12px;
    text-align: center; font-size: 12px; color: rgba(255,255,255,.7);
}
.erp-module-icon { font-size: 22px; display: block; margin-bottom: 4px; }
.erp-footer {
    text-align: center; color: rgba(255,255,255,.4);
    font-size: 11px; margin-top: 28px;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 20px;
}
.erp-badge-row {
    display: flex; gap: 8px; justify-content: center; margin-top: 10px; flex-wrap: wrap;
}
.erp-badge {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.7);
    font-size: 11px; padding: 4px 10px; border-radius: 20px;
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
