/* Secret Management Styles */

/* ============================================
   SECRETS TABLE
   ============================================ */

.secrets-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.secrets-table thead th {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 12px 8px;
  text-align: left;
  border-bottom: 0.5px solid var(--color-border-tertiary);
}

.secrets-table thead th:last-child {
  text-align: right;
}

.secrets-table tbody tr {
  border-bottom: 0.5px solid var(--color-border-tertiary);
}

.secrets-table tbody tr:last-child {
  border-bottom: none;
}

.secrets-table tbody tr:hover {
  background: var(--color-background-secondary);
}

.secrets-table td {
  padding: 10px 12px;
  vertical-align: top;
}

/* ---- Name cell ---- */

.secrets-table .secret-name {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-primary);
  padding-top: 3px;
  display: block;
}

/* ---- Content cell ---- */

.content-dots {
  font-size: 12px;
  color: var(--color-text-tertiary);
  letter-spacing: 2px;
  font-family: var(--font-mono);
  padding-top: 3px;
  display: block;
}

.secret-revealed {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--color-text-primary);
  letter-spacing: normal;
  word-break: break-all;
}

/* ---- Actions cell ---- */

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  color: var(--color-text-tertiary);
  font-size: 14px;
  padding-top: 2px;
}

.actions a {
  color: var(--color-text-tertiary);
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}

.actions a:hover {
  color: var(--color-text-primary);
}

/* ---- Empty state ---- */

.secrets-empty {
  font-size: 13px;
  color: var(--color-text-tertiary);
  padding: 1.5rem 0;
  margin: 0;
}

.secrets-empty a {
  color: var(--color-text-primary);
}

.project-members__add-card {
  width: 100%;
  border: 0.5px solid var(--color-border-secondary);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.project-members__add-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0 0 1rem;
}

.project-members__add-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.project-members__field {
  flex: 1;
  min-width: 0;
}

.project-members__field--role {
  flex: 0 0 160px;
  max-width: 160px;
}

.project-members__field--button {
  display: flex;
  align-items: flex-end;
}

.project-members__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-tertiary);
  margin-bottom: 4px;
}

.project-members__add-card .form-select.form-select-sm,
.project-members__add-card select.form-select.form-select-sm {
  width: 100% !important;
  padding: 7px 10px;
  font-size: 13px;
  border: 0.5px solid var(--color-border-secondary);
  border-radius: 6px;
  background: var(--color-background-primary);
  color: var(--color-text-primary);
  box-sizing: border-box;
}

.project-members__add-card .btn-add-member {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
}

.project-members__add-card .btn-add-member:hover,
.project-members__add-card .btn-add-member:focus {
  background-color: #2b6eb5;
}

.secret-grant-access-card {
  border: 1px solid var(--color-border-tertiary);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.secret-grant-access-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.secret-grant-access-row,
.project-members__add-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.secret-grant-access-row .project-members__field,
.project-members__add-row .project-members__field {
  flex: 1;
  min-width: 0;
}

.secret-grant-access-row .project-members__field--role,
.project-members__add-row .project-members__field--role {
  max-width: 160px;
}

.secret-grant-access-row .project-members__field--button,
.project-members__add-row .project-members__field--button {
  display: flex;
  align-items: flex-end;
}

.project-members__add-card .project-members__label,
.secret-grant-access-card .project-members__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-tertiary);
  margin-bottom: 6px;
}

.project-members__add-card .form-select.form-select-sm,
.secret-grant-access-card .form-select.form-select-sm {
  width: 100%;
  padding: 7px 10px;
  font-size: 13px;
  border: 0.5px solid var(--color-border-secondary);
  border-radius: 6px;
  background: var(--color-background-primary);
  color: var(--color-text-primary);
}

.project-members__add-card .btn-add-member,
.secret-grant-access-card .btn-add-member {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
}

.project-members__add-card .project-members__select-button,
.secret-grant-access-card .project-members__select-button {
  width: 100% !important;
  height: 34px;
  padding: 0 12px;
  border: 0.5px solid var(--color-border-secondary);
  border-radius: 6px;
  background: var(--color-background-primary);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  box-sizing: border-box;
}

