/* CSS Reset & Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Work+Sans:wght@600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #2C2139;
    font-family: 'Roboto', sans-serif;
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    /* Ensure body is relative for abs positioning if needed */
}

/* Background Placeholder */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bg-floorplan.png') center/cover no-repeat;
    opacity: 0.15;
    /* Subtle watermark effect */
    z-index: 0;
    pointer-events: none;
}

/* Login Container */
.login-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 42px;
    width: 412px;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo-bar {
    width: 232px;
    height: 53px;
    background: url('../img/logo.svg') no-repeat center;
    /* Or the SVG code directly, usually cleaner to separate but I'll use the SVG logic in HTML if simpler */
}

.title-group {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.title-main {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.87);
}

.title-sub {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.54);
}

/* Card */
.login-card {
    background: #382D46;
    border-radius: 6px;
    padding: 48px 43px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.input-label {
    color: #7BDC00;
    font-size: 12px;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.input-field {
    background: #4B3E5A;
    border-radius: 6px;
    height: 36px;
    padding: 5px 16px;
    display: flex;
    align-items: center;
    border: none;
    width: 100%;

    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.input-field:focus {
    outline: 2px solid #7BDC00;
    outline-offset: -2px;
}

.btn-enter {
    background: #7BDC00;
    border-radius: 6px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}

.btn-enter:hover {
    background: #6bc000;
}

.btn-text {
    color: rgba(19, 23, 32, 0.90);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hidden {
    display: none;
}