/* ==================================================================
   KoTechPharmERP — Main Application CSS
   Imports all design system files in correct order.
   ================================================================== */
@import url('variables.css');
@import url('base.css');
@import url('layout.css');
@import url('components.css');
@import url('responsive.css');

/* ==================================================================
   Auth Layout (standalone — not part of app shell)
   ================================================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(ellipse at top right, rgba(30, 58, 114, 0.10), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(30, 58, 114, 0.08), transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #ecfdf5 100%);
}
.auth-page .pattern-dots {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(30, 58, 114, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}
.auth-page .auth-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.auth-page .auth-header {
    padding: 1.25rem 1.5rem;
}
.auth-page .auth-header-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.auth-page .brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
}
.auth-page .auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}
.auth-page .auth-card {
    width: 100%;
    max-width: 26rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 2rem 2.25rem;
}
.auth-page .auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary-dark);
    margin: 0 0 0.25rem;
}
.auth-page .auth-subtitle {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    margin: 0 0 1.5rem;
}
.auth-page .auth-footnote {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-top: 1rem;
}
.auth-page .auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.auth-page .auth-link:hover { text-decoration: underline; }
