.nav {
    display: flex;
    position: fixed;
    align-items: center;
    width: 100%;
    height: 80px;
    padding: 0 24px;
    left:0;
    top: 0;
    box-sizing: border-box;
    /* 仅底部阴影，更自然 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
    
    background-color: #fff;
    z-index: 1000;
}

.nav-left { 
    display: flex;
    align-items: center;
    margin-left: 24px;
}
.nav-left img {
    width: 42px;
    height: 42px;
    margin-right: 8px;
}

.nav-left span {
    font-size: 30px;
    color: #1F2937;
    font-weight: 500;
}
.nav-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 24px;
}
.nav-right .credit_btn {
    display: flex;
    width: 120px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #EF4444;
    color: #fff;
    margin-right: 16px;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.nav-right .login_btn {
    display: flex;
    width: 120px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #3B82F6;
    color: #fff;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.content-text{
    display: flex;
    width: 75%;
    margin: auto;
    padding: 60px 120px 30px 120px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.content-text .content-text-title{
    display: flex;
    font-size: 30px;
    font-weight: 500;
    color: #1F2937;
}

.content-text .content-text-title img{
    width: 36px;
    height: 36px;
    margin-right: 8px;
    text-align: center;
    justify-content: center;

}

/*.content-text .content-text-detail{
    display: flex;
    font-size: 16px;
    color: #1F2937;
    margin-top: 12px;
} */
 
.upload-temp-data{
    width: 75%;
    margin: auto;
    align-items: center;
}
.upload-temp-data .upload-temp-data-btn{ 
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
    color: #3B82F6;
    font-weight: 500;
}

.content-file{
    display: flex;
    flex-direction: column;
    width: 75%;
    height: 450px;
    margin: auto;
    border-radius: 8px;
    border: 1px solid #BBBBBB;
    border-style : dashed;
    position: relative; /* Ensure overlay is positioned relative to this container */
}
/* 隐藏原生文件输入框 */
.content-file .file-input {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
            z-index: 1;
}

.content-file .content-upload-area{ 
    position: relative;
    width: 98%;
    height: 380px;
    margin: auto;
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
.content-file .content-upload-area .content-upload-area-text{ 
     font-size: 16px;
     color: #1F2937;
     display: flex;

}

.content-file .content-upload-btn{
    position: relative;
    border: none;
    border-radius: 8px;
    width: 360px;
    margin: auto;
    height: 42px;
    display: flex;
    font-size: 16px;
    color: #fff;
    background-color: #3B82F6;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.content-file .content-preview-area{ 
    position: relative;
    display: none;
    width: 98%;
    height: 380px;
    margin: auto;
    background-color: #fff;
    border-radius: 8px;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: auto;
}
.content-file .content-preview-area .preview-title{ 
     font-size: 16px;
     color: #1F2937;
     display: flex;
     margin-top: 12px;
     margin-left: 18px;
     padding-bottom: 12px;
}

.content-file .content-preview-area .data-preview{ 
       width: 100%;
       height: auto;
       padding: 15px;
}

.content-preview-area .data-preview th, /* 表格表头单元格样式 */
.content-preview-area .data-preview td { /* 表格普通单元格样式 */
        border: 1px solid #e6e6e6; /* 1像素浅灰色边框 */
        padding: 4px 8px; /* 单元格内文字上下留4像素，左右留8像素空白 */
        text-align: left; /* 文字左对齐 */
        min-width: 60px; /* 最小宽度60像素，防止太窄 */
    }
.data-preview th { /* 表格表头额外样式 */
    background-color: #f8f9fa; /* 表头背景色：浅灰色 */
    font-weight: 600; /* 表头文字加粗 */
}

.data-preview tr:nth-child(even) { /* 表格偶数行的样式 */
    background-color: #fafafa; /* 偶数行背景色：更浅的灰色 */
}

.content-file .content-preview-btn{
    position: relative;
    width: 98%;
    margin: auto;
    height: 42px;
    display: none;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.content-file .content-preview-btn .back-btn{
    height: 42px;
    display: flex;
    border-radius: 8px;
    width: 180px;
    border: none;
    font-size: 16px;
    background-color: #3B82F6;
    color: #fff;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.content-file .content-preview-btn .generate-btn{
    height: 42px;
    display: flex;
    border-radius: 8px;
    width: 180px;
    border: none;
    font-size: 16px;
    justify-content: center;
    align-items: center;
    background-color: #EF4444;
    color: #fff;
    cursor: pointer;
}

/* Loading Overlay Styles */
.content-file .loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #D1E1F9; /* Opaque white background */
    justify-content: center;
    align-items: center;
    z-index: 10;
    display: none;
    border-radius: 8px;
}

.content-file .loading-content {
    width: 80%;
    text-align: center;
}

.content-file .loading-text {
    font-size: 18px;
    color: #4B5563;
    margin-bottom: 20px;
    font-weight: 500;
}

.content-file .progress-bar-container {
    width: 100%;
    height: 10px;
    background-color: #F3F4F6;
    border-radius: 5px;
    overflow: hidden;
}

.content-file .progress-bar {
    width: 0%;
    height: 100%;
    background-color: #3B82F6;
    border-radius: 5px;
    transition: width 0.3s ease;
}

body {
    background-color: #F8FAFC;
    padding-top: 80px;
    margin: 0;
}