* {
  box-sizing: border-box;
}

:host {
  display: block;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dialog-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  text-align: center;
}

.warning-icon {
  background-color: rgba(255, 230, 100, 0.3);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.icon {
  font-size: 24px;
}

h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-black);
}

.subtitle {
  margin: 0;
  color: #666;
  font-size: 0.875rem;
}

.product-details {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 1rem;
  width: 100%;
}

.product-image,
.placeholder-image {
  width: 80px;
  height: 80px;
  background-color: #f2f2f2;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-black);
}

.skip-details {
  width: 100%;
  margin-bottom: 20px;
}

.detail-item {
  margin: 8px 0;
  font-size: 0.875rem;
  color: var(--primary-black);
}

.double-check-box {
  background-color: #fffaeb;
  border: 1px solid #ffe7a3;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  width: 100%;
}

h4 {
  margin: 0 0 8px 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #906d00;
}

.double-check-box p {
  margin: 0;
  color: #333;
  font-size: 0.875rem;
  line-height: 1.4;
}

.action-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

button {
  border-radius: 8px;
  padding: var(--space-8);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: var(--ism-primary-font-family);
}

.confirm-button {
  background-color: var(--primary-blue);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.confirm-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cancel-button {
  background-color: white;
  color: var(--primary-black);
  border: 1px solid #e0e0e0;
}

.confirm-button:hover {
  background-color: #2855b0;
}

.cancel-button:hover {
  background-color: #f2f2f2;
}
