.announcement-container {
  padding: 16px;

  .search-card {
    margin-bottom: 16px;

    .search-form {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: flex-end;
    }
  }

  .table-card {
    .table-toolbar {
      display: flex;
      gap: 8px;
      margin-bottom: 16px;
    }

    .file-list {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;

      .file-tag {
        cursor: pointer;

        &:hover {
          opacity: 0.8;
        }
      }
    }
  }

  .drawer-form {
    .rich-editor-wrapper {
      min-height: 300px;
      border: 1px solid #d9d9d9;
      border-radius: 4px;
    }
  }
}

// 暗色主题适配
.ant-layout-content[data-theme='dark'] {
  .announcement-container {
    .drawer-form {
      .rich-editor-wrapper {
        border-color: #434343;
      }
    }
  }
}
