.sentiment {
    padding-bottom: 50px;
    color: black;
    text-align: center;
}

h1 {
    letter-spacing: 10px;
    text-align: center;
}

div.divide {
  margin-top: 1.7em;
}

.button {
    width: 100%;
    text-align: center;
}

.button.button-primary {
    color: whitesmoke;
    background-color: cornflowerblue;
    border-color: cornflowerblue;
    text-align: center;
}

.button.button-primary:hover {
    background-color: #4670ba;
    border-color: #4670ba;
}

.button.button-pos {
    background-color: #90C590;
    border-color: #90C590;
    text-align: center;
}

.button.button-pos:hover {
    background-color: green;
    border-color: green;
    color: whitesmoke;
}

.button.button-neg {
    background-color: #FF7F7F;
    border-color: #FF7F7F;
    text-align: center;
}

.button.button-neg:hover {
    background-color: red;
    border-color: red;
    color: whitesmoke;
}

.button.button-neu {
    background-color: lightgrey;
    border-color: lightgrey;
    text-align: center;
}

.button.button-neu:hover {
    background-color: #545454;
    border-color: #545454;
    color: whitesmoke;
}

input[type="radio"], input[type="checkbox"] {
    display: none;
}

input[id="pos"]:checked + label {
    background-color: darkgreen;
    border-color: darkgreen;
    color: whitesmoke;
}

input[id="neut"]:checked + label {
    background-color: #545454;
    border-color: #545454;
    color: whitesmoke;
}

input[id="neg"]:checked + label {
    background-color: red;
    border-color: red;
    color: whitesmoke;
}

input[id="ant"] {
    border-color: #888;
    background-color: #E8F3E8;
}

input[id="ant"]:checked + label {
    border-color: #888;
    background-color: #D2E7D2;
}

input[id="joy"] {
    border-color: #888;
    background-color: #E8F3E8;
}

input[id="joy"]:checked + label {
    border-color: #888;
    background-color: #D2E7D2;
}

input[id="sur"] {
    border-color: #888;
    background-color: #E8F3E8;
}

input[id="sur"]:checked + label {
    border-color: #888;
    background-color: #D2E7D2;
}

input[id="tru"] {
    border-color: #888;
    background-color: #E8F3E8;
}

input[id="tru"]:checked + label {
    border-color: #888;
    background-color: #D2E7D2;
}

input[id="ang"] {
    border-color: #888;
    background-color: #FFCCCC;
}

input[id="ang"]:checked + label {
    border-color: #888;
    background-color: #FFCCCC;
}

input[id="fea"] {
    border-color: #888;
    background-color: #FFCCCC;
}

input[id="fea"]:checked + label {
    border-color: #888;
    background-color: #FFCCCC;
}

input[id="sad"] {
    border-color: #888;
    background-color: #FFCCCC;
}

input[id="sad"]:checked + label {
    border-color: #888;
    background-color: #FFCCCC;
}

input[id="dis"] {
    border-color: #888;
    background-color: #FFCCCC;
}

input[id="dis"]:checked + label {
    border-color: #888;
    background-color: #FFCCCC;
}

#submit {
    color: whitesmoke;
    border-color: cornflowerblue;
    background-color: cornflowerblue;
}

#submit:hover {
    border-color: #4668A5;
    background-color: #4668A5;
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  margin: 10px 0;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: #d3d3d4;
  border-radius: 1px;
  border: 0 solid #010101;
}

input[type=range]::-webkit-slider-thumb {
  border: 1px solid rgba(0, 0, 0, 0);
  height: 30px;
  width: 30px;
  border-radius: 50px;
  background: #6ca1ff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -10px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  background: #dbdbdc;
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: #d3d3d4;
  border-radius: 1px;
  border: 0 solid #010101;
}

input[type=range]::-moz-range-thumb {
  border: 1px solid rgba(0, 0, 0, 0);
  height: 30px;
  width: 30px;
  border-radius: 50px;
  background: #6ca1ff;
  cursor: pointer;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type=range]::-ms-fill-lower {
  background: #cbcbcc;
  border: 0 solid #010101;
  border-radius: 3px;
}

