/* 帝国神话工具箱通用样式 */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.app-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    font-family: Arial, sans-serif;
    max-width: 1400px; /* 限制最大宽度 */
    margin: 0 auto; /* 居中显示 */
    box-sizing: border-box;
}

#app {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    font-family: Arial, sans-serif;
    max-width: 1400px; /* 限制最大宽度 */
    margin: 0 auto; /* 居中显示 */
    box-sizing: border-box;
}
#app.full-screen {
    max-width: 100%;
    padding: 0;
    margin: 0;
}
.calculator-container {
    margin-bottom: 15px;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}
h2 {
    color: #409EFF;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
}
.tool-tab-content {
    padding: 10px 0;
    max-width: 100%;
}
.result-card {
    margin-top: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 12px 15px;
    border-left: 4px solid #409EFF;
    max-width: 400px; /* 限制最大宽度 */
    margin-left: auto;
    margin-right: auto;
}

.calculator-container {
    margin-bottom: 15px;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

h2 {
    color: #409EFF;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.tool-tab-content {
    padding: 10px 0;
    max-width: 100%;
}

.result-card {
    margin-top: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 12px 15px;
    border-left: 4px solid #409EFF;
    max-width: 400px; /* 限制最大宽度 */
    margin-left: auto;
    margin-right: auto;
}

.el-divider__text {
    background-color: transparent;
}

.el-tabs__item {
    font-size: 16px;
}

.el-form-item {
    margin-bottom: 12px;
}

.el-divider--horizontal {
    margin: 15px 0;
}

.el-form-item__label {
    line-height: 30px;
}

.compact-form .el-form-item {
    margin-bottom: 8px;
}

.compact-form .el-input-number {
    width: 100%;
}

.result-card p {
    margin: 5px 0;
}

/* 调整标签页和表单样式 */
.el-tabs__content {
    padding: 0 10px;
}

/* 表单整体样式 */
.compact-form {
    max-width: 380px; /* 限制表单最大宽度 */
    margin: 0 auto; /* 居中表单 */
}

/* 输入框样式 */
.compact-form .el-input-number {
    width: 100%;
}

/* 当需要全屏显示时（如地图页面） */
.full-screen {
    max-width: 100%;
    padding: 0;
    margin: 0;
}
.full-screen, .full-screen>div .el-tabs__content, .full-screen>div .el-tab-pane {
    height: calc(100vh - 40px);
    padding: 0;
    margin: 0;
}

.full-screen>div{
    height: 100%;
    box-sizing: border-box;
}
/* 加载状态 */
.loading-data {
    text-align: center;
    padding: 30px;
    font-size: 16px;
    color: #909399;
}

/* 属性标签 */
.attr-positive {
    color: #67c23a;
    margin-right: 10px;
}

.attr-negative {
    color: #f56c6c;
    margin-right: 10px;
} 



.search-perk-card-header-icon::before, .perk-card-header-icon::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-image: url(https://cdn.19970417.com/moecdn/Content/UI/Textures/Horse/VehicleShortCut_Green.png);
}

.perk-icon {
    width: 86px;
    height: 86px;
    margin: 7px;
    object-fit: contain;
}
.search-perk-card-header-icon{
    width: 50px;
    height: 50px;
    margin-right: 10px;
    object-fit: contain;
    position: relative;
}
.search-perk-icon {
    width: 44px;
    height: 44px;
    margin: 3px;
    object-fit: contain;
}

.PlantQuality_Green::before, .VEHICLEPERKQUALITY_GREEN::before{
    background-image: url(https://cdn.19970417.com/moecdn/Content/UI/Textures/Horse/VehicleShortCut_Green.png);
}
.PlantQuality_Blue::before, .VEHICLEPERKQUALITY_BLUE::before{
    background-image: url(https://cdn.19970417.com/moecdn/Content/UI/Textures/Horse/VehicleShortCut_Blue.png);
}
.PlantQuality_Orange::before, .VEHICLEPERKQUALITY_ORANGE::before{
    background-image: url(https://cdn.19970417.com/moecdn/Content/UI/Textures/Horse/VehicleShortCut_Orange.png);
}
.PlantQuality_Purple::before, .VEHICLEPERKQUALITY_Purple::before{
    background-image: url(https://cdn.19970417.com/moecdn/Content/UI/Textures/Horse/VehicleShortCut_Purple.png);
}
.PlantQuality_Red::before, .VEHICLEPERKQUALITY_RED::before{
    background-image: url(https://cdn.19970417.com/moecdn/Content/UI/Textures/Horse/VehicleShortCut_Red.png);
}