.project-members__add-card .project-members__select-button::after,
.secret-grant-access-card .project-members__select-button::after {
  margin-left: auto;
}

.project-members__add-card .dropdown,
.secret-grant-access-card .dropdown {
  display: block;
  width: 100%;
}

.project-members__add-card .dropdown-menu,
.secret-grant-access-card .dropdown-menu {
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.dropdown-item__title {
  font-weight: 500;
}

.dropdown-item__subtitle {
  font-size: 12px;
  color: var(--color-text-tertiary);
  line-height: 1.2;
}

.dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}

.dropdown-menu .dropdown-item--user {
  padding: 10px 14px;
}

.dropdown-menu .dropdown-item--user .project-member-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}

.dropdown-menu li:not(:last-child) .dropdown-item {
  border-bottom: 1px solid var(--color-border-secondary);
}

.dropdown-menu li:last-child .dropdown-item {
  border-bottom: none;
}

.project-members__add-card .btn-add-member:hover,
.project-members__add-card .btn-add-member:focus,
.secret-grant-access-card .btn-add-member:hover,
.secret-grant-access-card .btn-add-member:focus {
  background-color: #2b6eb5;
}

.section-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 1rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #212529;
}

.current-access-box {
  margin-bottom: 2.5rem;
  background-color: white;
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid #dee2e6;
}

.current-access-box h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #495057;
}

.access-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.access-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #007bff;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.user-name {
  font-weight: 600;
  color: #212529;
}

.user-name a {
  color: #007bff;
  text-decoration: none;
}

.user-name a:hover {
  text-decoration: underline;
}

.user-email {
  font-size: 0.9rem;
  color: #6c757d;
}

.access-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.role-badge {
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.role-badge.editor {
  background-color: #fff3cd;
  color: #856404;
}

.role-badge.viewer {
  background-color: #d1ecf1;
  color: #0c5460;
}

.role-form {
  display: inline-flex;
  align-items: center;
}

.role-select {
  padding: 0.35rem 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: white;
  font-size: 0.85rem;
}

.grant-access-box {
  background-color: white;
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  border-left: 4px solid #28a745;
}

.grant-access-box h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #495057;
}

.grant-access-card {
  background-color: white;
  padding: 1.25rem;
  border: 0.5px solid var(--color-border-tertiary);
  border-radius: 18px;
  margin-bottom: 1.25rem;
}

.grant-access-card__header {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.grant-access-form-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.grant-access-field {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.grant-access-field--role {
  max-width: 160px;
}

.grant-access-field--button {
  display: flex;
  align-items: flex-end;
}

.grant-access-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-tertiary);
  margin-bottom: 6px;
}

.grant-access-select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 0.5px solid var(--color-border-tertiary);
  border-radius: 12px;
  background: white;
  color: var(--color-text-primary);
  font-size: 13px;
}

.grant-access-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  background: #378ADD;
  color: white;
  border: none;
  border-radius: 12px;
  white-space: nowrap;
  cursor: pointer;
}

.grant-access-button:hover,
.grant-access-button:focus {
  background: #2f72c0;
}

.secret-access-table {
  width: 100%;
  border-collapse: collapse;
}

.secret-access-table thead th {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-tertiary);
  padding: 0 12px 8px;
  text-align: left;
  border-bottom: 0.5px solid var(--color-border-tertiary);
}

.secret-access-table tbody tr {
  border-bottom: 0.5px solid var(--color-border-tertiary);
}

.secret-access-table tbody tr:last-child {
  border-bottom: none;
}

.secret-access-table tbody tr:hover {
  background: var(--color-background-secondary);
}

.secret-access-table td {
  padding: 10px 12px;
  vertical-align: middle;
}

.secret-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.secret-user-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.secret-you-label {
  font-size: 11px;
  color: var(--color-text-tertiary);
}

.secret-creator-label {
  font-size: 11px;
  color: var(--color-text-tertiary);
  margin-top: 2px;
}

