/* 推薦人通知樣式 */
.referrer-notice {
    background: var(--primary-gradient);
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: var(--shadow-soft);
}

.referrer-notice i {
    font-size: 24px;
    margin-top: 2px;
}

.notice-content {
    flex: 1;
}

.notice-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}

.notice-content p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.5;
}

.referrer-code {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 15px;
}

/* ⭐ 驗證碼内嵌输入框样式 */
.verify-code-field {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fafafa;
    transition: all 0.3s;
    overflow: hidden;
}

.verify-code-field:focus-within {
    border-color: var(--primary-color);
    background: white;
    box-shadow: var(--shadow-focus);
}

.verify-code-input-inner {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 14px 18px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 600;
}

.verify-send-link {
    flex-shrink: 0;
    background: none;
    border: none;
    border-left: 1px solid #e0e0e0;
    padding: 14px 16px;
    margin: 0;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.verify-send-link:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.02);
}

.verify-send-link:disabled {
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

/* 驗證碼輸入框樣式（保留旧 class 兼容） */
.verify-code-input {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    letter-spacing: 2px;
    text-align: center;
    font-weight: 600;
}

/* 驗證狀態圖示樣式 */
.verify-status-icon {
    width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.verify-status-icon:empty {
    display: none;
    width: 0;
}

.verify-status-icon.success {
    color: var(--primary-color);
    animation: checkmark-pop 0.5s ease-out;
}

.verify-status-icon.error {
    color: #f44336;
    animation: shake 0.5s ease-out;
}

/* 成功動畫 */
@keyframes checkmark-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 錯誤動畫 */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* 倒數計時文字樣式 */
.countdown-text {
    color: #999;
    font-weight: 600;
    font-size: 13px;
}

