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

.modal {
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 800px;
    height: 600px;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.modal-tail {
    padding: 24px;
    border-top: 1px solid #e5e5e5;
    flex-shrink: 0;
    background: white;
    padding-bottom: 0;
    padding-top: 12px;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 8px 0 8px 0; /* 上右下左 */
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    color: #333;
}

.modal-content {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.content-section {
    margin-bottom: 24px;
    margin-left: 16px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section-tail {
    margin: 0;
}

.section-text-tail {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.section-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.section-text {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 16px;
}

.section-text:last-child {
    margin-bottom: 0;
}

.links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.external-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

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

.logos-container {
    padding: 24px;
    display: flex;
    gap: 32px; /* 增加左右间距 */
    align-items: center;
    min-height: 140px;
    flex-shrink: 0;
    background: white;
    margin-left: -24px;
    padding-top: 12px; /* 增加顶部间距 */
    flex-wrap: nowrap; /* 防止换行 */
}

.left-image-placeholder {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap; /* 避免溢出时重叠 */
}

.left-image-placeholder img {
    max-height: 70px;  /* 控制最大高度 */
    max-width: 120px;  /* 限制宽度 */
    height: auto;
    object-fit: contain;
    flex: 1 1 auto; /* 自动伸缩但不强制拉伸 */
    flex-grow: 1;
}

.right-content {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.unosat-link {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
}

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

.social-buttons {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.social-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.social-button:hover {
  background-color: #e9ecef;
  transform: scale(1.1);
}

.social-button svg {
  width: 24px;
  height: 24px;
  fill: #555;
}

.hidden {
    display: none;
}
