/* Base Styles */
.ai-quote-generator, .generated-quotes {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  width: 100%;
}

.container, .quotes-container {
  max-width: 375px;
  width: 100%;
  height: 812px;
  position: relative;
  overflow: hidden;
}

/* Header Styles */
.header {
  background-color: #47e4c9;
  padding: 10px 16px;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.time {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #222222;
  font-size: 14px;
}

.icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.back-icon {
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
}

.action-button {
  display: flex;
  gap: 10px;
}

.refresh-button,
.capture-button {
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Form Styles */
.quote-form {
  padding: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #222222;
  font-size: 14px;
  margin-bottom: 10px;
}

.form-input,
.form-select {
  width: 100%;
  height: 44px;
  background-color: rgba(71, 227, 203, 0.05);
  border: 1px solid rgba(71, 227, 203, 0.5);
  border-radius: 16px;
  padding: 0 15px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: #666666;
}

.form-select {
  appearance: none;
  background-image: url("https://c.animaapp.com/m9qov8ccmLIbz1/img/ic-round-navigate-next.svg");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 17px;
  padding-right: 40px;
}

.generate-button {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  border: 1.24px solid #ffffff;
  background: linear-gradient(
    180deg,
    rgba(74, 238, 213, 1) 0%,
    rgba(3, 167, 142, 1) 100%
  );
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.generate-button:hover {
  opacity: 0.9;
}

.button-icon {
  width: 14px;
  height: 14px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Illustration Styles */
.illustration {
  position: relative;
  width: 178px;
  height: 154px;
  margin: 30px auto;
}

.illustration-base {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.illustration-details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Quotes Section Styles */
.quote-settings {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 16px 20px;
  margin: 30px 18px;
  background-color: rgba(71, 227, 203, 0.15);
  border-radius: 16px;
  border: 1.37px solid #47e3cb;
}

.setting {
  display: flex;
  gap: 10px;
}

.setting-label {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #222222;
  font-size: 14px;
}

.setting-value {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #222222;
  font-size: 14px;
}

.setting-divider {
  width: 1px;
  height: 22px;
  background-color: #222222;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 18px;
}

.quote-card {
  position: relative;
  width: 100%;
  height: 271px;
  overflow: hidden;
  border-radius: 8px;
}

.quote-background2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .quote-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 12px;
  text-align: center;
} */

/* Utility Classes */
.hidden { 
  display: none; 
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}
.hidden { display: none; }
.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}
.quotes-scrollable {
  max-height: 80vh; /* Adjust as needed */
  overflow-y: auto;
  width: 100%;
  padding-right: 10px; /* optional: to prevent scrollbar overlap */
}

/* Optional: style the scrollbar */
.quotes-scrollable::-webkit-scrollbar {
  width: 8px;
}

.quotes-scrollable::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.quotes-scrollable::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 375px) {
  .container {
    height: auto;
    min-height: 100vh;
  }
}