body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0d0d0d;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

.auth-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-box {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    width: 360px;
    border: 1px solid #b38b2e66;
    text-align: center;
}

.logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

h2 {
    color: #e3c977;
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 12px 12px;
    margin-top: 10px;
    background: #111;
    border: none;
    border-radius: 6px;
    color: white;
}

.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    width: 100%;
    padding: 12px 44px 12px 12px; /* match base padding + room for icon */
    display: block;
}

.password-field button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    color: #e3c977;
    height: 32px;
    width: 32px;
    line-height: 32px;
    padding: 0;
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: #b38b2e;
    border: none;
    border-radius: 6px;
    color: black;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #e4b847;
}

#errorMsg {
    color: #ff5555;
    margin-top: 10px;
    font-size: 14px;
}

.switch-text {
    margin-top: 20px;
}

.switch-text a {
    color: #e3c977;
    text-decoration: none;
    font-weight: bold;
}
