html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#login-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.login-dialog {
    background: white;
    padding: 32px;
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-family: sans-serif;
}

.login-title {
    font-size: 20px;
    font-weight: bold;
}

.forgot-password-instruction {
    margin: 12px 0 16px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.input-group {
    position: relative;
    padding-top: 16px;
}

.input-group input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 8px 0 4px 0;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.input-group label {
    position: absolute;
    top: 20px;
    left: 0;
    color: #aaa;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.2s ease;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
}

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

/* Primary action button (LOGIN, SEND, etc.) */
.primary-button {
    border: none;
    background: transparent;
    color: #00a8e8;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
}

.primary-button:hover {
    background: #eee;
}

.primary-button:disabled {
    color: #aaa;
    cursor: default;
    background: transparent;
}

/* Text button (Back to Login, Forgot Password) */
.text-button {
    border: none;
    background: transparent;
    color: #00a8e8;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 14px;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
}

.text-button:hover {
    background: #eee;
}

.text-button:disabled {
    color: #aaa;
    cursor: default;
    background: transparent;
}

#error-text {
    color: red;
    font-size: 14px;
    display: none;
    text-align: center;
}