.form-group.code-group {
    flex-direction: row;
    align-items: flex-end;
}

.form-group.code-group input {
    flex: 1;
    margin-right: 10px;
}

button.code-btn {
    padding: 12px;
    font-size: 14px;
    white-space: nowrap;
}

button:hover:not(:disabled) {
    background: linear-gradient(45deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

/* 底部备案信息样式 */
.site-footer {
    width: 100%;
    text-align: center;
    padding: 16px 8px 20px 8px;
    background: transparent;
    color: #666;
    font-size: 15px;
    font-family: 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
    box-sizing: border-box;
    line-height: 1.6;
    margin-top: 40px;
    word-break: break-all;
    position: fixed;
    bottom: 0;
    left: 0; /* 确保左对齐 */
    z-index: 1000; /* 确保在其他元素之上 */
}

.site-footer a {
    color: #666;
    text-decoration: none;
    margin-left: 12px;
    transition: color 0.3s, transform 0.3s;
    font-size: 15px;
}

.site-footer a:hover {
    color: #1890ff;
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .site-footer {
        font-size: 13px;
        padding: 12px 4px 16px 4px;
        position: fixed; /* 确保在移动设备上也是固定的 */
        bottom: 0;
    }
    .site-footer a {
        font-size: 13px;
        margin-left: 0;
        display: inline-block; /* 改为行内块，让版权信息和备案号在同一行 */
        margin-top: 0;
        padding: 0 5px;
    }
    
    .container {
        margin-bottom: 60px; /* 确保内容不被底部footer遮挡 */
        padding-bottom: 20px;
    }
}

@media (max-width: 360px) {
    .site-footer span, .site-footer a {
        display: block;
        text-align: center;
        margin: 5px auto;
    }
} 