@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@100..900&family=Comic+Neue:wght@700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Urbanist', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Animation Keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* PREVIEW DOCUMENT STYLES */
#documentPreview {
  min-height: 297mm;
  width: 210mm;
  background-color: white !important; 
  color: black !important;            
  padding: 25mm;
  font-family: 'Urbanist', sans-serif; 
  line-height: 1.5;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}

#documentPreview * {
    color: inherit; 
}

#documentPreview img {
  display: block;
  margin: 0 auto;
}

/* Force List Reset */
#documentPreview ul {
  padding-left: 0 !important;
  margin-left: 0 !important;
  list-style-type: none !important;
}

@media (max-width: 850px) {
  #documentPreview {
    transform: scale(0.5);
    transform-origin: top left;
    margin-bottom: -50%;
  }
}

@media (max-width: 480px) {
  #documentPreview {
    transform: scale(0.35);
    margin-bottom: -65%;
  }
}

/* Print Specifics */
.document-title {
  font-size: 28pt;
  font-weight: bold;
  color: #f97316 !important; 
  font-family: "Arial", sans-serif;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.course-title {
  font-size: 24pt;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

.info-list {
  margin: 30px 0;
}

.info-list li {
  font-size: 14pt;
  font-weight: bold;
  margin-bottom: 10px;
  list-style: none;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.submission-table {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
}

.submission-table thead td {
  color: #ea580c !important;
  font-size: 16pt;
  font-weight: bold;
  padding-bottom: 10px;
  width: 50%;
  vertical-align: top !important;
}

/* Vertical Alignment for Independent Columns */
.submission-cell {
  font-size: 12pt;
  vertical-align: top !important; 
  padding-right: 10px;
  padding-top: 0 !important;
  line-height: 1.3;
}