/* Nouveau design moderne et épuré */

:root {
    --accent: #ff7043;
    --accent-strong: #f4511e;
    --accent-soft: #ffe0b2;
}

body {
    font-family: "Segoe UI", Verdana, "Bitstream Vera Sans", "Lucida Grande", sans-serif;
    margin: 0;
    text-align: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    color: #222;
}

body.lang-fr {
    --accent: #ff7043;
    --accent-strong: #f4511e;
    --accent-soft: #ffe0b2;
}

body.lang-en {
    --accent: #2e7d32;
    --accent-strong: #1b5e20;
    --accent-soft: #c8e6c9;
}

body.lang-es {
    --accent: #26a69a;
    --accent-strong: #00897b;
    --accent-soft: #b2dfdb;
}

h4 {
    background: #e0f7fa;
    border: none;
    border-radius: 8px;
    float: right;
    font-size: 15px;
    padding: 8px 0;
    margin: 10px 0 10px 0;
    width: 48%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

h5 {
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background: var(--accent);
    color: #fff;
    padding: 8px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

h6 {
    background: #b0bec5;
    margin: 10px 0 10px 5%;
    text-align: center;
    width: 90%;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    padding: 4px 0;
}

table {
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #fff;
}

table,
tr,
td,
th {
    border: none;
    text-align: center;
}

th,
td {
    padding: 10px 16px;
}

th {
    background: var(--accent-strong);
    color: #fff;
    font-weight: 600;
}

tr:nth-child(even) {
    background: #f5f7fa;
}

tr:nth-child(odd) {
    background: #e3eafc;
}

.help {
    cursor: pointer;
    color: var(--accent-strong);
    transition: color 0.2s;
}
.help:hover {
    color: var(--accent-strong);
}

.helpContent {
    color: var(--accent-strong);
    background: #f0f4f8;
    text-align: center;
    font-size: 14px;
    border: 1px solid var(--accent-soft);
    border-radius: 8px;
    padding: 10px;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
}

.right {
    float: right;
}

.left {
    float: left;
}

/* .middle {
    float: center;
} */

.color_text {
    color: var(--accent-strong);
}

.right_content {
    float: right;
    /* display: inline-block; */
    vertical-align: top;

    margin: 0 1%;
    width: 20%;
    min-height: 600px;
    background: #eceff1;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 16px 0;
}

.left_content {
    float: left;
    /* display: inline-block; */
    vertical-align: top;
    margin: 0 1%;
    width: 20%;
    min-height: 600px;
    background: #eceff1;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 16px 0;
}

.middle_content {
    overflow: auto;
    /* display: inline-block; */
    vertical-align: top;
    margin: 0 1%;
    width: 56%;
    min-height: 600px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: auto;
    padding: 16px 0;
}

@media (max-width: 1000px) {
    .right_content,
    .left_content,
    .middle_content {
        display: block;
        width: 100%;
        margin: 10px auto;
    }
}

.result {
    border-bottom: 1px dashed #90caf9;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

#toolTipLayer {
    max-width: 550px;
    border-radius: 8px;
    background: #fffde7;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.08);
}

#Rconsole,
#Routput,
#Rarchive {
    overflow: auto;
    margin: 0;
    width: 100%;
    min-height: 300px;
    font-size: 13px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 10px;
    margin-bottom: 16px;
    text-align: left;
}

#Rconsole {
    color: #43a047;
    background: #263238;
}

#Routput {
    color: #222;
    background: #fafafa;
}

#Routput a,
#Rarchive a {
    text-decoration: underline;
    color: var(--accent-strong);
    transition: color 0.2s;
}
#Routput a:hover,
#Rarchive a:hover {
    color: var(--accent-strong);
}

#Rarchive {
    color: #222;
    background: var(--accent-soft);
}

#statMed,
#functions,
#functions2,
#selectVar,
#selectVar1,
#selectVar2,
#selectVar3,
#selectVar4,
#radio,
#radio2,
#recode,
#test,
#cut,
#Roptions,
#compMean {
    font-size: 13px;
}

#stat table,
#stat td,
#stat tr {
    font-size: 13px;
    text-align: left;
}

#selectVar1,
#selectVar2 {
    width: 45%;
    display: inline-table;
}

#data,
#functions,
#functions2,
#samplesizecalc,
#nsnMoy {
    display: none;
}
#nsnor {
    display: none;
}
#nsnPourcent {
    display: none;
}
#statDesc,
#graph,
#test,
#Rsession,
#Roptions,
#vars,
#statMed,
#correl,
#regression,
#anaSurv,
#compMean,
#anova {
    background: #eceff1;
    background-repeat: repeat;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#functions,
#functions2,
#statDesc,
#graph,
#test,
#Rsession,
#Roptions,
#meanTest,
#equiProba,
#actionVar,
#traitement,
#status,
#vars,
#radio,
#radio2,
#compMean,
#indepVar,
#statMed,
#correl,
#regression,
#anaSurv,
#onegrp,
#twogrp,
#anova,
#onefac,
#twofac {
    display: none;
}
