html {
    height: 100%;
  }
  :root{
    --bg-primary   : #49274a;
    --bg-secondary : #94618e;
    --bg-secondary2 : #54B4D3;
    --bg-accent    : #f8eee7;
    --bg-accent2 : #F0F2F9;
  }
  body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #49274a 0%, #ae7ea8 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 350px;
    text-align: center;
}

.login-box h2 {
    margin-bottom: 25px;
    color: var(--bg-primary);
    font-weight:500;
}

.user-box {
    position: relative;
    margin-bottom: 25px;
}

.user-box input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.3s;
}

.user-box input:focus {
    border-color: var(--bg-primary);
}

.user-box label {
    position: absolute;
    top: -8px;
    left: 12px;
    background: #fff;
    padding: 0 4px;
    font-size: 12px;
    color: #666;
}

.submitbtn {
    width: 100%;
    padding: 12px;
    background: var(--bg-primary);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submitbtn:hover {
    background: var(--bg-secondary);
}

/* Hide Edge's default password reveal icon */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--bg-primary);
    cursor: pointer;
    user-select: none;
}
.toggle-password:hover {
    text-decoration: underline;
}