/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* NSI Brand Colors */
  --nsi-blue-dark: #003b57;
  --nsi-blue-medium: #005398;
  --nsi-blue-light: #0bbbef;
  --nsi-purple: #9980fa;
  --nsi-teal: #02c2d1;
  --nsi-green: #2ecc71;
  --nsi-red: #dc2253;
  --nsi-yellow: #d59617;
  --nsi-grey-dark: #222f3e;
  --nsi-grey-medium: #90979e;
  --nsi-grey-light: #ecf0f1;

  /* Shadows */
  --shadow-nsi: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-nsi-hover: 0 4px 8px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius: 0.375rem;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--nsi-grey-light);
  color: var(--nsi-grey-dark);
  line-height: 1.6;
  font-feature-settings: "rlig" 1, "calt" 1;
}

/* Typography */
h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

h1 {
  font-size: 3.5rem;
  line-height: 60px;
  letter-spacing: -1.5px;
}

h2 {
  font-size: 2.625rem;
  line-height: 46px;
  letter-spacing: -1px;
}

h3 {
  font-size: 1.875rem;
  line-height: 34px;
  letter-spacing: -0.8px;
}

h4,
h5 {
  font-family: "Roboto", sans-serif;
}

h4 {
  font-size: 1.25rem;
  line-height: 26px;
  letter-spacing: -0.5px;
}

h5 {
  font-size: 1.25rem;
  line-height: 26px;
  letter-spacing: -0.2px;
}

p {
  font-size: 1rem;
  line-height: 20px;
  letter-spacing: -0.2px;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hidden {
  display: none !important;
}

.text-right {
  text-align: right;
}

.font-medium {
  font-weight: 500;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-nsi);
}

.btn:hover {
  box-shadow: var(--shadow-nsi-hover);
}

.btn-primary {
  background-color: var(--nsi-blue-medium);
  color: white;
}

.btn-primary:hover {
  background-color: var(--nsi-blue-dark);
}

.btn-secondary {
  background-color: var(--nsi-blue-light);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--nsi-blue-medium);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--nsi-blue-dark);
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--nsi-grey-medium);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background-color: var(--nsi-grey-light);
  color: var(--nsi-blue-medium);
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--nsi-blue-dark);
  color: white;
  border-bottom: 1px solid var(--nsi-blue-medium);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.logo-container {
  height: 2.5rem;
  width: auto;
  background-color: white;
  border-radius: var(--radius);
  padding: 0.25rem;
}

.logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
}

/* Navigation Styles */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--nsi-blue-light);
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.dropdown-toggle:hover {
  color: var(--nsi-blue-light);
}

.dropdown-icon {
  width: 1rem;
  height: 1rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-nsi-hover);
  min-width: 14rem;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  display: none;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--nsi-grey-dark);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: var(--nsi-grey-light);
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-mobile {
  padding: 1rem 0;
  border-top: 1px solid var(--nsi-blue-medium);
}

