/* 新增样式 */
.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 保留原有样式 */
.unregistered-alert {
    position: absolute;
    top: 20px;
    left: 20px; /* 从right改为left */
    background: #ff9800;
    color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    z-index: 1000;
    display: none;
}

.unregistered-alert.show {
    display: block;
}

.unregistered-alert .alert-content {
    position: relative;
    padding-right: 25px;
}

.unregistered-alert p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.unregistered-alert .close-alert {
    position: absolute;
    top: -10px;
    right: -10px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: #ff9800;
    font-size: 0.8rem;
}

/* 保留原有样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary: #1a73e8;
    --primary-light: #e3f2fd;
    --secondary: #0d47a1;
    --light: #ffffff;
    --light-gray: #f5f7fa;
    --gray: #5f6368;
    --dark-gray: #3c4043;
    --success: #4caf50;
    --warning: #ff9800;
    --danger: #f44336;
    --border: #dadce0;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    background: linear-gradient(135deg, #0c1a33, #1c3e6e);
    color: var(--dark-gray);
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    background-image: url('https://images.unsplash.com/photo-1586769852836-bc069f19e1b6?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: overlay;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 40px;
    position: relative;
}

header {
    text-align: center;
    padding: 20px 0 10px;
    margin-bottom: 15px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* 修改后的Logo样式 - 圆形无背景框 */
.logo-icon {
    border-radius: 50%; /* 改为圆形 */
    background: none; /* 移除背景色 */
    padding: 0; /* 移除内边距 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 84px;
    height: 84px;
    border: 2px solid rgba(255, 255, 255, 0.3); /* 添加轻微边框增强视觉效果 */
}

/* 调整Logo图片样式 */
.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 覆盖整个圆形区域 */
    border-radius: 0; /* 移除图片圆角 */
}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: var(--light);
}

.subtitle {
    color: #bbdefb;
    font-size: 0.9rem;
    margin-bottom: 15px;
}
/* 新增样式 - 用户操作按钮定位 */
.user-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column; /* 修改为垂直排列 */
    gap: 10px;
    z-index: 100;
}

/* 确保header有相对定位 */
header {
    text-align: center;
    padding: 20px 0 10px;
    margin-bottom: 15px;
    position: relative; /* 添加这一行 */
}
/* 公告栏样式 */
.announcement-bar {
    background: linear-gradient(90deg, #ff9800, #ff6d00);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    margin: 0 auto 20px;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.announcement-icon {
    font-size: 1.2rem;
    color: white;
}

.announcement-content {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
}

.announcement-content marquee {
    font-weight: 500;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    background: var(--light);
    border-radius: 12px;
    padding: 0;
    margin: 0 auto 20px;
    max-width: 600px;
    box-shadow: 0 4px 15px var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
}

.nav-tab {
    flex: 1;
    text-align: center;
    padding: 14px 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray);
    position: relative;
    border-right: 1px solid var(--border);
    min-width: 120px;
}

.nav-tab:last-child {
    border-right: none;
}

.nav-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.3);
}

.nav-tab:hover:not(.active) {
    background: var(--light-gray);
}

.nav-tab i {
    margin-right: 8px;
}

.card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.card-title i {
    font-size: 1.2rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1 1 calc(50% - 15px);
    min-width: 250px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-gray);
}

.required {
    color: var(--danger);
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--dark-gray);
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.time-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: var(--light-gray);
    border-radius: 10px;
    padding: 14px;
    margin-top: 5px;
    border: 1px solid var(--border);
}

.time-display span {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--dark-gray);
    flex: 1;
}

