/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    overflow-x: hidden;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
    padding-top: 0;
    margin-top: 0;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 54px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
    z-index: 10;
}

.header-back {
    position: absolute;
    left: 15px;
    font-size: 22px;
    color: #333;
    cursor: pointer;
}

.header-title {
    font-size: 18px;
    font-weight: normal;
    color: #333;
}

.header-more {
    position: absolute;
    right: 15px;
    font-size: 24px;
    color: #333;
}

/* 导航栏 */
.nav-bar {
    width: 100%;
    background: #16a085;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-dot {
    display: block;
    height: 24.69px;
    width: 1.25px;
    background: #E8EAED;
    margin: 0 8.52px;
}

.logo img {
    height: 28px;
    margin-right: 10px;
}

.logo-text {
    font-size: 17.2774px;
    color: #60656E;
    margin-bottom: -0.0534rem;
}

.avatar {
    position: absolute;
    right: 15px;
    top: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

/* 导航标签 */
.nav-tabs {
    background-color: #16a085;
    color: white;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 10px;
    -webkit-overflow-scrolling: touch;
}

.nav-tab {
    padding: 10px;
    font-size: 12px;
}

.tabs {
    display: flex;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    padding: 12px 18px;
    color: #333;
    font-size: 14px;
    position: relative;
}

.tab.active {
    color: #16a085;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background-color: #16a085;
}

/* 专业标签 */
.major-tag {
    margin: 10px;
    padding: 8px 12px;
    background: #16a085;
    color: white;
    font-size: 13px;
    border-radius: 4px;
    display: inline-block;
}

/* 报告列表 */
.report-list {
    margin: 0 10px;
    background: white;
    border-radius: 4px;
}

.report-item {
    padding: 15px;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    color: #333;
}

.report-table th {
    font-weight: normal;
    color: #666;
    text-align: left;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}

.report-table td {
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}

.report-table tr:last-child td {
    border-bottom: none;
}

.action-btn {
    color: #16a085;
    text-decoration: none;
}

.delete-btn {
    color: #e74c3c;
    text-decoration: none;
    margin-left: 10px;
}

/* 页脚 */
.footer {
    margin-top: 20px;
    padding: 10px;
    background-color: #fff;
    color: #999;
    font-size: 12px;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-dark {
    background-color: #333;
    color: #999;
    padding: 15px;
    text-align: center;
    font-size: 12px;
/*    margin-top: 20px;*/
}

/* 弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 30% auto;
    padding: 20px;
    width: 80%;
    border-radius: 6px;
}

.modal-title {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    background-color: #16a085;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.btn-cancel {
    background-color: #ccc;
    margin-right: 10px;
}

/* 学籍报告页面样式 */
.navbar {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: white;
    border-bottom: 1px solid #eee;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.ch-icon {
    position: relative;
    font: normal normal normal 14px / 1 'ch-icon';
    font-size: inherit;
    text-rendering: auto;
    font-size: 0.533rem;
    -webkit-font-smoothing: antialiased;
}

.ch-icon-wap-nav {
    position: relative;
    font: normal normal normal 14px / 1 'ch-icon';
    font-size: inherit;
    text-rendering: auto;
    font-size: 0.533rem;
    -webkit-font-smoothing: antialiased;
}

.menu-icon {
    color: #333;
    font-size: 25px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    text-align: center;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 28px;
    margin-right: 10px;
}

.logo-dot {
    display: block;
    height: 24.69px;
    width: 1.25px;
    background: #E8EAED;
    margin: 0 8.52px;
}

.logo-text {
    font-size: 17.2774px;
    color: #60656E;
    margin-bottom: -0.0534rem;
}

.language-switch {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: white;
    margin-bottom: 0;
    margin-top: 0;
    border-bottom: none;
}

.lang-div {
    -ms-flex: 1;
    flex: 1;
    -ms-flex-align: center;
    font-size: 14.8224px;
}

.language-btn {
    padding: 7.4112px 9.86616px;
    border-radius: 4px;
    font-size: 14.8224px;
    display: inline-block;
    cursor: pointer;
}

.language-btn.active {
    color: #00bac7;
    background: #eff8f9;
    border-radius: .053rem;
    margin: 0px 2.45496px 0px 12.3674px;
}

.language-btn.inactive {
    /* background-color: #f5f5f5; */
    color: #889098;
}

.download-btn {
    color: #00a0e9;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.download-icon {
    width: 16.6px;
    height: 19.77px;
    margin-right: 5px;
}

.pdf-div {
    width: 16.6px;
    height: 19.77px;
    background: url(../images/download-icon.svg) no-repeat 50%;
    background-size: 100%;
}

.edit-mode-banner {
    display: none;
    background-color: #e3f9fd;
    color: #00a0e9;
    text-align: center;
    padding: 10px;
    margin-bottom: 0;
    margin-top: 0;
}

.edit-mode-banner.active {
    display: block;
}

.report-container {
    background-color: white;
    padding: 15px 15px 30px;
    margin: 0;
    border-radius: 0;
}

.res-wrap .res-h3 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 25px;
}

.report-title {
    text-align: center;
    font-size: 20.983px;
    font-weight: normal;
    margin: 15px 0;
}

.photo-container {
    display: flex;
    justify-content: center;
    margin: 20px 0 30px;
}

.photo {
    width: 96px;
    height: 136px;
    object-fit: cover;
/*    border: 1px solid #ddd;*/
    cursor: pointer;
}

.file-upload {
    display: none;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
    padding: 0 15px;
}

.info-row {
    display: flex;
    margin-bottom: 12px;
}

.info-row.rowcard {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 15px;
}

/* 学籍状态那行特殊处理 */
.info-row.status-row {
    min-height: 40px;
}

.info-row.status-row .info-label {
    padding-top: 0px;
}

.info-label {
    width: 95.21px;
    height: 24.69px;
    font-size: 15.5774px;
    padding: 0;
    text-align: right;
    color: #889098;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.info-value {
    flex: 1;
    padding: 0 0 0 20px;
    color: #2A3839;
    font-size: 15.5774px;
    display: flex;
    align-items: center;
    min-height: 24.69px;
    height: auto;
    overflow: visible;
    word-break: break-word;
}

/* 学籍状态特殊样式 */
#status {
    line-height: 1.5;
    width: auto;
}

/* 编辑模式样式 */
.editable:focus {
    background-color: #fff8e1;
    outline: none;
    border: 1px dashed #ffc107;
    border-radius: 2px;
    padding: 2px;
} 