/*
Theme Name: Hexile Workspace
Theme URI: https://hexile.in
Author: Hexile
Author URI: https://hexile.in
Description: Private workspace theme for Hexile HRMS & internal systems.
Version: 1.0.0
Text Domain: hexile-workspace
*/

/* =====================================================
   CSS RESET (Modern, Safe)
===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue",
                 Arial, sans-serif;
    background: #020617;
    color: #0f172a;
    line-height: 1.5;
}

/* =====================================================
   DESIGN TOKENS (Single Source of Truth)
===================================================== */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;

    --bg-dark: #020617;
    --bg-light: #ffffff;
    --bg-muted: #f1f5f9;

    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #e5e7eb;

    --border: #cbd5e1;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 30px 80px rgba(0,0,0,0.45);

    --transition: all 0.25s ease;
}

/* =====================================================
   GLOBAL HELPERS
===================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

/* =====================================================
   HRMS LOGIN PAGE
===================================================== */
.hexile-login-page {
    display: flex;
    min-height: 100vh;
    background: var(--bg-light);
}

/* LEFT PANEL */
.hexile-login-left {
    width: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hexile-login-left h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hexile-login-left p {
    font-size: 16px;
    max-width: 420px;
    opacity: 0.9;
}

/* RIGHT PANEL */
.hexile-login-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.hexile-login-box {
    width: 360px;
}

/* FORM */
.hexile-login-box label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.hexile-login-box input {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    font-size: 14px;
    transition: var(--transition);
    margin-bottom: 18px;
}

.hexile-login-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* BUTTON */
.hexile-login-box button {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.hexile-login-box button:hover {
    background: var(--primary-dark);
}

/* ERROR MESSAGE */
.hexile-login-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 16px;
}

/* =====================================================
   HRMS DASHBOARD BASE (Future Use)
===================================================== */
.hexile-dashboard {
    min-height: 100vh;
    background: var(--bg-muted);
}

.hexile-dashboard-header {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 16px 24px;
    box-shadow: var(--shadow-sm);
}

.hexile-dashboard-content {
    padding: 32px 24px;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
    .hexile-login-page {
        flex-direction: column;
    }

    .hexile-login-left,
    .hexile-login-right {
        width: 100%;
    }

    .hexile-login-left {
        padding: 60px 40px;
        text-align: center;
        align-items: center;
    }
}