.role-pill-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.role-pill-select {
  display: inline-flex;
  align-items: center;
  min-width: 80px;
  height: 26px;
  padding: 0 30px 0 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  background-image: none;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 9px 9px;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
  line-height: 1.2;
}

.role-pill-select--editor {
  background-color: #FAEEDA;
  color: #854F0B;
}

.role-pill-select--viewer {
  background-color: #E6F1FB;
  color: #185FA5;
}

.role-pill-select::-ms-expand {
  display: none;
}

.role-pill-select:focus {
  outline: none;
}

.role-pill-select::placeholder {
  color: inherit;
}

.role-pill-caret {
  font-size: 9px;
  color: inherit;
  pointer-events: none;
}

.role-dropdown-select {
  display: none;
}

.access-actions-cell {
  text-align: right;
  width: 8%;
}

.secret-access-table td:nth-child(3) {
  width: 16%;
}

.access-remove-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--color-text-tertiary);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.access-remove-button:hover,
.access-remove-button:focus {
  color: #A32D2D;
  background: #FCEBEB;
}

.secret-access-email {
  color: var(--color-text-tertiary);
  font-size: 12px;
}

.secret-access-table thead th:last-child {
  text-align: right;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #495057;
}

.form-control {
  width: 100%;
  padding: 0.575rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1rem;
}

.form-control:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn {
  padding: 0.575rem 1rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

.btn-danger:hover {
  background-color: #c82333;
}

.btn-sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
}

.badge {
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-info {
  background-color: #17a2b8;
  color: white;
}

.badge-success {
  background-color: #28a745;
  color: white;
}

.modal-header .btn-close {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.text-muted {
  color: #6c757d;
}

/* Inline form styles */
.inline-form {
  display: inline;
}

.secret-access-form {
  display: inline;
}

/* Secret show page styles */
.secret-show-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.secret-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.secret-breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-tertiary);
  text-decoration: none;
}

.secret-breadcrumb-link:hover {
  color: var(--color-text-secondary);
}

.secret-breadcrumb-separator {
  font-size: 10px;
  opacity: 0.4;
}

.secret-breadcrumb-current {
  color: var(--color-text-secondary);
}

.secret-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.secret-header-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.secret-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #EEEDFE;
  color: #534AB7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-top: 2px;
}

h1.secret-name {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.secret-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.project-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--color-text-tertiary);
}

.project-label i {
  font-size: 12px;
}

.secret-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.secret-header-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.secret-edit-button {
  white-space: nowrap;
  padding: 6px 12px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  text-decoration: none;
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: rgba(0, 0, 0, 0.04);
}

.secret-tab-row {
  display: flex;
  gap: 0;
  border-bottom: 0.5px solid var(--color-border-tertiary);
  margin-bottom: 1.5rem;
}

.secret-tab-link {
  border: none;
  background: transparent;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--color-text-tertiary);
  font-weight: 400;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  margin-bottom: -0.5px;
}

.secret-tab-link:hover {
  color: var(--color-text-secondary);
}

.secret-tab-link.active {
  color: var(--color-text-primary);
  font-weight: 500;
  border-bottom-color: var(--color-text-primary);
}

.secret-card {
  border: 0.5px solid var(--color-border-tertiary);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.secret-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--color-background-secondary);
  border-bottom: 0.5px solid var(--color-border-tertiary);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text-tertiary);
}

.secret-card-actions {
  display: flex;
  gap: 10px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--color-text-tertiary);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.btn-icon:hover,
.btn-icon:focus {
  color: var(--color-text-primary);
  background: rgba(0, 0, 0, 0.04);
}

.secret-card-body {
  padding: 1rem 1rem 1.25rem;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-primary);
  font-family: var(--font-mono);
}

.secret-card-body pre {
  margin: 0;
  font-family: var(--font-mono);
  white-space: pre-wrap;
  word-break: break-word;
}

.secret-content-hidden {
  filter: blur(0.15rem);
}

.secret-notes-card .secret-card-body {
  font-family: inherit;
}

.secret-note-item {
  display: block;
}

.secret-note-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.secret-note-text {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.secret-note-actions {
  margin-top: 1rem;
}

.secret-note-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  font-size: 13px;
  color: var(--color-text-tertiary);
}

