/* Elegant oTree Theme */ body { font-family: 'Arial', sans-serif; background-color: #f7f7f7; color: #333; margin: 20px auto 10px 0px; padding: 0px 0px 0px 0px; line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; } .consent-buttons-row { display: flex; justify-content: space-between; align-items: center; width: 100%; } .consent-buttons-row .btn { display: inline-flex; align-items: center; justify-content: center; } .consent-buttons-row .otree-btn-next { margin: 0; } .btn-grey-secondary { background-color: #818488; border: none; color: #fff; padding: 10px 20px; font-size: 16px; border-radius: 5px; transition: background 0.3s; } .btn-grey-secondary:hover { background-color: #3f454c; color: #fff; } .progress-container { margin: 0px 0px -26px 0px } .row { display: flex; align-items: center; gap: 10px; margin: 0; } .table-container { width: 100%; display: flex; } .message-container { align-items:center; display: flex; border: 1.5px; border-left: 10px solid #bdbdbd; border-radius: 0 10px 10px 0; padding: 20px 20px 20px 0px; box-shadow: 0 2px 10px rgba(58,110,165,0.08); } .column-separator { flex: 0 0 40px; display: flex; justify-content: center; align-items: center; color: #666; } .column { display: flex; justify-content: center; align-items:center; margin: 0 auto; } #validation-input { font-family: 'Arial', sans-serif; padding: 7px; } .bold { font-weight: 700; /* or just: bold */ } .left { flex: 0 0 51%; /*border: 1px solid #ccc;*/ align-items: flex-start; /* Align vertically to top */ justify-content: flex-start; /* Align horizontally to left */ text-align: left; display: flex; /* Ensure this column is a flex container */ flex-direction: column; /* Stack children vertically */ padding: 2px 0px 0px 0px; /* spacing inside */ } .right { flex: 0 0 50%; /* border: 1px solid #ccc; */ align-items: flex-start; /* Align vertically to top */ justify-content: flex-start; /* Align horizontally to left */ text-align: left; display: flex; /* Ensure this column is a flex container */ flex-direction: column; /* Stack children vertically */ padding: 2px 0px 0px 0px; /* spacing inside */ } .left-message { flex: 0 0 51%; /*border: 1px solid #ccc;*/ align-items: center; /* Align vertically to top */ justify-content: flex-start; /* Align horizontally to left */ text-align: left; display: flex; /* Ensure this column is a flex container */ flex-direction: column; /* Stack children vertically */ padding: 2px 0px 0px 0px; /* spacing inside */ } .right-message { flex: 0 0 50%; /* border: 1px solid #ccc; */ align-items: center; /* Align vertically to top */ justify-content: flex-start; /* Align horizontally to left */ text-align: left; display: flex; /* Ensure this column is a flex container */ flex-direction: column; /* Stack children vertically */ padding: 2px 0px 0px 0px; /* spacing inside */ } .center-span { display: block; margin: 0 auto; /* horizontally centers the span */ width: fit-content; /* shrink to fit content */ text-align: center; } .center-message { display: flex; text-align: center; justify-content: center; margin: 0 auto; width: 100%; } .message-box { display: flex; align-items: center; border: 1px solid #ccc; border-radius: 6px; width: 36%; height: 50px; font-family: Arial, sans-serif; color: #888; background-color: #fff; overflow: hidden; } .message-box-structured { display: flex; align-items: center; border: 1px solid #ccc; border-radius: 6px; width: 550px; height: 50px; font-family: Arial, sans-serif; color: #888; background-color: #fff; overflow: hidden; } .message-box-NL { display: flex; align-items: center; border: 1px solid #ccc; border-radius: 6px; width: 550px; height: 50px; font-family: Arial, sans-serif; color: #888; background-color: #fff; overflow: hidden; } .icon-area { width: 50px; height: 100%; background-color: #f5f5f5; display: flex; align-items: center; justify-content: center; } .icon-area img { width: 20px; height: 20px; opacity: 0.6; } .message-text { flex: 1; text-align: center; font-style: italic; padding: 1px } .questions-header-row { display: flex; align-items: flex-start; width: 100%; gap: 20px; } .questions-header-main { flex: 0 0 75%; } .questions-header-side { flex: 0 0 25%; align-self: stretch; display: flex; align-items: center; } .questions-frame { padding: 10px 10px 5px 10px; /* spacing inside */ margin: 20px 0; /* spacing around frame */ border: 1.5px solid #d7dde5; border-radius: 8px; font-size: 1rem; background: #f5f5f5; box-shadow: 0 2px 10px rgba(58,110,165,0.08); } .frame-container { padding: 20px 20px 10px 20px; /* spacing inside */ margin: 20px 0; /* spacing around frame */ border: 1.5px solid #d7dde5; border-radius: 8px; font-size: 1rem; background: #f5f5f5; box-shadow: 0 2px 10px rgba(58,110,165,0.08); } .frame-container-example { padding: 10px 20px 10px 20px; /* spacing inside */ margin: 20px 0; /* spacing around frame */ border: 1.5px solid #d7dde5; border-radius: 8px; font-size: 1rem; } .frame-container-example__header { font-size: 1rem; /* same as main text size */ margin-bottom: 8px; } .container { max-width: 1400px; margin: 0px auto 10px auto; /* top right bottom left */ background: white; padding: 0px; border-radius: 10px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); } .otree-title { background-color: #2c3e50; /* blue background */ color: white; /* white text */ padding: 10px 20px; /* optional padding for better spacing */ border-radius: 10px 10px 0 0; /* optional: adds rounded corners */ margin: 0px 0px 20px; } .main-text { width: 100%; /* add this */ flex: 1; padding: 0px 20px 0px 20px; margin: auto auto 50px auto; } .btn-primary { background-color: #2c3e50; border: none; padding: 10px 20px; font-size: 16px; border-radius: 5px; transition: background 0.3s; } .btn-primary:hover { background-color: #2980b9; } .waiting-bottom-button { display: flex; justify-content: center; width: 100%; margin: 20px 0 0 0; } summary, details { margin: 0; padding: 0; } details { width: 100%; margin: 0 0 0 0; border: 1px solid #d7dde5; border-left: 4px solid #aeb8c5; border-radius: 8px; transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; } summary { list-style: none; cursor: pointer; padding: 10px 14px; display: flex; align-items: center; justify-content: flex-start; /* was space-between */ text-align: left; user-select: none; gap: 8px; } summary::-webkit-details-marker { display: none; } summary::after { content: "▾"; margin-left: auto; /* pushes arrow to the right */ transition: transform 0.18s ease, color 0.18s ease; } details[open] summary::after { transform: rotate(180deg); } details:hover { border-color: #c4ccd7; background: #f5f5f5; } details:focus-within { border-color: #7d93ad; box-shadow: 0 0 0 3px rgba(125, 147, 173, 0.15); } details > :not(summary) { padding: 0 14px 12px 14px; line-height: 1.55; font-size: 0.95rem; } .circle-container { position: relative; width: 200px; height: 200px; border: 2px solid #000; border-radius: 50%; background: #eee; overflow: hidden; font-family: 'Arial', sans-serif; } .circle-labels { position: absolute; font-size: 13px; font-weight: bold; color: white; pointer-events: none; } .bar-container { position: relative; width: 500px; height: 30px; border: 2px solid #000; border-radius: 6px; background: #eee; overflow: hidden; } /* Graduations */ .bar-container::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(to right, black 1px, transparent 1px); background-size: 10% 100%; pointer-events: none; } /* Labels 0–10 */ .bar-labels { display: flex; justify-content: space-between; width: 500px; margin-top: 5px; font-family: 'Arial', sans-serif; } /* Legend */ .legend { margin-top: 15px; margin-bottom: 15px; font-family: 'Arial', sans-serif; display: flex; gap: 20px; align-items: center; } .legend-item { display: flex; align-items: center; gap: 6px; } .legend-color { width: 20px; height: 20px; border: 1px solid #000; } .red { background: red; } .blue { background: blue; } .yellow { background: yellow; } .green { background: green; }