/* ============================================ Welfare Study — Global Styles ============================================ */ /* General page layout */ body { font-size: 16px; line-height: 1.6; } .container { max-width: 850px; } /* Cards */ .card { box-shadow: 0 1px 3px rgba(0,0,0,0.08); border-radius: 8px; } .card-header { background-color: #f8f9fa; } /* Buttons */ .btn-large { padding: 10px 30px; font-size: 1.05em; } .btn-primary { background-color: #0d6efd; border-color: #0d6efd; } /* Info boxes */ .alert-warning { border-left: 4px solid #ffc107; } /* Collapsible sections */ .collapse .card-body { background: #f9f9f9; } /* Form elements */ .form-check { margin-bottom: 8px; } .form-check-input:checked { background-color: #0d6efd; border-color: #0d6efd; } /* Development skip button */ .otree-btn-next.btn-danger { position: fixed; top: 10px; right: 10px; z-index: 9999; opacity: 0.7; } .otree-btn-next.btn-danger:hover { opacity: 1; } /* MPL table styles */ .mpl-table { width: 100%; border-collapse: collapse; margin: 15px 0; } .mpl-table th { background: #333; color: white; padding: 10px 15px; text-align: center; font-weight: 600; } .mpl-table td { padding: 8px 12px; border: 1px solid #ddd; text-align: center; cursor: pointer; transition: background-color 0.15s ease; user-select: none; } .mpl-table tbody tr:hover td { background-color: #FFA500; color: #000; } .mpl-table td.selected { background-color: #FF8C00; font-weight: bold; } .mpl-table input[type="radio"] { cursor: pointer; transform: scale(1.2); margin-right: 5px; } /* Attention check box */ .attention-check { background: #fff3cd; border: 1px solid #ffc107; border-radius: 5px; padding: 15px; margin-bottom: 15px; } /* Disabled sections */ .choice-section.disabled { opacity: 0.35; pointer-events: none; } /* Case sections */ .case-section { border: 1px solid #ccc; border-radius: 8px; padding: 20px; margin-bottom: 20px; background: #fafafa; } .case-header { font-weight: bold; font-size: 1.1em; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #333; } /* Step indicators */ .step-indicator { display: inline-block; background: #007bff; color: white; border-radius: 50%; width: 30px; height: 30px; text-align: center; line-height: 30px; margin-right: 8px; font-weight: bold; } .step-title { font-size: 1.2em; font-weight: bold; margin-bottom: 15px; padding: 10px; background: #e3f2fd; border-radius: 5px; } /* MS info box */ .ms-info { background: #fff3cd; border-left: 4px solid #ffc107; padding: 10px 15px; margin-bottom: 15px; font-style: italic; } /* Skipped MPL message */ .mpl-skipped { background: #f0f0f0; border: 1px dashed #999; border-radius: 5px; padding: 15px; text-align: center; color: #666; font-style: italic; } /* Likert scale display */ .d-flex .form-check-inline { text-align: center; min-width: 60px; } /* Progress indicator */ .progress-bar-custom { height: 6px; background: #e9ecef; border-radius: 3px; margin-bottom: 20px; } .progress-bar-custom .fill { height: 100%; background: #0d6efd; border-radius: 3px; transition: width 0.3s ease; }