.nav-mobile-link {
  display: block;
  padding: 0.5rem 0;
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-mobile-link:hover {
  color: var(--nsi-blue-light);
}

.nav-mobile-section {
  margin: 1rem 0;
  padding-left: 1rem;
}

.nav-mobile-title {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.nav-mobile-submenu {
  padding-left: 0.5rem;
}

.mobile-logout {
  width: 100%;
  margin-top: 1rem;
}

/* Main Content */
.main-content {
  padding: 2rem 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.breadcrumb-link {
  color: var(--nsi-grey-medium);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--nsi-blue-medium);
}

.breadcrumb-separator {
  color: var(--nsi-grey-medium);
  width: 1rem;
  height: 1rem;
}

.breadcrumb-current {
  color: var(--nsi-grey-dark);
  font-weight: 500;
}

/* Page Header */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.page-header-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-description {
  color: var(--nsi-grey-medium);
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom, var(--nsi-blue-dark), var(--nsi-blue-medium));
  color: white;
  padding: 4rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-showcase {
  height: 16rem;
  width: 100%;
  max-width: 28rem;
  background-color: white;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: var(--shadow-nsi);
}

.showcase-img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

/* Features Section */
.features {
  padding: 4rem 0;
}

.features-title {
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: white;
  border-radius: 0.5rem;
  border: 1px solid var(--nsi-grey-light);
  box-shadow: var(--shadow-nsi);
  padding: 1.5rem;
  text-align: center;
}

.feature-icon {
  color: var(--nsi-blue-medium);
  margin-bottom: 1rem;
}

.feature-title {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--nsi-grey-medium);
  margin-bottom: 1.5rem;
}

.feature-btn {
  width: 100%;
}

/* CTA Section */
.cta {
  background-color: var(--nsi-grey-light);
  padding: 4rem 0;
}

.cta-content {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.cta-title {
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.25rem;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--nsi-grey-dark);
  margin-bottom: 2rem;
}

/* Card Styles */
.card {
  background-color: white;
  border-radius: 0.5rem;
  border: 1px solid var(--nsi-grey-light);
  box-shadow: var(--shadow-nsi);
  margin-bottom: 2rem;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--nsi-grey-light);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.card-description {
  color: var(--nsi-grey-medium);
  font-size: 0.875rem;
}

.card-content {
  padding: 1.5rem;
}

.card-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--nsi-grey-light);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--nsi-grey-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--nsi-grey-medium);
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--nsi-blue-medium);
  box-shadow: 0 0 0 1px var(--nsi-blue-medium);
}

.form-textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

.form-help {
  font-size: 0.75rem;
  color: var(--nsi-grey-medium);
  margin-top: 0.25rem;
}

.input-group {
  display: flex;
  gap: 0.5rem;
}

.input-group .form-input {
  flex: 1;
}

/* File Input */
.file-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px dashed var(--nsi-grey-medium);
  border-radius: var(--radius);
  background-color: var(--nsi-grey-light);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.file-input:hover {
  border-color: var(--nsi-blue-medium);
}

.file-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.file-input-group .file-input {
  flex: 1;
}

/* Tabs */
.tabs {
  margin-bottom: 2rem;
}

.tab-list {
  display: flex;
  border-bottom: 1px solid var(--nsi-grey-light);
  margin-bottom: 2rem;
}

.tab-button {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nsi-grey-medium);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.tab-button:hover,
.tab-button.active {
  color: var(--nsi-blue-medium);
  border-bottom-color: var(--nsi-blue-medium);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Form Layout */
.form-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.form-main {
  min-width: 0;
}

.form-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Certificate Stock */
.stock-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stock-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stock-label {
  font-weight: 500;
}

.stock-count {
  font-weight: 600;
  color: var(--nsi-blue-medium);
}

/* Help Content */
.help-content {
  font-size: 0.875rem;
  line-height: 1.6;
}

.help-content p {
  margin-bottom: 1rem;
}

.help-content a {
  color: var(--nsi-blue-medium);
  text-decoration: none;
}

.help-content a:hover {
  text-decoration: underline;
}

/* Certificate Preview */
.certificate-preview {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.certificate-container {
  width: 100%;
  max-width: 48rem;
  background-color: white;
  border: 1px solid var(--nsi-grey-medium);
  padding: 2rem;
  box-shadow: var(--shadow-nsi);
}

.certificate-header {
  text-align: center;
  margin-bottom: 2rem;
}

.certificate-logo {
  margin-bottom: 1rem;
}

.certificate-logo-img {
  height: 4rem;
  width: auto;
}

.certificate-org {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--nsi-blue-dark);
  margin-bottom: 0.5rem;
}

.certificate-type-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.certificate-subtitle {
  font-size: 0.75rem;
  color: var(--nsi-grey-medium);
}

.certificate-schedule {
  border: 1px solid var(--nsi-grey-medium);
}

.schedule-header {
  background-color: var(--nsi-grey-light);
  padding: 0.5rem;
  text-align: center;
  font-weight: 600;
  border-bottom: 1px solid var(--nsi-grey-medium);
}

.schedule-row {
  display: grid;
  grid-template-columns: 1fr 3fr;
  border-bottom: 1px solid var(--nsi-grey-medium);
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-part {
  padding: 0.5rem;
  font-weight: 600;
  border-right: 1px solid var(--nsi-grey-medium);
}

.schedule-content {
  padding: 0.5rem;
}

.schedule-label {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.schedule-value {
  font-size: 0.875rem;
}

.certificate-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--nsi-grey-medium);
  margin-top: 2rem;
}

/* Table Styles */
.table-container {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--nsi-grey-light);
}

