/* Application Status page specific styles */
#status-check-container {
  width: 100%;
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(16, 16, 16, 0.8);
  border-radius: 16px;
  border: 2px solid rgba(3, 252, 240, 0.15);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #fff;
}

.form-group .required {
  color: #ff4d4d;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #03fcf0;
  box-shadow: 0 0 0 3px rgba(3, 252, 240, 0.2);
}

.input-with-button {
  display: flex;
  gap: 10px;
}

.input-with-button input {
  flex: 1;
  margin-bottom: 0;
}

.toggle-button {
  background: rgba(3, 252, 240, 0.1);
  color: #03fcf0;
  border: 1px solid rgba(3, 252, 240, 0.3);
  border-radius: 8px;
  padding: 0 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.toggle-button:hover {
  background: rgba(3, 252, 240, 0.2);
}

.form-group .form-help {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #aaa;
}

#check-status-button {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  margin-top: 10px;
}

#check-status-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: #101010;
  color: #888;
  border-color: #333;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.form-message.success {
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid rgba(46, 204, 113, 0.5);
  color: #2ecc71;
}

.form-message.error {
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid rgba(231, 76, 60, 0.5);
  color: #e74c3c;
}

.form-message.loading {
  background: rgba(52, 152, 219, 0.2);
  border: 1px solid rgba(52, 152, 219, 0.5);
  color: #3498db;
}

.loading-container {
  text-align: center;
  padding: 30px;
}

.loading-container .spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #03fcf0;
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 20px;
}

.loading-container p {
  color: #fff;
  font-size: 1.1rem;
}

.status-result-container {
  text-align: center;
}

.status-result-container h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  color: #03fcf0;
  margin-bottom: 30px;
}

.status-details {
  text-align: left;
}

.detail-item {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item label {
  display: block;
  font-weight: 700;
  color: #03fcf0;
  margin-bottom: 8px;
}

.detail-value {
  word-break: break-word;
}

.detail-value span {
  font-family: "Inter", sans-serif;
  color: #fff;
}

.detail-value p {
  margin: 0;
  color: #fff;
  line-height: 1.6;
}

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.status-badge.Submitted {
  background: rgba(52, 152, 219, 0.2);
  border: 1px solid rgba(52, 152, 219, 0.5);
  color: #3498db;
}

.status-badge.Under-Review {
  background: rgba(155, 89, 182, 0.2);
  border: 1px solid rgba(155, 89, 182, 0.5);
  color: #9b59b6;
}

.status-badge.More-Information-Needed {
  background: rgba(241, 196, 15, 0.2);
  border: 1px solid rgba(241, 196, 15, 0.5);
  color: #f1c40f;
}

.status-badge.Interview {
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid rgba(46, 204, 113, 0.5);
  color: #2ecc71;
}

.status-badge.Accepted {
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid rgba(46, 204, 113, 0.5);
  color: #2ecc71;
}

.status-badge.Rejected {
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid rgba(231, 76, 60, 0.5);
  color: #e74c3c;
}

.status-badge.Archived {
  background: rgba(149, 165, 166, 0.2);
  border: 1px solid rgba(149, 165, 166, 0.5);
  color: #95a5a6;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #03fcf0;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  #status-check-container {
    padding: 20px;
    margin: 20px 10px;
  }

  .input-with-button {
    flex-direction: column;
  }

  .input-with-button input {
    margin-bottom: 10px;
  }

  .status-result-container h2 {
    font-size: 1.5rem;
  }

  .detail-item label {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #status-check-container {
    padding: 15px;
    margin: 15px 5px;
  }

  .form-group input {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .form-group .form-help {
    font-size: 0.8rem;
  }

  #check-status-button {
    padding: 15px;
    font-size: 1rem;
  }
}
