/* --------------------------------------------------------- Resizable Text Boxes ---------------------------*/
#exerciseContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 20px;
  font-size: 20px;
}

#exerciseContainer button,
#exerciseContainer input[type="button"],
#exerciseContainer input[type="submit"] {
  font-size: 20px;
}

.inputsDiv {
  width: auto;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.input-sizer {
  display: -ms-inline-grid;
  display: inline-grid;
  vertical-align: top;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 0;
  border: solid 1px;
  padding: 0.25em 0.5em;
  margin-right: 20px;
}

.input-sizer.stacked {
  padding: 0.5em;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

.input-sizer.stacked::after,
.input-sizer.stacked input,
.input-sizer.stacked textarea {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: 2/1;
}

.input-sizer::after,
.input-sizer input,
.input-sizer textarea {
  width: auto;
  min-width: 1em;
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: 1/2;
  font: inherit;
  padding: 0.25em;
  margin: 0;
  resize: none;
  background: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
}

.input-sizer span {
  padding: 0.25em;
}

.input-sizer::after {
  content: attr(data-value) " ";
  visibility: hidden;
  white-space: pre-wrap;
}

.input-sizer:focus-within {
  outline: solid 1px blue;
}

.input-sizer:focus-within > span {
  color: blue;
}

.input-sizer:focus-within textarea:focus,
.input-sizer:focus-within input:focus {
  outline: none;
}

.input-sizer > span {
  text-transform: uppercase;
  font-size: 1em;
  font-weight: bold;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

/* ===== ENHANCED PAGE LAYOUT STYLES ===== */

/* Page Header */
.page-header {
    padding: 30px 0;
    margin-bottom: 30px;
}

.page-header h1 {
    color: #495057;
    margin-bottom: 25px;
    font-size: 2.2em;
    text-align: center;
}

/* Version Notice */
.version-notice {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 6px;
    padding: 15px 20px;
    margin: 20px 0;
    text-align: center;
}

.version-notice p {
    margin: 0;
    color: #1976d2;
    font-size: 0.95em;
    line-height: 1.4;
}

.version-notice a {
    color: #1565c0;
    text-decoration: underline;
    font-weight: 500;
}

.version-notice a:hover {
    color: #0d47a1;
}

/* Navigation Button */
.nav-button {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background: #5a6268;
    color: #1875d0;
    text-decoration: underline;
}

/* Workflow Steps */
.workflow-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.step-item {
    color: #6c757d;
    font-size: 0.9em;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

/* User Status */
.user-status {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.user-status.logged-in {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.user-status.logged-out {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.status-icon {
    font-size: 1.2em;
    margin-right: 10px;
}

.user-status p {
    margin: 0;
}

.user-status a {
    color: inherit;
    text-decoration: underline;
}

/* Exercise Creator */
.exercise-creator {
    max-width: 800px;
    margin: 0 auto;
}

/* Form Sections */
.form-section {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-section h2 {
    color: #495057;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.current-sentence-section {
    border-left: 4px solid #007bff;
}

/* Sentence Input Group */
.sentence-input-group {
    margin-bottom: 20px;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 30px;
}

.success-message h2 {
    color: #28a745;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.success-message p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.url-display {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border: 2px solid #28a745;
    border-radius: 6px;
    display: inline-block;
}

.activity-url {
    color: #007bff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    word-break: break-all;
}

.activity-url:hover {
    color: #0056b3;
    text-decoration: underline;
}

.action-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .create_button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    color: white;
    border: 2px solid #007bff;
    background: #007bff;
    cursor: pointer;
    font-size: 16px;
}

.action-buttons .create_button.secondary {
    background: #6c757d;
    border: 2px solid #6c757d;
    color: white;
}

.action-buttons .create_button:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.action-buttons .create_button.secondary:hover {
    background: #5a6268;
    border-color: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

/* Options Section */
.options_section h3 {
    color: #495057;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.options-instruction {
    color: #6c757d;
    margin-bottom: 15px;
    font-style: italic;
}



/* Add Sentence Button */
.add-sentence-btn {
    background: #28a745;
    border-color: #28a745;
    margin-top: 15px;
}

.add-sentence-btn:hover {
    background: #218838;
    border-color: #1e7e34;
}

/* Sentences Container */
.sentences_container {
    margin: 25px 0;
    padding: 20px 0;
}

.sentences_container h2 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.3em;
}

/* Sentence Counter */
.sentence_counter {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
}

.counter-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.counter-text {
    font-weight: bold;
    color: #495057;
    white-space: nowrap;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #007bff;
    width: 0%;
    transition: width 0.3s ease;
}

/* Create Section */
.create-section {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.create-activity-btn {
    background: #007bff;
    border-color: #007bff;
    font-size: 1.1em;
    padding: 12px 30px;
}

.create-activity-btn:hover {
    background: #0056b3;
    border-color: #0056b3;
}

/* ===== SIMPLE MULTIPLE CHOICE STYLES ===== */

.gap_selector {
    margin: 20px 0;
}

.create_select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: white;
    cursor: pointer;
}

.create_select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.options_section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

/* Sentences Container */
.sentences_container {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background: #f8f9fa;
    min-height: 100px;
}

.sentence-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    position: relative;
}

.sentence-item:last-child {
    margin-bottom: 0;
}

.sentence-item.editing {
    background-color: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 6px;
    padding: 15px;
    margin: 10px 0;
}

.sentence-item.editing .sentence-text {
    color: #1976d2;
    font-weight: 600;
}

.sentence-item.editing .edit_sentence_btn {
    background: #2196f3 !important;
    border-color: #2196f3 !important;
    color: white !important;
}

.sentence-text {
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 10px !important;
}

.sentence-text .gap {
    background-color: #e3f2fd;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid #2196f3;
    font-weight: bold;
    color: #1976d2;
}

.sentence-options {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    color: #666 !important;
}

.sentence-options strong {
    color: #333 !important;
    font-weight: 600 !important;
}

.sentence-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 8px !important;
}

.sentence_number {
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.edit_sentence_btn {
    padding: 6px 12px !important;
    border: 1px solid #6c757d !important;
    background: #6c757d !important;
    color: white !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.edit_sentence_btn:hover {
    background: #5a6268 !important;
    transform: translateY(-1px) !important;
}

.delete_sentence_btn {
    padding: 6px 12px !important;
    border: 1px solid #dc3545 !important;
    background: #dc3545 !important;
    color: white !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.delete_sentence_btn:hover {
    background: #c82333 !important;
    transform: translateY(-1px) !important;
}

.add-sentence-section {
    margin-top: 20px;
    padding: 15px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    text-align: center;
    background-color: #f8f9fa;
}

.add_sentence_btn {
    background-color: #28a745 !important;
    color: white !important;
    border: 2px solid #28a745 !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.add_sentence_btn:hover {
    background-color: #218838 !important;
    border-color: #1e7e34 !important;
    transform: translateY(-1px) !important;
}

/* Form Styles */
.create_formhead {
    display: block;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 5px;
    color: #333;
}

.create_textinput {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 15px;
}

.create_textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    resize: vertical;
    margin-bottom: 15px;
}

.create_button {
    padding: 10px 20px;
    border: 1px solid #007bff;
    background: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    margin-top: 10px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.create_button:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
}

.create_button:disabled {
    background: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* Error and Success Messages */
.error {
    color: #dc3545;
    font-weight: bold;
    margin-top: 10px;
}

.success {
    color: #28a745;
    font-weight: bold;
    margin-top: 10px;
}

/* Options Container and Draggable Options */
.options_container {
    max-width: 100%;
    list-style: none;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
}

.option_box {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    margin: 5px 0;
    position: relative;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.option_box:hover {
    border-color: #007bff;
    background: #e3f2fd;
}

.option_box.correct {
    border-color: #28a745;
    background: #f8fff9;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    position: relative;
    cursor: grab;
}

.option_box.correct:hover {
    cursor: grabbing;
}

.group:after {
    content: "";
    display: table;
    clear: both;
}

.handle {
    float: right;
    cursor: move;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.handle:after {
    content: "\2261";
    font-size: 35px;
    line-height: 50px;
    color: #28a745;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.slip-reordering {
    -webkit-box-shadow: 0 0 5px 5px rgba(0,0,0,0.02);
    box-shadow: 0 0 5px 5px rgba(0,0,0,0.03);
}









.option_input {
    width: 100%;
    padding: 8px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 16px;
    background: #f8f9fa;
}

.option_input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.correct_label {
    font-weight: bold;
    color: #28a745;
    margin-right: 8px;
    display: inline-block;
}

.correct_text {
    font-weight: normal;
    color: #28a745;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
}





/* Removed unused drop zone indicators */

/* Removed unused drag-over indicator styles */

/* Responsive Design */
@media (max-width: 768px) {
    .options_section {
        padding: 15px;
    }
    
    .create_button {
        width: 100%;
    }

    .options_container {
        padding: 10px;
    }
    
    .option_box {
        padding: 10px;
    }
    
    .success-message {
        padding: 20px 15px;
    }
    
    .success-message h2 {
        font-size: 24px;
    }
    
    .activity-url {
        font-size: 16px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .create_button {
        width: 100%;
        max-width: 300px;
    }
}

/* ---------------------------------- */
/*# sourceMappingURL=multi.css.map */