.secret-info-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--color-background-secondary);
  color: var(--color-text-secondary);
  font-size: 13px;
  margin-bottom: 1.25rem;
}

.secret-info-banner i {
  font-size: 15px;
  color: var(--color-text-tertiary);
}

.secret-access-heading {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.secret-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  color: var(--color-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
}

.avatar-circle.project-avatar--blue,
.avatar-circle.project-avatar--green,
.avatar-circle.project-avatar--purple,
.avatar-circle.project-avatar--amber {
  background: unset;
  color: unset;
}

.avatar-circle.project-avatar--blue {
  background-color: #E6F1FB;
  color: #185FA5;
}

.avatar-circle.project-avatar--green {
  background-color: #EAF3DE;
  color: #3B6D11;
}

.avatar-circle.project-avatar--purple {
  background-color: #EEEDFE;
  color: #534AB7;
}

.avatar-circle.project-avatar--amber {
  background-color: #FAEEDA;
  color: #854F0B;
}

.secret-access-email {
  color: var(--color-text-tertiary);
  font-size: 12px;
}

.secret-role-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.secret-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.secret-role-badge--editor {
  background: #FAEEDA;
  color: #854F0B;
}

.secret-role-badge--creator {
  background: #EAF3DE;
  color: #3B6D11;
}

.secret-role-badge--viewer {
  background: #E6F1FB;
  color: #185FA5;
}

.activity-list {
  display: flex;
  flex-direction: column;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--color-border-tertiary);
}

.activity-item--last {
  border-bottom: none;
}

.activity-icon {
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-top: 1px;
}

.activity-icon--create {
  background: #EAF3DE;
  color: #3B6D11;
}

.activity-icon--revoked {
  background: #FCEBEB;
  color: #A32D2D;
}

.activity-icon--edit {
  background: #FAEEDA;
  color: #854F0B;
}

.activity-icon--view {
  background: #E6F1FB;
  color: #185FA5;
}

.activity-body {
  flex: 1;
}

.activity-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-primary);
}

.activity-timestamp {
  margin-top: 3px;
  font-size: 11px;
  color: var(--color-text-tertiary);
}

.activity-diff {
  border: 0.5px solid var(--color-border-tertiary);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  margin-top: 8px;
}

.activity-diff-header {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-tertiary);
  padding: 5px 10px;
  border-bottom: 0.5px solid var(--color-border-tertiary);
  background: var(--color-bg-secondary);
}

.activity-diff-entry {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 10px;
  line-height: 1.5;
  word-break: break-all;
}

.activity-diff-entry--removed {
  background: #FCEBEB;
}

.activity-diff-entry--added {
  background: #EAF3DE;
}

.activity-diff-entry-symbol {
  flex-shrink: 0;
  width: 14px;
  font-size: 13px;
  font-weight: 500;
}

.activity-diff-entry--removed .activity-diff-entry-symbol {
  color: #A32D2D;
}

.activity-diff-entry--added .activity-diff-entry-symbol {
  color: #3B6D11;
}

.activity-diff-entry-value {
  flex: 1;
  white-space: pre-wrap;
}

.activity-diff-entry--removed .activity-diff-entry-value {
  color: #A32D2D;
  text-decoration: line-through;
}

.activity-diff-entry--added .activity-diff-entry-value {
  color: #3B6D11;
}

.secret-empty-state {
  padding: 1.5rem;
  color: var(--color-text-tertiary);
}

.danger-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid #FCEBEB;
  border-radius: 18px;
  background: #FFF7F7;
  padding: 1.25rem;
}

.danger-title {
  font-size: 13px;
  font-weight: 500;
  color: #A32D2D;
  margin-bottom: 4px;
}

.danger-description {
  font-size: 12px;
  color: var(--color-text-tertiary);
  line-height: 1.6;
}

.btn-danger-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #FCEBEB;
  background: #FCEBEB;
  color: #A32D2D;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-danger-outline:hover,
.btn-danger-outline:focus {
  background: #F8E5E5;
}
