.toast-title {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  margin-bottom: 4px;
}

.toast-message {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.toast-message a,
.toast-message label {
  color: #007bff;
  text-decoration: underline;
}

.toast-message a:hover {
  color: #0056b3;
  text-decoration: none;
}

.toast-close-button {
  position: relative;
  right: -0.3em;
  top: -0.3em;
  float: right;
  font-size: 20px;
  font-weight: bold;
  color: #999;
  -webkit-text-shadow: none;
  text-shadow: none;
  opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
  line-height: 1;
}

.toast-close-button:hover,
.toast-close-button:focus {
  color: #333;
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
}

.rtl .toast-close-button {
  left: -0.3em;
  float: left;
  right: 0.3em;
}

/*Additional properties for button version
 iOS requires the button element instead of an anchor tag.
 If you want the anchor version, it requires `href="#"`.*/
button.toast-close-button {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}

.toast-top-center {
  top: 0;
  right: 0;
  width: 100%;
}

.toast-bottom-center {
  bottom: 0;
  right: 0;
  width: 100%;
}

.toast-top-full-width {
  top: 0;
  right: 0;
  width: 100%;
}

.toast-bottom-full-width {
  bottom: 0;
  right: 0;
  width: 100%;
}

.toast-top-left {
  top: 12px;
  left: 12px;
}

.toast-top-right {
  top: 12px;
  right: 12px;
}

.toast-bottom-right {
  right: 12px;
  bottom: 12px;
}

.toast-bottom-left {
  bottom: 12px;
  left: 12px;
}

#toast-container {
  position: fixed;
  z-index: 999999;
  pointer-events: none;
  /*overrides*/
}

#toast-container * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#toast-container>div {
  position: relative;
  pointer-events: auto;
  overflow: hidden;
  margin: 0 0 8px;
  padding: 16px 20px 16px 70px;
  width: 320px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  background-position: 16px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  -moz-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
}

#toast-container>div.rtl {
  direction: rtl;
  padding: 16px 70px 16px 20px;
  background-position: right 16px center;
}

#toast-container>div:hover {
  -moz-box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
  cursor: pointer;
}

#toast-container>.toast-info {
  background-color: #fff;
}

#toast-container>.toast-info::before {
  content: '\f05a';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50px;
  background-color: #17a2b8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 8px 0 0 8px;
}

#toast-container>.toast-error {
  background-color: #fff;
}

#toast-container>.toast-error::before {
  content: '\f06a';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50px;
  background-color: #dc3545;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 8px 0 0 8px;
}

#toast-container>.toast-success {
  background-color: #fff;
}

#toast-container>.toast-success::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50px;
  background-color: #28a745;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 8px 0 0 8px;
}

#toast-container>.toast-warning {
  background-color: #fff;
}

#toast-container>.toast-warning::before {
  content: '\f071';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50px;
  background-color: #ffc107;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 8px 0 0 8px;
}

#toast-container.toast-top-center>div,
#toast-container.toast-bottom-center>div {
  width: 320px;
  margin-left: auto;
  margin-right: auto;
}

#toast-container.toast-top-full-width>div,
#toast-container.toast-bottom-full-width>div {
  width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.toast {
  background-color: #fff;
}

.toast-success {
  background-color: #fff;
}

.toast-error {
  background-color: #fff;
}

.toast-info {
  background-color: #fff;
}

.toast-warning {
  background-color: #fff;
}

.toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background-color: #007bff;
  opacity: 0.6;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
  filter: alpha(opacity=60);
}

/* ===========================
   Confirm Modal Styles
   =========================== */

/* Backdrop */
.toastr-confirm-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 999998;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: toastrBackdropFadeIn 0.25s ease-out;
}

/* Modal Container */
.toastr-confirm-modal {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 28px;
  min-width: 340px;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 999999;
  animation: toastrConfirmFadeIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

/* Icon Container - 상단에 아이콘 표시 */
.toastr-confirm-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.toastr-confirm-icon::before {
  content: '\f059';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
  font-weight: 900;
}

/* Title */
.toastr-confirm-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a202c;
  text-align: center;
  line-height: 1.4;
}

/* Message */
.toastr-confirm-message {
  font-size: 15px;
  margin-bottom: 24px;
  color: #4a5568;
  line-height: 1.6;
  text-align: center;
}

/* Button Container */
.toastr-confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* Buttons */
.toastr-confirm-buttons button {
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
  min-width: 100px;
  font-family: inherit;
}

.toastr-confirm-buttons button:focus {
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

/* Cancel Button */
.toastr-confirm-buttons .toastr-btn-cancel {
  background-color: #f7fafc;
  color: #4a5568;
  border: 2px solid #e2e8f0;
}

.toastr-confirm-buttons .toastr-btn-cancel:hover {
  background-color: #edf2f7;
  border-color: #cbd5e0;
  transform: translateY(-1px);
}

.toastr-confirm-buttons .toastr-btn-cancel:active {
  transform: translateY(0);
}

/* Confirm Button */
.toastr-confirm-buttons .toastr-btn-confirm {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.toastr-confirm-buttons .toastr-btn-confirm:hover {
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
  transform: translateY(-2px);
}

.toastr-confirm-buttons .toastr-btn-confirm:active {
  transform: translateY(0);
}

/* ===========================
   Alert Modal Styles
   =========================== */

.toastr-alert-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999998;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: toastrBackdropFadeIn 0.25s ease-out;
}

.toastr-alert-modal {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 28px;
  min-width: 340px;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 999999;
  animation: toastrAlertFadeIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toastr-alert-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
}

.toastr-alert-icon::before {
  content: '\f06a';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
  font-weight: 900;
}

.toastr-alert-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a202c;
  text-align: center;
}

.toastr-alert-message {
  font-size: 15px;
  margin-bottom: 24px;
  color: #4a5568;
  line-height: 1.6;
  text-align: center;
}

.toastr-alert-buttons {
  display: flex;
  justify-content: center;
}

.toastr-alert-buttons button {
  padding: 11px 32px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  min-width: 120px;
  box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
  font-family: inherit;
}

.toastr-alert-buttons button:hover {
  box-shadow: 0 6px 16px rgba(245, 87, 108, 0.5);
  transform: translateY(-2px);
}

.toastr-alert-buttons button:active {
  transform: translateY(0);
}

.toastr-alert-buttons button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 87, 108, 0.5);
}

/* ===========================
   Animations
   =========================== */

@keyframes toastrBackdropFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes toastrConfirmFadeIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes toastrAlertFadeIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 576px) {
  .toastr-confirm-modal,
  .toastr-alert-modal {
    min-width: 280px;
    max-width: calc(100% - 32px);
    padding: 24px 20px;
  }

  .toastr-confirm-title,
  .toastr-alert-title {
    font-size: 18px;
  }

  .toastr-confirm-message,
  .toastr-alert-message {
    font-size: 14px;
  }

  .toastr-confirm-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .toastr-confirm-buttons button,
  .toastr-alert-buttons button {
    width: 100%;
    min-width: unset;
  }
}