/* Pre-Graduation System Styles */

/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f8f9fa !important;
  font-family: "DM Sans", sans-serif !important;
  color: #1f2937;
  border-bottom: 1px solid #f2f2f2;
}

/* Top Bar */
.topbar {
  background-color: #ffffff;
  height: 64px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-text {
  font-weight: 600;
  font-size: 1.1rem;
  color: #111827;
}

.help-btn {
  background: none;
  border: 1px solid #11162a !important;
  color: #11162a;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.help-btn:hover {
  background-color: #11162a !important;
  color: #fff;
}

/* Layout */
.content-container {
  margin-top: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Card */
.card {
  border: none !important;
  background-color: #ffffff !important;
  margin-top: 2rem;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.card-body {
  padding: 3rem 2rem;
}

/* Headings */
h1 {
  font-weight: 700;
  font-size: 1.6rem;
  color: #1a1f36;
}

h2 {
  font-weight: 700;
  font-size: 1.6rem;
  color: #1a1f36;
}

h4 {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

/* Paragraphs */
p.text-muted {
  color: #6b7280 !important;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Form fields */
.form-label {
  font-weight: 500;
  font-size: 0.95rem;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.required::after {
  content: "*";
  color: red;
  margin-left: 4px;
}

.form-control,
.form-select {
  border: none !important;
  border-bottom: 1px solid #d1d5db !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 1;
  font-size: 1rem;
  font-weight: 400;
  color: #1f2937;
  transition: border-color 0.3s ease;
  margin-bottom: 1.25rem;
}

.form-control:focus,
.form-select:focus {
  border-color: #1a1f36 !important;
  outline: none !important;
}

/* Buttons */
.btn {
  font-family: "DM Sans", sans-serif !important;
  border-radius: 8px;
  font-weight: 500;
  padding: 0.65rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-primary,
.btn-success {
  background-color: #1a1f36 !important;
  border: none !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-success:hover {
  background-color: #0a0f28 !important;
}

.btn-secondary {
  background-color: #6b7280 !important; /* Tailwind gray-500 */
  color: #fff !important;
  border: none !important;
}

.btn-secondary:hover {
  background-color: #4b5563 !important; /* darker gray */
}

/* Modal */
.modal-content {
  border-radius: 12px;
  padding: 2rem 1.5rem;
}

.modal-body h5 {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.modal-body p {
  font-size: 0.95rem;
  color: #374151;
}

/* Animations */
.form-step {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 576px) {
  .card-body {
    padding: 2rem 1rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h4 {
    font-size: 1.05rem;
  }
}

/* Footer */
.site-footer {
  color: #131836;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
  position: relative;
  bottom: 0;
  width: 100%;
}

.site-footer a {
  color: grey;
  text-decoration: none;
  margin: 0 10px;
}
