#login-modal-mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

#login-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.login-modal-content {
    width: 340px;
    background: #fff;
    padding: 32px 24px 24px 24px;
    border-radius: 23px;
    max-width: 100vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-modal-close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 26px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.login-modal-close:hover {
    color: #48C6EF;
}

.login-modal-content h2 {
    margin-bottom: 18px;
    font-size: 22px;
    color: #222;
}

.login-form-row {
    width: 100%;
    margin-bottom: 16px;
}

.login-modal-content input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: border 0.2s;
    box-sizing: border-box;
}

.login-modal-content input:focus {
    border: 1.5px solid #48C6EF;
}

.img-code {
    width: 90px;
    height: 38px;
    background: linear-gradient(135deg, #f0f0f0 60%, #e0f7fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Consolas', 'Menlo', monospace;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #3a3a3a;
    cursor: pointer;
    border: 1.5px solid #b2ebf2;
    border-radius: 8px;
    user-select: none;
    box-shadow: 0 2px 8px rgba(72, 198, 239, 0.08);
    transition: box-shadow 0.2s, border 0.2s;
    position: relative;
    overflow: hidden;
}

.img-code:hover {
    box-shadow: 0 4px 16px rgba(72, 198, 239, 0.18);
    border: 1.5px solid #48C6EF;
    background: linear-gradient(135deg, #e0f7fa 60%, #f0f0f0 100%);
}

.get-code-btn {
    background: linear-gradient(90deg, #48C6EF 0%, #6F86D6 100%);
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 8px 18px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    min-width: 100px;
    box-shadow: 0 2px 8px rgba(72, 198, 239, 0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.get-code-btn:hover:not(:disabled) {
    background: linear-gradient(90deg, #36a3d9 0%, #48C6EF 100%);
    box-shadow: 0 4px 16px rgba(72, 198, 239, 0.18);
}

.get-code-btn:disabled {
    background: #ccc;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
}

.login-submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #48C6EF 0%, #6F86D6 100%);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(72, 198, 239, 0.10);
    transition: background 0.2s, box-shadow 0.2s;
}

.login-submit-btn:hover {
    background: linear-gradient(90deg, #36a3d9 0%, #48C6EF 100%);
    box-shadow: 0 4px 16px rgba(72, 198, 239, 0.18);
}

.login-error {
    color: #e53935;
    font-size: 15px;
    margin-top: 10px;
    min-height: 22px;
    text-align: center;
}