/* TDMS Unified Login Portal Styles */
:root {
    --bg-color: #f4f7f6;
    --surface-color: #ffffff;
    --text-main: #222222;
    --text-muted: #888888;
    --accent: #8a1523;
    /* Ruby Red */
    --accent-hover: #ad1a2c;
    --border: #e0e0e0;
    --focus-ring: rgba(138, 21, 35, 0.2);
    --font-main: 'Inter', -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-font-smoothing: antialiased;
}

.login-container {
    background: var(--surface-color);
    width: 100%;
    max-width: 420px;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 12px;
    color: var(--text-main);
    text-transform: uppercase;
    margin-bottom: 8px;
    margin-left: 12px;
    /* Compensate for letter spacing */
}

.subtitle {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fafafa;
    transition: all 0.2s ease;
    outline: none;
    font-family: var(--font-main);
}

.input-field:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.btn-login {
    width: 100%;
    padding: 16px;
    background-color: var(--text-main);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
    margin-bottom: 24px;
}

.btn-login:hover {
    background-color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-login:active {
    transform: translateY(1px);
}

.error-msg {
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    height: 20px;
    margin-top: -10px;
    margin-bottom: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.error-msg.show {
    opacity: 1;
}

.demo-hints {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
}

.demo-hints strong {
    color: var(--text-main);
}