.btn {
    padding: 8px 15px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.btn-secondary {
    background: var(--light);
    color: var(--dark-gray);
    border: 1px solid var(--border);
}

.btn-success {
    background: var(--success);
    color: white;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.btn-danger {
    background: var(--danger);
    color: white;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

/* 刷新按钮样式 */
#refresh-time {
    padding: 1px 15px;
    font-size: 0.85rem;
}

.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-group .btn {
    flex: 1;
    padding: 14px 25px;
    border-radius: 50px;
    font-size: 1rem;
}

.log-list {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 20px;
}

.log-item {
    background: var(--light);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.log-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.log-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.callsign {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.log-time {
    font-size: 0.9rem;
    color: var(--gray);
}

.log-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.detail-item strong {
    color: var(--gray);
    display: block;
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
    background: var(--light-gray);
    border-radius: 12px;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #bbdefb;
}

.empty-state p {
    margin: 5px 0;
}

.contact-info {
    background: rgba(26, 115, 232, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    border-left: 4px solid var(--primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 115, 232, 0.1);
    border-radius: 50%;
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.contact-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.qr-code-box {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.qr-code-box h4 {
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.qr-code {
    width: 180px;
    height: 180px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    margin: 0 auto;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 覆盖整个圆形区域 */
    border-radius: 8px;
}

.qr-code-box p {
    margin-top: 10px;
    color: var(--gray);
    font-size: 0.9rem;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    background: var(--success);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(200%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: var(--danger);
    color: white;
}

footer {
    text-align: center;
    padding: 30px 0 0;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    margin-top: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .logo-icon {
    width: 50px;
    height: 50px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 20px;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--light);
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.modal-buttons .btn {
    flex: 1;
}

/* 使用说明样式 */
.usage-instructions {
    background: rgba(26, 115, 232, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid var(--primary);
}

.usage-instructions h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(26, 115, 232, 0.3);
    padding-bottom: 10px;
}

.usage-instructions ul, .usage-instructions ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.usage-instructions li {
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.usage-instructions li:before {
    content: none;
}

.data-validation {
    background: rgba(76, 175, 80, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid var(--success);
}

.data-validation h3 {
    color: var(--success);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(76, 175, 80, 0.3);
    padding-bottom: 10px;
}

.info-icon {
    color: var(--primary);
    margin-right: 8px;
}

.policy-content {
    padding: 15px;
    background: rgba(26, 115, 232, 0.05);
    border-radius: 10px;
    margin: 15px 0;
}

.policy-content h4 {
    color: var(--primary);
    margin: 15px 0 10px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 5px;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.about-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.about-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.about-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.terms-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.terms-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.terms-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.help-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.help-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.help-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.help-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 新增样式 */
.about-features {
    list-style-type: none;
    padding-left: 0;
}

.about-features li {
    padding-left: 0;
    margin-bottom: 10px;
}

.about-features li:before {
    content: none;
}

.red-link {
    color: red;
    text-decoration: none;
}

.red-link:hover {
    text-decoration: underline;
}

/* 新增：确认调用按钮样式 */
.chinese-option {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.chinese-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
}

.chinese-btn.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.chinese-btn:hover {
    background: #e9e9e9;
}

.chinese-btn.selected:hover {
    background: #0d47a1;
}

/* 调整日期选择框大小 */
.datetime-group {
    flex: 1 1 calc(50% - 15px);
    min-width: 250px;
}

/* 查询按钮样式 */
#fetch-logs-btn {
    margin-top: 10px;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--light);
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    max-height: 90vh;
    overflow-y: auto;
}

/* 新增帮助按钮样式 */
.help-btn-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.help-btn-container .btn {
    flex: 1;
}

/* 新增控制器详情样式 */
.controller-details {
    margin: 15px 0;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.controller-details h3 {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.detail-grid > div {
    display: flex;
    gap: 5px;
}

.detail-grid strong {
    font-weight: 600;
    color: var(--dark-gray);
}

/* 协同记录弹窗样式 */
#collaboration-modal .modal-content {
    max-width: 600px;
}

.success-msg {
    background: #4CAF50;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}

.controller-info {
    background: #e3f2fd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #2196F3;
}

.controller-info h4 {
    margin-bottom: 10px;
    color: #0d47a1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.collab-buttons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.collab-buttons .btn {
    flex: 1;
    padding: 12px;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.recent-log {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #eee;
}

.recent-log h4 {
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

#recent-log-item {
    margin: 0;
    border-left: 4px solid #FF9800;
}

/* 禁用按钮样式 */
.disabled {
    background-color: #9e9e9e !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .nav-tab {
        padding: 12px 5px;
        font-size: 0.85rem;
        min-width: auto;
    }
    
    .nav-tab i {
        display: block;
        margin: 0 auto 5px;
        font-size: 1.1rem;
    }
    
    .qr-code-container {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content, .terms-content, .help-content {
        padding: 15px;
    }
    
    .user-actions {
        position: static;
        margin-top: 15px;
        justify-content: center;
        flex-direction: row;
    }
}
/* 新增样式 */
.datetime-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.datetime-option {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 调整日期选择框大小 */
.datetime-group {
    flex: 1 1 calc(50% - 15px);
    min-width: 250px;
}

/* 查询按钮样式 */
#fetch-logs-btn {
    margin-top: 10px;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--light);
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    max-height: 90vh;
    overflow-y: auto;
}
/* ============= 协同记录相关样式 ============= */
.cooperation-status-bar {
    background-color: #4caf50;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
}

.cooperation-status-bar i {
    margin-right: 10px;
    font-size: 1.2em;
}

.status-content {
    flex: 1;
}

/* 协同记录弹窗 */
.cooperation-details {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.latest-log {
    margin-top: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.cooperation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* 按钮高亮效果 */
.btn.highlight {
    animation: highlight 2s ease;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.8);
}

@keyframes highlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .cooperation-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
}
/* 最新记录框 */
.latest-log-box {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 1px solid #e0e0e0;
}

.latest-log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.latest-log-header h4 {
    margin: 0;
    color: #1a73e8;
    font-size: 1.1rem;
}

.latest-log-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.log-detail-item {
    display: flex;
    flex-direction: column;
}

.log-detail-label {
    font-size: 0.85rem;
    color: #5f6368;
    margin-bottom: 3px;
}

.log-detail-value {
    font-weight: 500;
    color: #3c4043;
}

/* 编辑模式 */
[contenteditable="true"] {
    background-color: #f9f9f9;
    border: 1px dashed #1a73e8;
    padding: 5px;
    border-radius: 4px;
}

/* 协同状态栏 */
.cooperation-status-bar {
    background: linear-gradient(135deg, #4a90e2, #5b6ce1);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.status-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.btn-finish {
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-finish:hover {
    background: #ff5252;
    transform: translateY(-2px);
}
/* 通讯模式选项样式 */
.mode-options label {
    transition: all 0.3s;
    cursor: pointer;
}

.mode-options label:hover {
    background-color: #f0f0f0;
}

.mode-options input[type="radio"]:checked + span {
    font-weight: bold;
    color: var(--primary);
}

/* 功率单位选项样式 */
.power-unit-options {
    display: flex;
    gap: 5px;
}

.power-unit-options label {
    flex: 1;
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.power-unit-options label:hover {
    background-color: #f5f5f5;
}

.power-unit-options input[type="radio"]:checked + span {
    font-weight: bold;
    color: var(--primary);
}