/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

  .compare-chinese-pinyin {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 10px;
      background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
      border-radius: 10px;
      padding: 20px;
      margin-top: 20px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .compare-chinese-pinyin::after {
      content: "";
      flex: auto;
  }

  .word-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 8px 12px;
      background: rgba(255, 255, 255, 0.9);
      border-radius: 6px;
      min-width: 60px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      transition: transform 0.2s, box-shadow 0.2s;
  }

  .word-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .compare-pinyin {
      font-size: 12px;
      color: #666;
      margin-bottom: 4px;
      text-align: center;
  }

  .compare-chinese {
      font-size: 18px;
      font-weight: bold;
      color: #333;
      text-align: center;
      font-family: 'kai';
  }

  .preview-section {
      background: white;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .section-title {
      font-size: 20px;
      font-weight: bold;
      color: #333;
      margin-bottom: 15px;
      text-align: center;
  }

  .error-message {
      background: #ffebee;
      color: #c62828;
      padding: 10px;
      border-radius: 6px;
      margin-top: 10px;
      border-left: 4px solid #c62828;
  }

  .topnav {
    background-color: lightgoldenrodyellow;
    overflow: hidden;
    display: flexbox;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-size: 22px;
  }

  .topnav p {
    padding: 1rem 1rem;
  }

  .topnav-right {
    float: right;
    overflow: hidden;
  }

  .topnav-container{
    display: inline-block;
    vertical-align: middle;
    padding: 0rem 1rem;
  }

  .topnav-child{
    display: inline-block;
    vertical-align: middle;
    padding: 1rem 1rem;
  }


  .title {
    font-size: 50px;
    font-family: 'kai';
    padding-bottom: 1rem;
    position: relative;
    align-self: flex-end;
    text-align: center;
  }

  .classroom-icon {
    width: 100%;
    overflow: hidden;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-size: 22px;
  }

  .classroom-container {
    border: 2mm ridge black;
    margin: 20px;
    margin-bottom: 0;
  }

  .assignment-icon-container {
    border: 2mm ridge black;
    margin: 20px;
    margin-bottom: 0;
    color: black !important;
    text-decoration: none !important;
    padding: 2rem;
    text-align: center;
  }

  .width-25 {
    width: 300px;

  }

  .round-10 {
    border-radius: 10%;
  }

  .classname {
    padding-top: 10px;
  }

  textarea { resize: none; }

  .typing-text {
    white-space: nowrap;
  }

  .content-icon {
    color: black;
  }

  .content-link {
    color:darkslategrey;
    text-decoration: none;
  }

  .typing-input {
    border: 1px solid #bbb;
    font-family: 'kai';
    font-size: 33px;
    padding: 6px 3px;
    margin-bottom: 15px;
    margin-top: 8px;
  }

  .upinyin {
    display: block;
    font-size: 16px;
    font-family: none;
    text-align: center;
    height: 20px
  }

  .uchinese {
    display: block; font-size:30px; margin-left: 3px; text-align: center
  }

  .typing-input:focus {
    background-color: aliceblue;
  }

  u {
    white-space: nowrap;
    font-family: 'kai';
    flex-wrap:nowrap;
    text-decoration: none;
  }

  .error-char {
    color: red;
    font-weight: bolder;
  }

  .next-word {
      content : "";
      left    : 0;
      bottom  : 0;
      width   : 100%;
      border-bottom: 2px solid green;
    }

  .compare-chinese-pinyin {
    display: flex;
    flex-wrap: wrap;
    width: auto
  }

  .compare-pinyin {
    display: block;
    font-size: 20px;
    font-family: none;
    text-align: center;
  }

  .compare-char {
    display: block;
    font-size:30px;
    font-family: none;
    margin-left: 3px;
    text-align: center;
  }

  .next-div { 
    display: flex; 
    padding-bottom: 10px;
    position: relative
   }
  .next-div:before {
    content: "";
    width: 85%;  /* or 100px */
    border-bottom: 2px solid green;
    position: absolute;
    bottom: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
  }

  .assignment-name {
    text-decoration:  none;
  }

  .card-icon {
    overflow: hidden;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-size: 22px;
    font-weight: 500;
    width: 100%;
  }

  .class-info {
    font-size: 40px;
    font-weight: 600;
    color:brown;
    float: right;
    text-align: right;
  }

  .assignment-info {
    font-size: 40px;
    font-weight: 600;
    color:brown;
  }

  .left-card-top-level {
    float: left;
  }


  .right-card-top-level {
    display: inline-block;
    overflow: auto;
    white-space: nowrap;
    padding-top: 2rem;
    padding-left: 2rem;

    align-content: center;
  }

  .chinese-pinyin-div-tag {
    color:black;
    margin-block-start: 2px;
    font-family: 'kai';
  }

  .input-text {
    font-family: 'kai';
    padding: 0px 5px;
  }

  .article-char {
    font-size: x-large;
    font-weight: 900;
  }



  .date-picker {
    background-color: lightskyblue;
    width: 20%;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .puzzle-card { 
    display: flex;
  }

  .kaiti {
    font-family: 'kai';
  }

  .left-puzzle-card {
    margin-right: 1rem;
    color: darkgrey;
    font-size: 25px;
  }

  .puzzle-text {
    color: black;
    text-decoration: none;
    font-size: 20px;
  }

  .puzzle-input {
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    padding: 4px;
    font-size: 20px;
    border: 1px solid lightskyblue;
    border-radius: 1%;
  }

  .puzzle-title-input {
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    padding: 4px;
    font-size: 20px;
    border: 1px solid lightskyblue;
    border-radius: 1%;
  }

  .puzzle-input:focus {
    background-color: aliceblue;
  }

  .puzzle-input:disabled {
    background-color: darkgrey;
    color: white
  }

  .margin-right-20 {
    margin-right: 20px;
  }

  .right-buttons {
    float: right;
    margin-bottom: 5rem;
    padding-right: 3rem
  }

  .width-80 {
    width: 80%;
  }

  .margin-left-10 {
    margin-left: 10px;
  }

  .student-submission-card {
    margin: 20px;
    margin-bottom: 0;
    padding: 2rem;
    text-align: center;
    resize: none;
    text-wrap: nowrap;
    flex-wrap: wrap;
    align-self: center;
  }
  
  .submissions-container {
    justify-content: center;
    flex-wrap: wrap;
  }

  .score-buttons {
    padding-top: 10px;
    display: flex;
  }

  .score-btn {
    margin-right: 10px;
  }



  

  .left-panel {
    resize: none;
  }


  .right-panel {
    float: right;
    align-self: top;
  }


  .puzzle-answer {
    color: grey !important;
    text-decoration: none !important;
  }

  .puzzle-submission {
    color: black !important;
    text-decoration: none !important;
  }

  .puzzle-card-kaiti-submission {
    display: flex;
    font-family: 'kai';
    padding-bottom: 1rem;
    border-bottom: black 1px solid;
    margin-bottom: 2px;
    font-size: 22px;
    text-align: left;
  }

  .scored-btn {
    --bs-btn-bg: red;
  }

  .scored { 
    background-color: lightyellow;
  }

  .margin-3rem {
    margin: 3rem;
  }

  .font-22 {
    font-size: 22px;
  }

  .font-20 {
    font-size: 20px;
    font-family: 'kai';
    text-align: left;
  }

  .margin-bottom-2 {
    margin-bottom: 2rem;
  }

  .matching {
    color: black;
  }

  .article-submission-char {
    font-size: x-large;
  }

  .pinyin-span {
    font-family: 'system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif';
    margin-left: 15px
  }

  .student-card {
    padding: 20px 0;
  }

  .student-card:hover {
    border: 0px dashed gray;
    border-radius: 10px;
    background-color: #f9f9f9;
    font-weight: bold;
  }

  .student-info-col {
    border: solid 1px black;
    padding: 15px;
    margin: 15px;
    font-size: 20px;
  }