/* Root */
.guavas-resource-engine-root,
.guavas-resource-engine-root * {
  box-sizing: border-box;
}

.guavas-resource-engine-root {
  width: 100%;
  font-family: 'Outfit', sans-serif;
}

/* Container */
.guavas-resource-engine {
  width: 100%;
}

.gre-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e3e5df;
  border-radius: 28px;
  padding: 44px 48px;
}

/* Header */
.gre-header {
  margin-bottom: 32px;
}

.gre-header h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  color: #222748;
  letter-spacing: -0.02em;
}

.gre-header p {
  margin: 0;
  font-size: 16px;
  color: #8f8399;
  line-height: 1.55;
}

/* Form */
.gre-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.gre-field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gre-field-group label {
  font-size: 16px;
  font-weight: 700;
  color: #222748;
}

/* Select */
.gre-select-wrap {
  position: relative;
}

.gre-select-wrap select {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  padding-right: 50px;
  border-radius: 14px;
  border: 1px solid #d8d8dc;
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  color: #222748;
  background: #ffffff;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gre-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-right: 1.8px solid #9a94a2;
  border-bottom: 1.8px solid #9a94a2;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.gre-select-wrap select:focus {
  border-color: #8fc93a;
  box-shadow: 0 0 0 3px rgba(143, 201, 58, 0.15);
  outline: none;
}

/* Challenge Buttons */
.gre-challenges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gre-challenge-btn {
  height: 48px;
  border-radius: 14px;
  border: 1px solid #d8d8dc;
  background: #ffffff;
  font-size: 15px;
  font-weight: 600;
  color: #222748;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gre-challenge-btn:hover {
  border-color: #cfd6c1;
}

.gre-challenge-btn.is-active {
  border-color: #8fc93a;
  background: #f3f9e7;
  box-shadow: 0 0 0 2px rgba(143, 201, 58, 0.15);
}

/* Email */
.gre-email {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  border: 1px solid #d8d8dc;
  padding: 0 18px;
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  color: #222748;
  transition: all 0.2s ease;
}

.gre-email::placeholder {
  color: #b7b1b8;
}

.gre-email:focus {
  border-color: #8fc93a;
  box-shadow: 0 0 0 3px rgba(143, 201, 58, 0.15);
  outline: none;
}

/* Button */
.gre-submit-btn {
  margin-top: 4px;
  height: 60px;
  border-radius: 14px;
  border: none;
  background: #8fc93a;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 12px 24px rgba(143, 201, 58, 0.25);
}

.gre-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(143, 201, 58, 0.3);
}

.gre-submit-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* Footer */
.gre-footer-note {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  color: #9d91a5;
}

.gre-footer-note svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* Messages */
.gre-message {
  font-size: 14px;
  text-align: center;
}

.gre-message.is-error {
  color: #d64545;
}

.gre-message.is-success {
  color: #4d8f12;
}

/* Tablet */
@media (max-width: 1024px) {
  .gre-card {
    padding: 36px;
  }

  .gre-header h2 {
    font-size: 22px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .gre-card {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .gre-header h2 {
    font-size: 20px;
  }

  .gre-header p {
    font-size: 15px;
  }

  .gre-challenges-grid {
    grid-template-columns: 1fr;
  }

  .gre-submit-btn {
    height: 56px;
    font-size: 16px;
  }

  .gre-email,
  .gre-select-wrap select {
    height: 52px;
    font-size: 15px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .gre-header h2 {
    font-size: 18px;
  }

  .gre-submit-btn {
    font-size: 15px;
  }
}