@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}

body {
    font-family: 'Inter', sans-serif;
    background-color: #383838;
    color: #B4B5B5;
    overflow-x: hidden;
    line-height: 1.2;
}

.container {
    margin: auto;
}

.header {
    display: flex;
    align-items: center;
    padding-left: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #222;
    background-repeat: repeat;
}

.header .avatar {
    width: 65px;
    height: 65px;
    background: #747474;
    border-radius: 50%;
    margin-right: 15px;
    background-size: cover;
}

.header .name {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: bold;
}

.header .last-connected {
    font-size: 14px;
}

.header-secondary {
    font-size: 14px;
    padding: 10px;
    background-color: #717171;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    position: relative;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.header-secondary .arrow-left,
.header-secondary .arrow-right {
    font-size: 14px;
    cursor: pointer;
}

.content {
    background-color: #383838;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.content p {
    color: #B4B5B5;
    font-size: 14px;
}

.note {
    font-size: 14px;
    margin-bottom: 15px;
}

.card {
    background-color: #222;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.card h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 500;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
}

.card .content {
    min-height: 60px;
    color: #555;
    border-radius: 5px;
}

.button {
    border: 1px solid #333;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    background-color: #222;
    margin-top: 10px;
    border-radius: 5px;
}

.emotion-meter {
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background-color: #222;
    border-radius: 10px;
    padding-left: 15px;
    margin-top: 20px;
}

.emotion-meter .left,
    .emotion-meter .right {
    flex: 1;
    }

    .emotion-meter .left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }

    .emotion-meter .right {
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
    }

.meter {
    width: 100px;
    height: 50px;
    background: linear-gradient(to right, green 75%, #dc3545 25%);
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    margin: 0 auto;
}

.emotion-score {
    font-size: 20px;
    font-weight: 500;
    margin: 10px 0;
}

.reason-card {
    background: #222;
    padding: 10px;
    border-left: 4px solid #999;
    margin-top: 10px;
    font-size: 14px;
}

.alert {
    padding: 15px;
    font-size: 14px;
    margin-bottom: 10px;
}

.alert.red {
    background-color: #222;
    border-left: 4px solid #dc3545;
    color: #B4B5B5;
}

.alert.yellow {
    background-color: #222;
    border-left: 4px solid #ffc107;
    color: #B4B5B5;
}

.section-title {
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
}

.line-container {
    width: 100%;
    height: 20px;
    background-color: #dc3545;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.line-green {
    height: 100%;
    background-color: green;
    width: 0%;
    transition: width 0.5s ease-in-out;
}

#decrypt-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: #222;
    border-top: 1px solid #444;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    font-size: 14px;
}

#decrypt-btn {
    padding: 12px 20px;
    font-size: 14px;
    background-color: #80b918;
    color: #222;
    border: 1px solid #444;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-right: 40px;
}

#image-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
    background: #1c1c1c;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom: 20px;
    border-radius: 15px;
    max-width: 300px;
    width: 90%;
    text-align: center;
    border: 1px solid #333;
}

#loading-icon {
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
  margin-bottom: 30px;
}

#result-image {
  display: none;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 5px;
  border: 1px solid #333;
  margin-bottom: 20px;
}

.thought-stream p {
    margin-bottom: 10px;
}

.thought-stream p:last-child {
    margin-bottom: 0;
}

.alert.red p:first-child {
    color: #dc3545; /* Rode kleur voor de titel */
}

.alert.yellow p:first-child {
    color: #ffc107; /* Gele kleur voor de titel */
}

/* Optioneel: als je meer alert types hebt */
.alert.green p:first-child {
    color: #28a745; /* Groene kleur voor de titel */
}

.alert.blue p:first-child {
    color: #007bff; /* Blauwe kleur voor de titel */
}

.adjustment-warning {
    color: #ffc107 !important; /* Geel voor 1 bijsturing */
}

.adjustment-danger {
    color: #dc3545 !important; /* Rood voor meer dan 1 bijsturing */
}

/* Encryption Modal Styles */
#encryption-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.encryption-modal-content {
    position: relative;
    background: #1c1c1c;
    padding: 30px;
    border-radius: 15px;
    max-width: 300px;
    width: 90%;
    text-align: center;
    border: 1px solid #333;
}

.encryption-modal-content h3 {
    color: #B4B5B5;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.encryption-modal-content p {
    color: #B4B5B5;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.4;
}

.tag-circle {
    width: 80px;
    height: 80px;
    border: 3px solid #80b918;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: rgba(128, 185, 24, 0.1);
    position: relative;
}

.tag-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: darkgreen;
    animation: spin 1.5s linear infinite;
}

.tag-number {
    font-size: 24px;
    font-weight: bold;
    color: #80b918;
    z-index: 1;
}

.close-encryption-modal, .close-image-modal {
    padding: 12px 24px;
    font-size: 14px;
    background-color: #333;
    color: #B4B5B5;
    border: 1px solid #555;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.close-encryption-modal:hover, .close-image-modal:hover {
    background-color: #444;
}

/* Make arrow buttons more clickable */
.header-secondary .arrow-left,
.header-secondary .arrow-right {
    cursor: pointer;
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.header-secondary .arrow-left:hover,
.header-secondary .arrow-right:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header-secondary .arrow-left.disabled:hover,
.header-secondary .arrow-right.disabled:hover {
    background-color: transparent;
}

.brain {
    background-color: #B4B5B5; /* <- Dit bepaalt de kleur */
    -webkit-mask: url('https://neurotrace.nl/wp-content/themes/neurotrace/assets/images/brain.svg') no-repeat center;
    mask: url('https://neurotrace.nl/wp-content/themes/neurotrace/assets/images/brain.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.alarm {
    background-color: #B4B5B5; /* <- Dit bepaalt de kleur */
    -webkit-mask: url('https://neurotrace.nl/wp-content/themes/neurotrace/assets/images/alarm.svg') no-repeat center;
    mask: url('https://neurotrace.nl/wp-content/themes/neurotrace/assets/images/alarm.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}