/* 自定义样式 */
body {
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

/* 调整header高度 */
.main-header {
    background-color: rgba(42, 130, 228, 1); /* 从#2196F3调整为更深的蓝色#0D47A1，符合原型图色系 */
    color: white;
    padding: 20px 0; /* 增加padding使header更高 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px; /* 增加左右内边距 */
}

.logo {
    font-size: 24px; /* 增大字体 */
    color: white;
    text-decoration: none;
    /*margin-right: auto; !* 让logo靠左 *!*/
    padding-left: 10px; /* 向左移动一点 */
}

.logo a {
    color: white; /* 确保文字可见 */
    text-decoration: none; /* 移除下划线 */
    display: inline-block; /* 更好的点击区域 */
}

.user-info {
    display: flex;
    align-items: center;
    margin-left: auto; /* 让用户信息靠右 */
    padding-right: 10px; /* 向右移动一点 */
}

.user-info a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    font-size: 16px; /* 调整字体大小 */
}

/* 语言下拉菜单样式 */
.language-dropdown {
    margin-right: 20px;
    position: relative;
}

.lang-btn {
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 16px;
}

.lang-btn:hover, .lang-btn:focus {
    outline: none;
}

.language-dropdown .dropdown-menu {
    min-width: 100px;
    padding: 5px 0;
    margin-top: 5px;
}

.language-dropdown .dropdown-item {
    display: block;
    padding: 5px 15px;
    clear: both;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

/* 导航菜单样式 - 根据原型图修改 */
.nav-menu {
    background-color: #ffffff; /* 修改为白色背景 */
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 0; /* 确保与header无间隙 */
}

.nav-menu .container {
    display: flex;
    padding: 0;
}

.nav-menu .nav-item {
    padding: 15px 25px; /* 增加水平间距 */
    transition: all 0.3s ease;
}

.nav-menu .nav-item.active {
    background-color: #f0f7ff; /* 选中状态的背景色 */
    border-bottom: 3px solid #2a82e4; /* 选中状态的底部边框 */
    font-size: 16px;
    display: inline-block;
    border-right: 1px solid #e0e0e0; /* 添加浅色分隔线 */
    transition: background-color 0.3s;
}

.nav-menu .nav-item.active {
    background-color: #f5f5f5; /* 浅灰色背景 */
    color: #2196F3; /* 蓝色文字 */
    font-weight: bold;
    border-bottom: 3px solid #2196F3; /* 添加蓝色底边 */
}

.nav-menu .nav-item:hover {
    background-color: #f5f5f5; /* 鼠标悬停效果 */
}

.nav-menu .nav-item a {
    text-decoration: none;
    color: #333333; /* 深灰色文字 */
    display: block;
}

.nav-menu .nav-item.active a {
    color: #2196F3; /* 活动项的文字颜色为蓝色 */
}

/* 内容区域样式 */
.content-container {
    padding: 20px 0;
}

.user-profile {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    margin-right: 15px;
    float: left;
    margin-top: -10px;
}

.profile-avatar img {
    width: 100%;
    border-radius: 50%;
}

.profile-info {
    overflow: hidden;
}

.profile-info .row {
    margin-bottom: 10px;
}

.edit-link {
    color: #2196F3;
    text-decoration: none;
    float: right;
}

.application-history {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.table-responsive {
    overflow-x: auto;
}

.pagination-container {
    text-align: center;
    margin-top: 20px;
}

.action-links a {
    margin-right: 10px;
    color: #2196F3;
}

/* 按钮文字颜色样式 */
.btn-xs.btn-info {
    color: #ffffff !important; /* 查看按钮文字颜色 */
}

.btn-xs.btn-primary {
    color: #ffffff !important; /* 编辑按钮文字颜色 */
}

.btn-xs.btn-danger {
    color: #ffffff !important; /* 删除按钮文字颜色 */
}

.btn-xs.btn-default {
    color: #333333 !important; /* 状态变更历史按钮文字颜色 */
}

.btn-xs.btn-success {
    color: #ffffff !important; /* 下载录取通知书按钮文字颜色 */
}


/* 站内信图标样式 */
.message-link {
    position: relative;
    display: inline-block;
}

.message-link .badge-danger {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff0000;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    padding: 3px 6px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}