/* styles.css */
body {
    font-family: Arial, sans-serif;
}

#header {
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 10px;
}

#main-container {
    display: flex;
    justify-content: space-between;
}

#left-panel {
    width: 15%;
    padding: 20px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#right-panel {
    flex-grow: 1;
    padding: 20px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    height: auto;
    transition: height 0.5s;
}

#down-panel {
    padding: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 10px;
    transition: height 0.5s;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.button {
    display: block;
    margin: 10px 0;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.button:hover {
    background-color: #555;
}

/* 媒体查询：在小屏幕上调整布局 */
@media (max-width: 768px) {
    #main-container {
        flex-direction: column;
    }

    #left-panel {
        width: 100%;
    }

    #right-panel {
        width: 100%;
    }
    #down-panel {
        width: 100%;
    }
}

/* 添加一个类来更改下方显示框的高度 */
.small-height {
    height: 10px !important;
}

/* 新样式 */
.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
}

.register-button {
    position: absolute;
    top: 10px;
    right: 10px;
}

h1 {
    color: #3498db;
    font-size: 36px;
}

label {
    color: #e74c3c;
}
/*--------------------------*/
.colorful-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.colorful-button:hover {
    background-color: #2980b9;
}
/* 在 styles.css 中添加以下样式规则 */
.user-data-container {
    display: flex;
    flex-direction: column;
}

.user-data-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.select-box {
    margin-right: 10px;
}

.label {
    margin-right: 10px;
}

.code {
    font-weight: bold;
    margin-right: 10px;
}

.time {
    font-style: italic;
}

