* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

[v-cloak] {
    display: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

h1 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* 主容器样式 */
.sealMain {
    width: 100%;
    min-height: 100vh;
    display: flex;
    padding: 60px;
    gap: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 左侧导航样式 */
.sealNav {
    width: 280px;
    height: calc(100vh - 60px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    overflow: auto;
}

/* 导航项样式 */
.sealNav .navItem {
    width: 100%;
    height: 50px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    white-space: nowrap;
    background-color: white;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sealNav .navItem:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    border-color: transparent;
}



/* 版本说明区域 */
.sealNav > div.flex {
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    justify-content: center;
    font-size: 12px;
}

/* 右侧内容区域 */
.mainContent {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 设置和预览容器 */
.setSealBox {
    width: 100%;
    height: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

/* 警告信息 */
.warning {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 1px solid #ef5350;
    border-radius: 8px;
    padding: 15px;
    color: #c62828;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 设置区域 */
.setSeal {
    flex: 1;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 标签页样式 */
.el-tabs {
    width: 100%;
}

.el-tabs__header {
    margin-bottom: 20px;
}

.el-tabs__nav-wrap::after {
    background-color: #e0e0e0;
}

.el-tabs__item {
    color: #666;
    font-size: 14px;
}

.el-tabs__item.is-active {
    color: #667eea;
    font-weight: 600;
    background: #eaf2ff;
}

.el-tabs__active-bar {
    background-color: #667eea;
    height: 3px;
}

.el-tabs__content {
    padding: 0 20px;
}

/* 数据设置区域 */
.sealData {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

.sealData .sealData_item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sealData .sealData_item span {
    width: 120px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

/* 数据标题样式 */
.dataTitle {
    width: 100px;
    height: 40px;
    line-height: 40px;
    font-weight: 500;
    color: #555;
    text-align: left;
}

/* 预览区域 */
.previewSection {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

/* 印章预览容器 */
#sealdiv {
    width: 350px;
    height: 350px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin: 0;
}

.previewTitle {
    width: 100%;
    height: 45px;
    line-height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
}

/* 画布样式 */
#canvas {
    margin-top: 50px;
    max-width: 100%;
    max-height: calc(100% - 60px);
}

/* 操作按钮区域 */
.createSeal {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* Element UI 按钮样式覆盖 */
.el-button {
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.el-button--primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.el-button--primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a418f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.el-button--success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border: none;
}

.el-button--success:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(72, 187, 120, 0.4);
}

/* 使用说明样式 */
.useMsgBox {
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 20px;
}

.useMsgBox>p {
    width: 100%;
    text-align: center;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.useMsg {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

/* 折叠面板样式 */
.el-collapse {
    border: none;
}

.el-collapse-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.el-collapse-item__header {
    width: 100%;
    color: #667eea;
    background-color: #f8f9fa;
    border: none;
    margin: 0;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
}

.el-collapse-item__header:hover {
    background-color: #f0f2f5;
}

.el-collapse-item__wrap {
    background-color: white;
    border: none;
}

.el-collapse-item__content {
    padding: 20px;
    background: white;
    line-height: 1.8;
}

/* 客服浮窗 */
    .floatBox {
        width: 56px;
        height: auto;
        box-shadow: 0 0 5px 0 lightgray;
        position: fixed;
        right: 10px;
        top: 50%;
        z-index: 100;
        display: flex;
        flex-direction: column;
    }

    .float_vipBox {
        width: 100%;
        height: 90px;
        display: flex;
        position: relative;
        cursor: pointer;
    }

    .float_vipBox:hover .callBox_btn span {
        color: rgb(244, 187, 34);
    }

    .callBox {
        width: 100%;
        height: 90px;
        border-top: 1px solid lightgray;
        display: flex;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }

    .callBox_btn {
        width: 100%;
        height: 100%;
        background-color: white;
        font-size: 12px;
        color: gray;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        right: 0;
        transition: all 0.2s linear;
    }

    .callBox_btnHover {
        background-color: rgb(0, 131, 233);
        color: white;
        float: left;
        position: absolute;
        left: 100%;
    }

    .hover_box {
        width: 190px;
        height: 350px;
        background-color: white;
        box-shadow: 0 0 10px #daf1f8;
        position: fixed;
        cursor: pointer;
        z-index: 1001;
        right: 68px;
        top: 55%;
        display: none;
    }

    .callBox:hover .callBox_btn {
        right: 100%;
    }

    .callBox:hover .callBox_btnHover {
        left: 0;
    }

    .callBox:hover~.hover_box {
        display: block;
    }

    .hover_box:hover {
        display: block;
    }

    /* 客服浮窗 */

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .sealMain {
        flex-direction: column;
    }
    
    .sealNav {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        position: static;
    }
    
    .sealNav .navItem {
        width: calc(25% - 8px);
        font-size: 13px;
    }
    
    .previewSection {
        flex-direction: column;
    }
    
    #sealdiv {
        width: 100%;
        max-width: 400px;
    }
}

@media screen and (max-width: 768px) {
    .sealMain {
        padding: 10px;
    }
    
    .sealNav .navItem {
        width: calc(50% - 5px);
        font-size: 12px;
    }
    
    .setSealBox {
        padding: 20px;
    }
    
    .createSeal {
        flex-direction: column;
    }
    
    .createSeal .el-button {
        width: 100%;
    }
}

/* 表单元素样式 */
.el-input, .el-select, .el-input-number {
    /* flex: 1;
    min-width: 0; */
}

/* 输入框样式 */
.el-input__inner {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.el-input__inner:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
    background-color: #ffffff;
}

.el-input__inner:hover {
    border-color: #cbd5e0;
}

/* 选择器样式 */
.el-select .el-input__inner {
    cursor: pointer;
}

.el-select .el-input__suffix {
    color: #a0aec0;
}

.el-select-dropdown {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    overflow: hidden;
}

.el-select-dropdown__item {
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.el-select-dropdown__item:hover {
    background-color: #f7fafc;
    color: #667eea;
}

.el-select-dropdown__item.selected {
    background-color: #edf2f7;
    color: #667eea;
}

/* 输入数字样式 */
.el-input-number {
    display: flex;
    align-items: center;
}

.el-input-number .el-input__inner {
    border-radius: 10px 0 0 10px;
    border: none;
}

.el-input-number__decrease, .el-input-number__increase {
    width: 36px;
    height: 36px;
    border: 2px solid #e2e8f0;
    background-color: #f7fafc;
    color: #4a5568;
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 32px;
}

.el-input-number__decrease {
    border-radius: 10px 0 0 10px;
    border-right: none;
}

.el-input-number__increase {
    border-radius: 0 10px 10px 0;
    border-left: none;
}

.el-input-number__decrease:hover, .el-input-number__increase:hover {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
}

.el-input-number__decrease.is-disabled:hover, .el-input-number__increase.is-disabled:hover {
    background-color: #f7fafc;
    color: #cbd5e0;
    border-color: #e2e8f0;
}

/* 滑块样式 */
.el-slider {
    width: 250px;
    margin: 0 15px;
}

.el-slider__runway {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
}

.el-slider__bar {
    height: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

.el-slider__button {
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.el-slider__button:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.el-slider__button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.el-slider__button.hover, .el-slider__button.dragging {
    border-color: #764ba2;
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.4);
}

/* 复选框样式 */
.el-checkbox {
    margin: 0 15px;
    font-size: 14px;
    color: #4a5568;
}

.el-checkbox__input {
    vertical-align: middle;
}

.el-checkbox__inner {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    background-color: white;
    transition: all 0.3s ease;
}

.el-checkbox__input.is-checked .el-checkbox__inner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

.el-checkbox__input.is-checked .el-checkbox__inner::after {
    transform: rotate(45deg) scale(1);
    border-color: white;
    border-width: 2px;
    border-style: solid;
    border-top: 0;
    border-left: 0;
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
}

.el-checkbox__input.is-focus .el-checkbox__inner {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.el-checkbox__input.is-hover .el-checkbox__inner {
    border-color: #667eea;
}

/* 颜色选择器样式 */
.el-color-picker {
    margin-left: 15px;
}

.el-color-picker__trigger {
    width: 40px;
    height: 40px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.el-color-picker__trigger:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.el-color-dropdown {
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* 表单标签样式 */
.sealData .sealData_item span, .dataTitle {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

/* 水印样式 */
.absolute.flex {
    opacity: 0.6;
}

/* 响应式表单元素 */
@media screen and (max-width: 768px) {
    .el-input, .el-select, .el-input-number {
        width: 100%;
        margin-top: 10px;
    }
    
    .sealData .sealData_item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sealData .sealData_item span {
        width: 100%;
    }
    
    .el-slider {
        width: 100%;
        margin: 10px 0;
    }
    
    .el-checkbox {
        margin: 10px 0;
    }
    
    .el-color-picker {
        margin-left: 0;
        margin-top: 10px;
    }
}