:root {
  --text-color: #333;

  --text-secondary: #777;

  --card-bg-color: #fff;

  --border-color: #ddd;

  --code-bg-color: #f8f9fa;

  --input-bg-color: #fff;

  --primary-color: #007bff;

  --primary-hover-color: #0056b3;

  --primary-color-rgb: 0, 123, 255;

  --success-color: #28a745;

  --success-hover-color: #218838;

  --danger-color: #b20000;

  --warning-color: #ffc107;

  --error-color: #b20000;

  --link-color: #007bff;

  --header-bg-color: #e9ecef;

  --header-text-color: #333;

  --row-alt-bg-color: #f2f2f2;

}


body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;

  margin: 0;
  padding: 0;
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;

}


::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}


::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}


::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}





.pfic-container {
  width: 100%;
  min-width: 960px;

  max-width: 1320px;

  min-height: 100vh;

  margin: 0 auto;

  padding: 5px;
  box-sizing: border-box;
  overflow: hidden;

  color: var(--text-color);
}


.pfic-title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  margin: 0;
  color: var(--text-color);
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pfic-text-accent {
  color: #2563eb;
  /* Royal Blue 600 - Matches docs var(--color-accent) */
}

.pfic-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-right: 8px;
  display: block;
}


.pfic-subtitle {
  font-size: 0.95em;
  color: var(--text-secondary);
  font-weight: normal;
  margin: 0;
}


@media (max-width: 1100px) {
  .pfic-subtitle {
    display: none;
  }
}



.pfic-main-content {
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(520px, 1.1fr);

  gap: 20px;
  height: calc(100vh - 60px);

  overflow: hidden;

}


.pfic-middle-column {
  flex: 0 0 48%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-right: 5px;
  box-sizing: border-box;
  overflow: hidden;
}



.pfic-right-column {
  flex: 0 0 52%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
  overflow-y: auto;

  overflow-x: hidden;
  padding-right: 5px;
  box-sizing: border-box;
}



.pfic-section {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
  border: 1px solid rgba(0, 0, 0, .05);
  margin-bottom: 5px;
}


.pfic-section-title {
  font-size: 17px;
  margin: 0 0 10px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  color: #333;
  font-weight: 600;
  letter-spacing: .3px;
}



.pfic-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #3080d0;
  margin-bottom: 8px;
  letter-spacing: .2px;
}



.pfic-date-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  width: 100%;
}

.pfic-date-container:not(:last-child) {
  margin-bottom: 18px;
}


.pfic-date-container .pfic-config-row {
  flex: 1;
  margin-bottom: 0;
  min-width: 0;
  max-width: calc(50% - 10px);
}


.pfic-date-container.pfic-three-cols {
  display: flex;
  gap: 5px;
  width: 100%;
}

.pfic-date-container.pfic-three-cols .pfic-config-row {
  width: calc((100% - 10px) / 3);
  display: flex;
  flex-direction: column;
}

.pfic-date-container.pfic-three-cols .pfic-input,
.pfic-date-container.pfic-three-cols .pfic-select {
  width: 100%;
  box-sizing: border-box;
}


input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  appearance: textfield;
  -moz-appearance: textfield;
}



.pfic-select {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
  transition: all .2s;
  box-sizing: border-box;
}

.pfic-select:hover {
  border-color: #b3d7ff;
}


.pfic-input {
  width: 100%;
  height: 44px;
  max-width: 100%;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
  transition: all .2s;
  box-sizing: border-box;
  min-height: 44px;
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  /* Prevent grid blowout */
}

.pfic-input:hover {
  border-color: #b3d7ff;
}


.pfic-input:focus,
.pfic-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(var(--primary-color-rgb), .4);
}

.pfic-input:disabled {
  background: #f3f3f3;
  color: #888;
  border-color: #ccc;
  cursor: not-allowed;
}



.pfic-file-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  flex-direction: row;
  justify-content: flex-start;
  border: 2px dashed #b20000;
  border-radius: 6px;
  background: #fffafa;
  /* Very light red tint */
  padding: 12px;
}

.pfic-file-input-wrapper:hover {
  border-color: var(--primary-color);
  background: #f0f7ff;
}


.pfic-file-input {
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
}


.pfic-file-input-wrapper.is-dragover {
  border-color: var(--primary-color);
  background: #f0f7ff;
}


#pficFileName {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  max-width: 180px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, .05);
  border-radius: 4px;
  border: 1px solid #ddd;
}


.pfic-file-hint {
  font-size: 13px;
  margin: 12px 0 15px;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(255, 193, 7, .1);

  border-left: 3px solid var(--warning-color);
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.pfic-action-section {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}


.pfic-button {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all .2s;
  letter-spacing: .3px;
}


.pfic-calculate-button {
  background: #4caf50;
  color: #fff;
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .1);
  letter-spacing: .5px;
}