input[type=range]::-ms-fill-upper {
  background: #d3d3d4;
  border: 0 solid #010101;
  border-radius: 3px;
}

input[type=range]::-ms-thumb {
  border: 1px solid rgba(0, 0, 0, 0);
  width: 30px;
  border-radius: 50px;
  background: #6495ED;
  cursor: pointer;
  height: 8px;
}

input[type=range]:focus::-ms-fill-lower {
  background: #d3d3d4;
}

input[type=range]:focus::-ms-fill-upper {
  background: #dbdbdc;
}

/* === EmoMap wheel styles === */
/* Optional standalone copy of the EmoMap styles. The installer appends this
   file to static/css/custom.css so existing Sentimentator styling is retained. */
.emomap-subtitle { margin-top:-1.4rem; text-align:center; color:#777; }
.emomap-stimulus { font-size:2.2rem; line-height:1.5; text-align:center; margin:2rem auto; }
.emomap-stimulus mark { padding:.15em .25em; border-radius:.2em; }
.emomap-instruction { max-width:82rem; margin:0 auto 2rem; text-align:center; color:#555; }
.emomap-layout { display:grid; grid-template-columns:minmax(0, 2fr) minmax(220px, 1fr); gap:3rem; align-items:start; }
.emomap-wheel-column { min-width:0; }
.wheel-stage { position:relative; width:100%; max-width:760px; margin:0 auto; cursor:crosshair; user-select:none; }
.wheel-stage img { display:block; width:100%; height:auto; }
#wheel-markers { position:absolute; inset:0; pointer-events:none; }
.wheel-marker { position:absolute; transform:translate(-50%,-50%); width:2.7rem; height:2.7rem; border-radius:50%; background:rgba(255,255,255,.94); border:2px solid #222; color:#111; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:1.25rem; box-shadow:0 1px 4px rgba(0,0,0,.3); pointer-events:auto; cursor:context-menu; }
.wheel-controls { display:flex; gap:1rem; justify-content:center; margin-top:1rem; }
.wheel-controls .button { width:auto; }
.coarse-panel { border:1px solid #ddd; border-radius:.6rem; padding:1.7rem; }
.coarse-panel legend { font-weight:600; padding:0 .5rem; }
.coarse-panel .button { margin-bottom:1rem; }
.button.button-neither { background:#e6e6e6; border-color:#ccc; }
.button.button-both { background:#e4d8f1; border-color:#c6aedf; }
input[id="neither"]:checked + label { background:#555; border-color:#555; color:white; }
input[id="both"]:checked + label { background:#6b3f8c; border-color:#6b3f8c; color:white; }
.requirement-status { text-align:center; color:#8a2f2f; }
.requirement-status.complete { color:#287a36; }
#submit:disabled { opacity:.45; cursor:not-allowed; }
.emomap-flashes { max-width:82rem; margin:1rem auto; padding:1rem 1.5rem; background:#fff4cf; border:1px solid #eed47d; border-radius:.4rem; }
@media (max-width: 800px) { .emomap-layout { grid-template-columns:1fr; } .coarse-panel { max-width:560px; margin:0 auto; width:100%; } }

/* === EmoMap hardening styles === */
.emomap-header { margin-top: 3rem; margin-bottom: 1.5rem; }
.emomap-account { text-align: right; }
.emomap-home, .emomap-complete { text-align: center; margin-top: 5rem; }
.emomap-progress-wrap { margin-bottom: 2rem; }
.emomap-progress-text { text-align: right; font-size: 1.3rem; margin-bottom: .4rem; }
.emomap-progress-track { width: 100%; height: 1rem; border: 1px solid #bbb; border-radius: .5rem; overflow: hidden; margin: 1rem 0 2rem; }
.emomap-progress-bar { height: 100%; background: #555; min-width: 0; }
.autosave-note { text-align: center; font-size: 1.2rem; opacity: .72; }
.emomap-flashes .error { font-weight: 600; }
.emomap-flashes .success { font-weight: 600; }
@media (max-width: 550px) { .emomap-account { text-align: left; margin-top: .75rem; } }
