/* Base Styles */
:root {
  --primary-color: #1b8c44;
  --dark-bg: #0e1218;
  --light-text: #ffffff;
  --secondary-text: #e0e0e0;
  --border-color: #2a2a2a;
  --success-color: #17b26a;
  --review-color: #f5a623;
  --rejected-color: #ff4d4f;
  --shadow-color: rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Instrument Sans";
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-weight: 600;
  font-size: 1.2rem;
}

.create-magic-btn {
  background-color: var(--primary-color);
  color: white;
  border-radius: 6.25rem;
  border: 1px solid #98ffc4;
  padding: 0.5rem 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.create-magic-btn:hover {
  background-color: #149a59;
}

/* Main Content Styles */
main {
  flex: 1;
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Status Check Page Styles */
.status-check {
  text-align: left;
  max-width: 33.375rem;
}

h1 {
  padding-bottom: 1rem;
  color: #fff;
  font-size: 2rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.04rem;
}

.intro-text {
  color: var(--secondary-text);
  font-family: "Instrument Sans";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
  letter-spacing: -0.02rem;
}

.input-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

label {
  margin-top: 3rem;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--secondary-text);
}

input[type="email"] {
  width: 100%;

  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  background-color: transparent;
  border-radius: 4px;
  color: var(--light-text);
  font-size: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #ebebeb;
}

input[type="email"]:focus {
  outline: none;
  border-color: var(--primary-color);
}

.check-status-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #98ffc4;
}

.check-status-btn:hover {
  background-color: #149a59;
}

/* Testimonial Styles */
.testimonial {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  border-radius: 8px;
  text-align: center;
}

.stars {
  color: #f5a623;
  margin-bottom: 1rem;
}

.stars i {
  margin-right: 0.25rem;
}

.quote {
  color: #fff;
  text-align: center;
  font-family: "Instrument Sans";
  padding-bottom: 1rem;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.035rem;
}

.author {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.author-img {
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.author-info {
  display: flex;
  gap: 0.2rem;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.author-handle {
  color: var(--secondary-text);
  font-size: 0.8rem;
}

/* Pagination Styles */
.pagination {
  margin: 0 0 2rem 0;
}

.pagination-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.prev-btn,
.next-btn {
  border: 1px solid #a4a4a4;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--light-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
  background-color: #3a3a3a;
}

.dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
}

/* Footer Styles */
footer {
  background-color: var(--dark-bg);
  padding: 3rem 1.5rem;
}
hr {
  border: 2px solid #fff;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-text h2 {
  color: #fff;
  font-family: "Instrument Sans";
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.06rem;
  padding-bottom: 1.5rem;
  line-height: 1.3;
  margin: 0;
}

.footer-buttons {
  width: 40%;
}

.find-scholarship-btn {
  background-color: var(--primary-color);
  color: white;
  margin-bottom: 1rem;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 6.25rem;
  border: 1px solid #98ffc4;
  cursor: pointer;
  display: inline-block;
}

.get-in-touch-btn {
  background-color: #fff;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.footer-links h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: "Instrument Sans";
  font-weight: 500;
  padding-bottom: 1rem;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--border-color);
  color: var(--light-text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: #3a3a3a;
}

/* Status Result Page Styles */
.status-section {
  display: none;
  padding: 2rem 1rem;
}

.status-section.active {
  display: block;
}

/* Loading State */
.loading-status {
  text-align: center;
}

.loading-percentage {
  margin-top: 10px;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
}

.loading-image {
  margin: 0 auto;
  max-width: 300px;
}
.loading-image img {
  width: 100%;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-text);
}

.icon-circle:nth-child(3) {
  background-color: var(--primary-color);
  color: white;
  position: relative;
}

.icon-circle:nth-child(3)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.loading-line {
  height: 4px;
  background-color: var(--border-color);
  position: relative;
  margin-top: 2rem;
  border-radius: 2px;
  overflow: hidden;
}

.loading-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--primary-color);
  width: 30%;
  animation: loading 3s infinite ease-in-out;
  border-radius: 2px;
}

@keyframes loading {
  0% {
    width: 0;
    left: 0;
  }
  50% {
    width: 40%;
    left: 30%;
  }
  100% {
    width: 15%;
    left: 100%;
  }
}

/* Status Content Styles */
.status-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.status-icon.success {
  background-color: var(--success-color);
}

.status-icon.review {
  background-color: var(--review-color);
}

.status-icon.rejected {
  background-color: var(--rejected-color);
}

.status-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.status-content h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-text);
}

.status-message {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.status-note {
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--secondary-text);
}

.status-signature {
  margin-bottom: 2rem;
}

.mentor-section,
.consultant-section {
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.contact-links {
  list-style: none;
  margin-top: 1rem;
}

.contact-links li {
  margin-bottom: 0.75rem;
}

.contact-links a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-buttons {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
  }
  .find-scholarship-btn,
  .get-in-touch-btn {
    padding: 1rem;
    width: 100%;
  }
  .author-info {
    flex-direction: column;
  }
  .get-in-touch-btn {
    border-radius: 6.25rem;
    justify-content: center;
  }

  .loading-icons {
    gap: 0.5rem;
  }

  .icon-circle {
    width: 32px;
    height: 32px;
  }
  .social-links {
    justify-content: center;
  }

  input[type="email"],
  .check-status-btn {
    padding: 0.8rem;
  }

  h1 {
    font-size: 1.4rem;
  }
  .intro-tex,
  .quote {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1rem;
  }

  .create-magic-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .logo-img {
    width: 20px;
    height: 20px;
  }
  .logo-text {
    width: 60px;
  }

  .status-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .status-content h2 {
    font-size: 1.3rem;
  }

  .status-content h3 {
    font-size: 1.1rem;
  }

  .loading-icons {
    flex-wrap: wrap;
    justify-content: center;
  }
}