.pfic-calculate-button:hover:not(:disabled) {
  background: #3d9140;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, .15);
}

.pfic-calculate-button:disabled {
  background: #bfbfbf;
  box-shadow: none;
  opacity: 0.65;
  cursor: not-allowed;
}



.pfic-results-area {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}


.pfic-results-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
}


.pfic-view {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}


#pficMappingView {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}


.pfic-category-mapping {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}


.pfic-mapping-header {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pfic-mapping-title {
  margin: 0;
  font-size: 16px;
}


.pfic-tips-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
}

.pfic-tips-btn:hover {
  background: var(--primary-hover-color);
  transform: translateY(-1px);
}



.pfic-header-tips {
  margin-bottom: 18px;
  padding: 12px 15px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.5;


  display: none;
  opacity: 0;
  transition: opacity .25s ease;
}


.pfic-header-tips.active {
  display: block;
  opacity: 1;
}

.pfic-header-tip-list {
  margin-top: 8px;
  padding-left: 25px;
}

.pfic-tip-warning {
  color: #b20000;
}


.pfic-category-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 5px 10px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.pfic-category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f8f9fa;
  border: 1px solid #eee;
  transition: all .2s;
}


.pfic-category-item:hover {
  background: #f0f7ff;
  border-color: #d0e1fd;
}

.pfic-category-item:nth-child(even) {
  background: #f8f9fa;
}

.pfic-category-item:nth-child(odd) {
  background: #fff;
}


.pfic-category-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 12px;
  font-weight: 500;
}



.pfic-category-item .pfic-category-select {
  width: 200px;
  max-width: 200px;
  min-width: 140px;
  padding: 9px 28px 9px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  color: #333;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-left: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.pfic-category-select:hover {
  border-color: #b3d7ff;
}

.pfic-category-select option {
  background: #fff;
  color: #333;
  padding: 8px;
}

.pfic-category-select option[value=""] {
  color: var(--danger-color);
  font-weight: 500;
}


.pfic-category-select:invalid {
  border-color: var(--danger-color);
  background: rgba(220, 53, 69, .05);
}





#pficResultsView {
  display: flex;
  flex-direction: column;
  height: 100%;
}


#pficLogContent {
  height: calc(100% - 15px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #ddd;
}


.pfic-download-section {
  flex-shrink: 0;
  margin-top: 10px;
  padding: 10px 0 0;
  border-top: 1px solid #ddd;
  text-align: center;
}


.pfic-download-button {
  background: var(--success-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
  letter-spacing: .3px;
}

.pfic-download-button:hover {
  background: var(--success-hover-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, .15);
}


.pfic-section .pfic-template-link {
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(0, 123, 255, 0.1);
  transition: all 0.2s;
  display: inline-block;
}

.pfic-section .pfic-template-link:hover {
  background: rgba(0, 123, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.pfic-disclaimer-box {
  background: #f8f9fa;
  padding: 5px 15px 5px 15px;
  border-radius: 6px;
  border: 1px solid #e2e6ea;
  margin-bottom: 5px;
  font-size: .95rem;
}

.pfic-disclaimer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.pfic-disclaimer-body p {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #444;
}

.pfic-disclaimer-note {
  font-style: italic;
  color: #666;
  font-size: .92em;
}



.clean-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ddd;
}


.hide {
  display: none;
}


.pfic-placeholder-text {
  color: #777;
  font-style: italic;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
}







.pfic-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px 22px;

  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: start;
}


.pfic-field {
  display: flex;
  flex-direction: column;
  min-width: 0;

  box-sizing: border-box;
}


.pfic-field .pfic-label {
  margin-bottom: 6px;
  font-weight: 700;
  color: #3080d0;
  white-space: nowrap;
}

/* 优雅的解法：使用组合选择器提高权重，干掉 !important */
.pfic-label.pfic-required {
  color: #b20000;
  font-weight: bold;
}


.pfic-field .pfic-input,
.pfic-field .pfic-select {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}


.pfic-tooltip {
  position: absolute;
  z-index: 9999;
  max-width: 280px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.35;
  color: #fff;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s ease;


  background: rgba(0, 0, 0, 0.75);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}


.pfic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 0 0 8px 0;

  margin-bottom: 8px;

  line-height: 1.2;

}

.pfic-header-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.pfic-title-wrapper {
  display: flex;
  align-items: baseline;
  gap: 12px;
}



.pfic-header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pfic-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  /* 与 Footer 保持一致的文字灰色 */
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  position: relative;
  padding: 2px 0;
  transition: color 0.2s ease;
}

