/* 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: #121212 !important;  
  font-family: "DM Sans", sans-serif !important;
  color: #e0e0e0; 
  border-bottom: 1px solid #333333; 
}

/* Top Bar */
.topbar {
  background-color: #1a1a1a; 
  height: 64px;
  border-bottom: 1px solid #333333; 
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-text {
  font-weight: 600;
  font-size: 1.1rem;
  color: #e0e0e0; 
}

.help-btn {
  background: none;
  border: 1px solid #e0e0e0 !important;
  color: #e0e0e0;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.help-btn:hover {
  background-color: #333333 !important;
  color: #fff;
}

/* Layout */
.content-container {
  margin-top: 3rem;
  max-width: 735px;
  margin-left: auto;
  margin-right: auto;
}

/* Card */
.card {
  border: none !important;
  background-color: #1a1a1a !important;  
  margin-top: 2rem;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);  
  border-radius: 8px;
}

.card-body {
  padding: 3rem 2rem;
}

/* Headings */
h1 {
  font-weight: 700;
  font-size: 1.6rem;
  color: #e0e0e0 !important;
}

h2 {
  font-weight: 700;
  font-size: 1.6rem;
  color: #e0e0e0 !important;
}

h3 {
  font-weight: 700;
  font-size: 1.4rem;
  color: #e0e0e0;
}

h4 {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #e0e0e0;
}

/* Paragraphs */
p.text-muted {
  color: #b0b0b0 !important;  
  font-size: 1.10rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.color {
  color: #b0b0b0 !important;  
}

/* Form fields */
.form-label {
  font-weight: 500;
  font-size: 0.95rem;
  color: #e0e0e0; 
  margin-bottom: 0.25rem;
}

.required::after {
  content: "*";
  color: red;
  margin-left: 4px;
}

.form-control,
.form-select {
  border: none !important;
  border-bottom: 1px solid #444444 !important; 
  border-radius: 0 !important;
  background-color: #1a1a1a !important;
  box-shadow: none !important;
  padding: 1;
  font-size: 1rem;
  font-weight: 400;
  color: #e0e0e0; 
  transition: border-color 0.3s ease;
  margin-bottom: 1.25rem;
}

.form-control:focus,
.form-select:focus {
  border-color: #e0e0e0 !important; 
  outline: none !important;
  color: #e0e0e0 !important;
}

.form-select option:hover,
.form-select option:checked {
  background-color: #ffffff !important;
  color: #1a1a1a !important;
}

/* Placeholder text */
::placeholder {
  color: #b0b0b0; 
  opacity: 1; 
}

.form-control::placeholder,
.form-select::placeholder {
  color: #b0b0b0; 
}

/* 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: #333333 !important;
  border: none !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-success:hover {
  background-color: #222222 !important;
}

.btn-secondary {
  background-color: #666666 !important; /* Dark gray */
  color: #fff !important;
  border: none !important;
}

.btn-secondary:hover {
  background-color: #444444 !important; /* Darker gray */
}

.d-none {
  display: none !important;
}

/* Modal */
.modal-content {
  border-radius: 12px;
  padding: 2rem 1.5rem;
  background-color: #1a1a1a;  /* Dark background */
}

.modal-body h5 {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #e0e0e0;
}

.modal-body p {
  font-size: 0.95rem;
  color: #b0b0b0;
}

/* Animations */
.form-step {
  display: none !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease;
}

.form-step.active {
  display: block !important;
  opacity: 1 !important;
}

@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: #e0e0e0;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
  position: relative;
  bottom: 0;
  width: 100%;
}

.site-footer a {
  color: #b0b0b0;
  text-decoration: none;
  margin: 0 10px;
}
