

i {
  padding: 10px;

}
.downer {
  padding-top: 5px;
}

#aiModal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.toast-header {
  background-color: #B6C8E0;
  color: white;
  font-weight: bold;
}
.toast-body {
  background-color: #ffbdc5;
  color: black;
  font-size: 18px;
}

#flashdeckList {
  height: 700px;
  overflow-y: scroll;
}

      .trophy {
        background: linear-gradient(
          135deg,
          var(--color-blue),
          var(--color-pink)
        );
        color: white;
        padding: 1rem;
        font-size: 32px;
        border-radius: 12px;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 1rem;
        width: 50%;
      }

      .flashcard-feedback {
        padding: 30px;
        border-radius: 12px;
        background-color: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

        margin-bottom: 1rem;
        color: black;

      }

      #aiResponse {
        background-color: #f9f9f9;
        padding: 1em;
        margin: 0.5em 0;
        border-radius: 10px;
      }


      /* Additional styles for the "Add More Cards" button */
      .add-button {
        background-color: var(--color-peach);
        color: #333;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        border: none;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s ease;
      }
      .add-button:hover {
        background-color: var(--color-coral);
        color: white;
      }

      
      .modal-content {
        background-color: white;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
   
      }
      .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
      }
      .close:hover {
        color: black;
      }
      /* Flashdeck Edit Container styles */
      .flashdeck-edit-container {
        max-height: 400px;
        overflow-y: auto;
        padding-right: 10px;
      }
      .flashcard-edit-item {
        display: flex;
        gap: 10px;
        margin-bottom: 1rem;
        align-items: center;
      }
      .flashcard-edit-item label {
        font-weight: bold;
        flex-shrink: 0;
      }
      .flashcard-input {
        flex: 1;
        padding: 0.5rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        width: 45%;
      }
      .save-button {
        background-color: var(--color-blue);
        color: white;
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s ease;
      }
      .save-button:hover {
        background-color: var(--color-coral);
      }


      #flashcard-container {
        width: 50%;
      }
      :root {
        --color-sky: #e0f0f9;
        --color-blue: #b6c8e0;
        --color-pink: #ffbdc5;
        --color-peach: #fecfc9;
        --color-coral: #ffa59b;
      }

      body {
        background-color: var(--color-sky);
        font-family: "Inter", sans-serif;
      }

      .navbar {
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      }

      .navbar-brand {
        color: var(--color-coral);
        font-weight: 700;
        font-size: 1.5rem;
      }

      .nav-link {
        color: #666;
        transition: all 0.3s ease;
       padding: 10px;
        border-radius: 8px;
        margin: 0 0.25rem;
        font-size: 20px;
        cursor: pointer;
        display: flex;
      }

      .nav-link span {
        margin-top: 0.5rem;
      }

   

      .nav-link:hover {
        background-color: var(--color-peach);
        color: #333;
      }

      .sec {
        background-color: white;
        border-radius: 16px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        padding: 2rem;
        margin: 2rem 0;
      }

      .section-style {
        background-color: white;
        border-radius: 16px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        padding: 2rem;
        margin: 2rem 0;
      }

      .streak-counter {
        background: linear-gradient(
          135deg,
          var(--color-pink),
          var(--color-coral)
        );
        color: white;
        padding: 1rem 2rem;
        border-radius: 12px;
        display: inline-block;
        font-weight: 600;
      }

      .flashcard-text {
        font-size: 28px;
        margin-bottom: 50px;
        min-height: 150px;
      }

      #calendarContainer {
        min-height: 550px;
      }

      button {
        background-color: var(--color-blue);
        color: #333;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        border: none;
        font-weight: 600;
        transition: all 0.3s ease;
        margin: 5px
      }

      button:hover {
        background-color: var(--color-coral);
        color: white;
      }

      input,
      textarea {
        background-color: var(--color-sky);
        border: 2px solid var(--color-blue);
        border-radius: 8px;
        padding: 0.75rem;
        width: 100%;
        margin-bottom: 1rem;
      }

      table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 0.5rem;
      }

      th {
        background-color: var(--color-blue);
        color: #333;
        padding: 1rem;
        text-align: left;
        border-radius: 8px;
      }

      td {
        background-color: var(--color-sky);
        padding: 1rem;
        border-radius: 8px;
      }

      .flashcard {
        background-color: var(--color-peach);
        padding: 2rem;
        border-radius: 12px;
        margin-bottom: 1rem;
        transition: all 0.3s ease;
      }

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

      .trophy {
        background: linear-gradient(
          135deg,
          var(--color-blue),
          var(--color-pink)
        );
        color: white;
        padding: 1rem;
        border-radius: 12px;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 1rem;
      }

      .modal-navigation {
        margin-top: 1rem;
        text-align: center;
      }

      .modal {
        display: none;
        position: fixed;
        z-index: 1;
        padding-top: 100px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.4);
      }

      

      .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
      }



      @media (max-width: 768px) {
       
        /* lets hide everything and show a new ui for mobile only */
        .desktop-only {
          display: none;
        }
        .mobile-only {
          display: block;
        }
       
      

      }

      /* reverse on desktop */
      @media (min-width: 768px) {
        .mobile-only {
          display: none;
        }
        .desktop-only {
          display: block;
        }
      }
