/* 登入頁面專用樣式 */

#app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Auth 容器 (登入 & OTP) */
.auth-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    position: relative;
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* OTP 樣式 */
.otp-hint {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.otp-hint span {
    font-weight: bold;
    color: #333;
}

.otp-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.otp-input {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.2s, background-color 0.2s;
}

.otp-input:focus {
    outline: none;
    border-color: #4a90d9;
}

.otp-input.filled {
    border-color: #4a90d9;
    background-color: #f0f7ff;
}

.otp-input.error {
    border-color: #e74c3c;
    background-color: #fff5f5;
}

/* 響應式 */
@media (max-width: 480px) {
    .auth-container {
        padding: 20px;
        margin: 10px;
    }

    .otp-input {
        width: 40px;
        height: 50px;
        font-size: 20px;
    }
}
