/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

 .material-symbols-outlined {
  margin-right: 4px;
  height: 26px;
  vertical-align: middle;
  font-variation-settings:
   'FILL' 0,
   'wght' 300,
   'GRAD' 200,
   'opsz' 40
 }

main {
  font-family: Open Sans;
  font-weight: 400;
  margin: 80px 50px;
  max-width: 960px;
  padding-bottom: 20px;
}

nav .menu>* {
  border-right: 2px solid #FFF;
  margin-right: 10px;
  padding-right: 10px;
}

nav .menu .nav-link-last {
  border-right: none;
  margin-right: 0;
}

nav {
  background: #001D54;
  color: #fff;
  max-width: 100%;
  width: 100vw; /* Force the nav to stay within the viewport width */
  box-sizing: border-box; /* Include padding and border in the width */
}

nav .burger {
  font-size: 1.3em;
}

nav .burger~.menu {
  background: #001D54;
}

nav a {
  color: #fff;
}

@media (max-width: 60em) {
  main {
    margin: 70px 1em;
  }

  nav .menu>* {
    border: none;
  }

  nav {
    max-width: 100%; /* Ensure it doesn't extend beyond the viewport */
  }

  /* Prevent tables or wide content from affecting layout */
  body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }

  table {
    width: 100%; /* Make tables responsive on mobile */
    display: block; /* Ensure they don't stretch the layout */
    overflow-x: auto; /* Allow horizontal scrolling within the table */
  }
}

a {
  color: #2874AF;
}

a:hover {
  color: #B21029;
}

.notice {
  background: #4EB57C;
  padding: 5px;
}

.error {
  color: #FFF;
  background: #B21029;  
}

.pseudo.button.error {
  color: #B21029;
  font-size: .8em;
}

.button, [type=submit] {
  background: #001D54
}

.button.secondary {
  background: #2874AF;
}

.row-category {
  white-space: nowrap;
}

.page-header {
  border-bottom: 2px solid #333;
  margin: .6em auto 1.2em;
  padding-bottom: 1.2em;
}

table.primary {
  background: #Fff;  
}

#to-print table.primary{
  margin: 0 auto;
  padding: 5px;
  border: 1px solid #999;
}

table th {
  background-color: #2874AF;
}

table.primary td {
  font-size: .9em;
}

table.primary td.name-col {
  font-size: 1em;
}

th.status-col, td.status-col {
  padding: .3em .4em;
}

.icon-legend {
  font-size: .8em;
  text-align: center;
  padding: .3em .4em;
  color: #3D3D3D;
}

details summary {
  font-size: 0.9em;
  cursor: pointer;
  margin: 0.2em 0 0;
}

details div {
  padding: 0.5em 0 0 0.5em;
}

article.badge {
  border: 1px solid #999;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  text-align: center;
  padding: 5mm;
  margin: 2em auto 10px;
  width: 85mm;
  height: 51mm;
  font-size: .85em;
  display: flex;
  justify-content: center;
  align-items: center;
  zoom: 130%;
  position: relative;
}

article.badge .checkedin-banner {
  font-size: 10px;
  font-weight: 600;
  padding: 3px;
  position: absolute;
  width: 101mm;
  top: -20px;
  background: #6AB3E7;
  color: #FFF;
}

article.badge .checkedin-banner .material-symbols-outlined {
  font-size: 13px;
  height: 13px;
}

.printed-badge {
  content: ""; /* No content, used purely for styling */
  position: absolute;
  bottom: 0; /* Align at the bottom */
  right: 0; /* Align at the left */
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 50px 50px 0px 0px; /* Creates a triangle */
  border-color: transparent #6AB3E7 transparent transparent; /* Add yellow color to the triangle */
  z-index: 1; /* Ensure it appears above the badge background */
}

.printed-badge .material-symbols-outlined {
  color: white;
  font-size: 20px;
  position: absolute;
  right: -50px;
  bottom: 0;
}

div.badge-content {
  position: relative;
  vertical-align: middle;
  max-height: 45mm;
  width: 75mm;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

article.badge.sticker {
  width: 101mm;
  height: 53mm;
}
.sticker div.badge-content {
  width: 91mm;
  max-height: 51mm;
}

h1.name {
  font-weight: 800;
  font-size: 1.8em;
  margin: 0;
  padding: 0;
  line-height: 1.1em;
}

#inc-checkbox {
  margin: 0;
  display: block;
}

.form-submit {
  padding-top: 21px;
}

.classification {
  padding: 5px 0;
}

.classification .college {
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  padding-top: 0;
  line-height: 26px;
}
.classification .college .material-symbols-outlined {
  font-size: 20px;
  line-height: 26px;
  margin-right: 2px;
}

.classification .major {
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  padding-bottom: 0;
}


.classification .degree {
  font-size: 15px;
  font-weight: 800;
  font-style: italic;
}

.honors {
  padding: 5px 0 0 0
}

.order, .height, .honors {
  text-align: center
}

.action-bar {
  margin: 40px auto;
  text-align: center;
  width: 400px;
}

.badge .bottom-row {
  font-size: 11px;
}

.badge .bottom-row>* {
  padding-bottom: 0;
}

.badge .bottom-row .material-symbols-outlined {
  font-size: 15px;
  height: 15px;
  margin-right: 0px;
}

.full-grad-info {
  font-size: .8em;
  max-width: 500px;
  margin: 1.5em auto;
  padding: 15px;
  background: #efefef;
  border: 1px solid #999;
}

.full-grad-info h3 {
  padding: 0
}

.action-bar, .card-action-bar, .bulk-action-bar {
  margin: 10px auto;
  text-align: center;
}

.bulk-action-bar .button_to, .card-action-bar .button_to{
  display: inline;
}

.card-action-bar {
  max-width: 400px;
  margin-bottom: 3em;
}

.bulk-action-bar {
  max-width: 600px;
}

.instructions {
  color: #C8102E;
  background-color: #c6f26d18;
  border: 1px solid #C8102E;
  max-width: 500px;
  margin: 0 auto;
  padding: 4px;
  text-align: center;
}


@media print {
  nav, #back, #height-modal, .page-header, .action-bar, .notice, .card, .modal,
  .card-action-bar, .bulk-action-bar, .instructions, .printed-badge, .checkedin-banner, .full-grad-info {
    display: none;
  }

  main {
    margin: 0;
    padding: 0;
  }

  html {
    margin: 0;
    padding: 0;
  }

  body {
    margin: 0;
    padding: 0;
    text-align: center;
  }

  body article.badge,
  body article.badge-back {
    border: none;
    margin: 0;
    padding: 0mm;
    size: 89mm 48mm;
    width: 89mm;
    height: 48mm;
    display: flex;
    justify-content: center;
    align-items: center;
    page-break-after: always;
    zoom: 100%;
  }

  body article.badge.sticker {
    width: 101mm;
    height: 53mm;
    size: 101mm 53mm;
    margin-top: -10px
  }

  @page {
    /* size: 70mm 45mm;   /* auto is the initial value */
    
    /* this affects the margin in the printer settings */
    margin: 0mm auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