/* 放大图标 (覆盖文字+下划线高度) */
.pfic-tab::before {
  content: "";
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z' /%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: filter 0.2s ease;
}

/* 下划线 (避开图标，仅在文字下方) */
.pfic-tab::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 28px;
  /* 图标(22px) + 间距(6px) */
  width: calc(100% - 28px);
  height: 1px;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.pfic-tab:hover {
  color: #3080d0;
}

.pfic-tab:hover::after {
  background-color: #3080d0;
}

.pfic-tab:hover::before {
  filter: brightness(0) saturate(100%) invert(42%) sepia(51%) saturate(735%) hue-rotate(174deg) brightness(91%) contrast(92%);
}

/* Footer Links Hover */
.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #3080d0;
}

.pfic-header-nav a.active,
nav.top-nav a.active {
  background: #004b80;
  color: #fff;
  border-color: #004b80;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pfic-tag-nav {
  margin-top: 20px;
  padding-top: 5px;
  border-top: 1px solid #eee;
  font-size: 12px;
  line-height: 1.8;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.pfic-tag-nav a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.pfic-tag-nav a:hover {
  color: #3080d0;
}

.pfic-tag-nav .separator {
  color: #ddd;
}

/* Feature Grid & Minimal SaaS UI */
.pfic-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 15px 0 10px 0;
}

.feature-item {
  padding: 12px;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  background: #fcfdfe;
  transition: border-color 0.2s;
}

.feature-item:hover {
  border-color: #d0e0ff;
}

.feature-item strong {
  display: block;
  font-size: 0.95em;
  color: #004b80;
  margin-bottom: 4px;
}

.feature-item p {
  margin: 0;
  font-size: 0.88em;
  color: #666;
  line-height: 1.4;
}

.pfic-how-it-works-minimal {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.pfic-how-it-works-minimal h3 {
  margin: 0 0 10px 0;
  font-size: 1.05em;
  color: #333;
}

.pfic-how-it-works-minimal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pfic-how-it-works-minimal li {
  font-size: 0.92em;
  color: #555;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pfic-how-it-works-minimal li strong {
  color: #3080d0;
  min-width: 55px;
}

.pfic-footer-box {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px dashed #e0e0e0;
  font-size: 0.82em;
  color: #666;
  text-align: left;
}

.pfic-footer-box p {
  margin: 0 0 4px 0;
}

.pfic-footer-box strong {
  color: #777;
}

.pfic-tech-ref {
  margin-top: 15px;
  font-size: 0.88em;
  color: #777;
  background: #fdfdfd;
  padding: 6px 10px;
  border: 1px solid #eee;
  border-radius: 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 5px;
}

.pfic-tech-ref a {
  color: #2563eb;
  text-decoration: none;
}

.pfic-tech-ref a.error-link {
  color: #b20000;
  font-weight: 500;
}

.pfic-tech-ref .separator {
  color: #777;
}

@media (max-width: 1100px) {

  html,
  body {
    overflow-x: auto;
  }

  .pfic-container {
    min-width: 0;
    width: 100%;
    overflow-x: visible;
  }

  .pfic-main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    height: auto;
    overflow: visible;
  }

  .pfic-header {
    padding-left: 15px;
    padding-right: 15px;
  }

  .pfic-header-nav {
    margin-left: auto;
  }

  .pfic-tab {
    font-size: 0;
    gap: 0;
  }

  .pfic-tab::before {
    margin-right: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%232563eb'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z' /%3E%3C/svg%3E");
  }

  .pfic-tab::after {
    display: none;
  }

  .pfic-form-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .pfic-tag-nav {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .pfic-tag-nav .separator {
    display: none;
  }

  .pfic-tech-ref {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px;
  }

  .pfic-tech-ref .separator {
    display: none;
  }
}

/* ============================================================= */
/* Toast Notifications (Option 2 - High End) */
/* ============================================================= */
#pfic-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.pfic-toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 500px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fffafa;
  /* Light red background */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 2px dashed #b20000;
  /* Red dashed border */
  display: flex;
  align-items: center;
  gap: 10px;
  animation: pfic-toast-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pfic-toast.removing {
  animation: pfic-toast-out 0.3s ease forwards;
}

@keyframes pfic-toast-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pfic-toast-out {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

.pfic-toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pfic-toast-content {
  flex: 1;
  font-size: 14px;
  color: #333;
  display: block;
  min-width: 0;
}

.pfic-toast-title {
  display: none;
  /* Removed as requested */
}

.pfic-toast-msg {
  white-space: nowrap;
}

/* Specific overrides to keep it simple */
.pfic-toast-error {
  border-color: #b20000;
  background: #fffafa;
}

.pfic-toast-success {
  border-color: #28a745;
  background: #f8fff9;
  border-style: solid;
}