/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    overflow: hidden;
    background-color: #f5f5f5;
}

/* 主容器样式 */
.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 顶部框架样式 */
.top-frame {
    width: 100%;
    height: 80px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 下方容器样式 */
.bottom-container {
    flex: 1;
    display: flex;
    width: 100%;
}

/* 左侧框架样式 */
.left-frame {
    width: 20%;
    background-color: #fff;
    border-right: 1px solid #e0e0e0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
}

.left-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 主内容框架样式 */
.main-frame {
    flex: 1;
    background-color: #fff;
}

.main-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* iframe内部页面通用样式 */
.page-container {
    padding: 15px;
    color: #333;
}

.header {
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    color: #333;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.header h1 {
    font-size: 24px;
    font-weight: normal;
}

/* 导航菜单样式 */
.nav-menu {
    list-style: none;
}

.nav-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.nav-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    background-color: #f5f5f5;
    color: #0078d7;
    padding-left: 20px;
}

.nav-menu a.active {
    background-color: #e6f7ff;
    color: #0078d7;
    border-left: 3px solid #0078d7;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.btn:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.btn-primary {
    background-color: #0078d7;
    color: white;
    border-color: #0078d7;
}

.btn-primary:hover {
    background-color: #006cc1;
    border-color: #006cc1;
}

/* 表格样式 */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th, .table td {
    padding: 10px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.table th {
    background-color: #f9f9f9;
    font-weight: bold;
}

.table tr:hover {
    background-color: #f5f5f5;
}

/* 卡片样式 */
.card {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    background-color: #f9f9f9;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    font-weight: bold;
}

.card-body {
    padding: 15px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.form-control:focus {
    border-color: #0078d7;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 120, 215, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .bottom-container {
        flex-direction: column;
    }
    
    .left-frame {
        width: 100%;
        height: auto;
        max-height: 200px;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
} 