/*
 * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
 * See LICENSE in the project root for license information.
 */
.closeButton {
  height: 32px;
  width: 32px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 5px;
  background-color: transparent;
  color: inherit;
}

.closeButton:hover {
  border: 1px solid currentColor;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

@keyframes shimmerAnimation {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

#shimmer {
  height: 100%;
}

/* Header Styles */
.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.icon-shimmer {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

/* Main Content */
.main-content {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  gap: 50px;
}

.main-content-2 {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  padding: 80px 24px 40px;
}

/* Greeting Section */
.greeting-section {
  text-align: center;
  padding-bottom: 40px;
  border-radius: 14px;
}

.greeting-section-2 {
  text-align: start;
  align-self: start;
  padding-bottom: 42px;
  border-radius: 14px;
}

.greeting-shimmer {
  width: 480px;
  height: 80px;
  border-radius: 14px;
  margin: 0 auto;
}

/* Input Section */
.input-section {
  width: 100%;
  max-width: 600px;
  padding-bottom: 20px;
}

.input-shimmer {
  width: 100%;
  height: 100px;
  border-radius: 10px;
}

/* Shimmer Animation */
.shimmer-item {
  background-color: #f3f2f1;
  position: relative;
  overflow: hidden;
}

.shimmer-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to right,
    #f3f2f1 0%,
    #e9e8e7 50%,
    #f3f2f1 100%
  );
  animation: shimmerAnimation 1.5s ease-in-out infinite;
  will-change: transform;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-content {
    padding: 24px 16px 200px;
    gap: 24px;
  }
  .main-content-2 {
    padding: 80px 24px 40px;
    justify-content: start;
  }

  .greeting-shimmer {
    width: 320px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .greeting-shimmer {
    width: 280px;
    height: 50px;
  }
}
