/* name1.css */
body {
    font-family: 'OPlusSans3-Medium';

    background: #f5f5f5;
}

@font-face {
    font-family: 'OPlusSans3-Medium';
    src: url('OPlusSans3-Medium.ttf');
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.input-group {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

input {
    font-family: 'OPlusSans3-Medium';
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #000;
}

.preview {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.preview-box {
    width: 282px;
    height: 174px;
    position: relative;
    border: 1px solid #ddd;
    overflow: hidden;
}

.preview-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.controls {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

#loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loading-mask p {
    color: white;
    font-size: 24px;
}

/* 新增标签按钮样式 */
.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    background: #eee;
    color: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.tab-button.active {
    background: #007bff;
    color: white;
}