.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.announcement-container {
  width: 600px;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}

/* Header */
.announcement-header {
  height: 64px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.header-title {
  font-size: 20px;
  font-weight: 600;
}

.close-btn {
  border: none;
  background: transparent;
  color: white;
  cursor: pointer;
}

/* Body */
.announcement-body {
  padding: 52px;
  height: 300px;
}

.announcement-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.announcement-title-row h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
}

.description {
  font-size: 18px;
  line-height: 1.8;
}

.announcement-image {
  margin-top: 24px;
}

.announcement-image img {
  width: 100%;
  border-radius: 6px;
}

/* Footer */
.announcement-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #ddd;
  background: #f5f5f5;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  border-radius: 8px;
}

.close-button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  background: #6c757d;
  color: white;
}

.close-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.priority-badge {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
}

.priority-badge.low {
  background: #c9a7d6;
  color: #222;
}

.priority-badge.medium {
  background: #ffd54f;
  color: #222;
}

.priority-badge.high {
  background: #ffb74d;
  color: #222;
}

.priority-badge.critical {
  background: #ef5350;
  color: #fff;
}

.step-container {
  background: white;
  border-radius: 8px;
  // width: 500px;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.step-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 8px 8px 0 0;

  h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
  }

  p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.95;
  }

  button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;

    &:hover {
      background: rgba(255, 255, 255, 0.3);
    }
  }
}

.step-progress {
  padding: 1rem 1.5rem;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;

  .bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;

    .fill {
      height: 100%;
      background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
      transition: width 0.3s;
    }
  }

  .text {
    font-size: 0.85rem;
    color: #666;
  }
}

.step-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 1.5rem;

  .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
  }

  h3 {
    text-align: center;
    margin: 0 0 1rem 0;
    color: #333;
  }

  .description {
    text-align: center;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #667eea;
    margin-bottom: 1rem;

    p {
      margin: 0.5rem 0;
      color: #444;
      line-height: 1.6;

      &:first-child {
        margin-top: 0;
      }

      &:last-child {
        margin-bottom: 0;
      }
    }
  }

  .duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #fff3cd;
    border-radius: 4px;
    color: #856404;
    font-size: 0.85rem;
  }
}

.step-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #ddd;
  background: #f5f5f5;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  border-radius: 8px;

  button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;

    &:hover {
      transform: translateY(-1px);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    &.primary {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
    }

    &.secondary {
      background: #6c757d;
      color: white;
    }

    &.success {
      background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
      color: white;
    }

    &.warning {
      background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
      color: white;
    }
  }
}