﻿/* =========================================================
   AUM / HR DESIGN SYSTEM — LOGIN MASTER
   Pixel-perfect | Responsive | Dark-mode ready
========================================================= */

/* =========================
   COLOR VARIABLES (HR)
========================= */
:root {
    --aum-primary: #7b0a0f;          /* HR Burgundy */
    --aum-primary-dark: #5f070b;
    --aum-secondary: #9b1c1f;

    --aum-bg: #f4f6f9;
    --aum-card-bg: #ffffff;

    --aum-text-main: #1f2937;
    --aum-text-muted: #6b7280;

    --aum-border: #d1d5db;
}

/* =========================
   DARK MODE
========================= */
@media (prefers-color-scheme: dark) {
    :root {
        --aum-bg: #0f172a;
        --aum-card-bg: #111827;
        --aum-text-main: #e5e7eb;
        --aum-text-muted: #9ca3af;
        --aum-border: #1f2937;
    }
}

/* =========================
   GLOBAL
========================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: var(--aum-bg);
    color: var(--aum-text-main);
    line-height: 1.5;
}

/* =========================
   HEADER (HR EXACT)
========================= */
.aum-header {
    height: 130px; /* increase header height */
    background-color: rgba(123,10,15,0.95) !important;
    display: flex;
    align-items: center; /* vertical center */
    padding: 0 40px;
     position: relative; /* REQUIRED */
}

.aum-logo img {
    height: 90%; /* fill 90% of header height */
    max-height: 100px; /* prevent huge logos */
    width: auto; /* maintain aspect ratio */
}
/*
.aum-header-title {
    margin-left: auto;
    font-size: 32px; 
    font-weight: 600;
    color: #ffffff;
}
*/
.aum-header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

/* =========================
   MAIN LAYOUT
========================= */
.aum-main {
    min-height: calc(100vh - 160px);
    padding: 40px 20px 60px;
}

/* =========================
   CARD / LOGIN BOX
========================= */
.box {
    background-color: var(--aum-card-bg);
    border: 1px solid var(--aum-border);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    padding: 30px;
}

/* =========================
   TITLES & TEXT
========================= */
h1, h2, h3, h4 {
    color: var(--aum-primary);
    font-weight: 600;
    margin-top: 0;
}

.page-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 40px;
}

.box-title {
    text-align: center;
    font-size: 18px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--aum-border);
}

label {
    font-size: 14px;
    font-weight: 600;
}

.terms-text {
    font-size: 12px;
    color: var(--aum-text-muted);
    text-align: center;
}

/* =========================
   LINKS
========================= */
a {
    color: var(--aum-primary);
}

a:hover {
    color: var(--aum-primary-dark);
}

/* =========================
   INPUTS
========================= */
.form-control {
    height: 42px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid var(--aum-border);
    padding: 8px 12px;
}

.form-control:focus {
    border-color: var(--aum-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(123,10,15,.15);
}

/* =========================
   BUTTONS (HR EXACT)
========================= */
button,
input[type="submit"],
.btn,
.btn-login,
.btn-register {
    background-color: rgba(123,10,15,0.95) !important;
    color: #ffffff !important;
    border: none !important;
    height: 42px !important;
    font-weight: 600;
    cursor: pointer;
}

button:hover,
input[type="submit"]:hover,
.btn:hover,
.btn-login:hover,
.btn-register:hover {
    background-color: var(--aum-primary-dark) !important;
}

/* =========================
   ALERTS
========================= */
.alert {
    border-radius: 4px;
    font-size: 14px;
}

/* =========================
   FOOTER (HR EXACT)
========================= */
.aum-footer {
    height: 70px;
    background-color: rgba(123,10,15,0.95) !important;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding: 0 15px;
    text-align: center;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
   /*
    .aum-header {
        height: 110px; 
        padding: 0 20px;
    }
    */
    .aum-header {
        height: auto;
        flex-direction: column;
        justify-content: center;
        padding: 15px 20px;
    }
/*
    .aum-logo img {
        height: 75%; 
    }
  */  
    .aum-logo img {
        max-height: 60px;
        margin-bottom: 8px;
    }
/*
    .aum-header-title {
        font-size: 24px; 
    }
  */  
    .aum-header-title {
        position: static;          /* REMOVE absolute */
        transform: none;
        font-size: 22px;
        text-align: center;
        white-space: normal;
    }
        transform: none;
        font-size: 22px;
        text-align: center;
        white-space: normal;
    }
}