.data-table th {
  background-color: var(--nsi-grey-light);
  font-weight: 600;
  color: var(--nsi-grey-dark);
}

.data-table tbody tr:hover {
  background-color: rgba(0, 83, 152, 0.05);
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 1rem;
}

.table-info {
  font-size: 0.875rem;
  color: var(--nsi-grey-medium);
}

.pagination {
  display: flex;
  gap: 0.25rem;
}

.pagination .btn {
  min-width: 2rem;
  height: 2rem;
  padding: 0;
}

.pagination .btn.active {
  background-color: var(--nsi-blue-medium);
  color: white;
}

.table-actions {
  display: flex;
  gap: 0.5rem;
}

/* Purchase Layout */
.purchase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Order Summary */
.order-summary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-row {
  border-top: 1px solid var(--nsi-grey-light);
  padding-top: 1rem;
  font-weight: 600;
  font-size: 1.125rem;
}

/* Quantity Input */
.quantity-input {
  width: 5rem;
  padding: 0.375rem;
  border: 1px solid var(--nsi-grey-medium);
  border-radius: var(--radius);
  text-align: right;
  font-size: 0.875rem;
}

.total-cost {
  font-weight: 500;
}

/* Info Content */
.info-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}

.info-item {
  line-height: 1.6;
}

.info-item a {
  color: var(--nsi-blue-medium);
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

/* Search Grid */
.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-actions {
  display: flex;
  justify-content: flex-end;
}

/* Upload Layout */
.upload-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Alert Styles */
.alert {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.alert-warning {
  background-color: #fef3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
}

.alert-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.alert-description {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* File Requirements */
.file-requirements {
  background-color: var(--nsi-grey-light);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.requirements-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.requirements-list {
  list-style: disc;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.requirements-list li {
  margin-bottom: 0.25rem;
}

/* Instructions */
.instructions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.instruction-item {
  line-height: 1.6;
}

.instruction-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.instruction-text {
  color: var(--nsi-grey-medium);
}

.instruction-text a {
  color: var(--nsi-blue-medium);
  text-decoration: none;
}

.instruction-text a:hover {
  text-decoration: underline;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-success {
  background-color: #d1f2eb;
  color: #0e6b47;
}

.status-warning {
  background-color: #fef3cd;
  color: #856404;
}

.status-error {
  background-color: #f8d7da;
  color: #721c24;
}

/* Footer Styles */

/* Footer Styles */

.footer,
.footer * {
  color: white !important;
  font-size: 2.0rem;
  font-family: "Montserrat", sans-serif;
}

.footer {
  background-color: var(--nsi-blue-dark);
  color: white;
  padding: 2rem 0;
  border-top: 1px solid var(--nsi-blue-medium);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section:first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem; /* Add spacing below logo */
}


.footer-brand {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
}

.footer-tagline,
.footer-motto {
  font-size: 1.5rem;
  margin: 0;
}

.footer-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--nsi-blue-light);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.social-link {
  color: white;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--nsi-blue-light);
}

.footer-bottom {
  width: 100%;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--nsi-blue-medium);
  font-size: 0.75rem;
  color: #ccc;
  display: flex;
  justify-content: center;
}



/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-buttons {
    justify-content: center;
  }

  .logo-showcase {
    height: 12rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: start;
  }

  .social-links {
    justify-content: center;
  }

  .logo-text {
    display: none;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .purchase-layout {
    grid-template-columns: 1fr;
  }

  .upload-layout {
    grid-template-columns: 1fr;
  }

  .table-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .pagination {
    justify-content: center;
  }

  .search-grid {
    grid-template-columns: 1fr;
  }

  .card-footer {
    flex-direction: column;
  }

  .form-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    max-width: 300px;
  }

  .table-container {
    font-size: 0.75rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.5rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .breadcrumb,
  .page-header button,
  .card-footer,
  .form-actions {
    display: none !important;
  }

  .certificate-container {
    box-shadow: none;
    border: 2px solid #000;
  }

  body {
    background: white;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
