body{
    font-family: 'Arial';
    background: #f1f1ee;
    margin: 0;
    padding: 40px;
    color: #333;
}

h2 {
    text-align: left;
    margin-bottom: 40px;
    font-weight: 600;
}
h3{
    height:40px;
}
p{
    height:60px;
}
.logo{
    margin:22px 0px 0px 22px;
    float:left;
    width:280px;
}
.navbar{
    position:fixed;
    background-color: #f1f1ee;
    width:100%;
    margin:0;
    top:0;
    left:0;
    height:75px;
    z-index:100;
    padding-left:25px;
    /*box-shadow: #aaaa 5px 5px 5px;*/
}
.placeholder{
    width:100%;
    height:75px;
}
.maincontainer{
    top: 0;
    position: absolute;
    margin: 0;
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-bottom:40px;
}
.subcontainer1{
    margin-top: 0px;
    width: 45%;
    position: fixed;
    right: 0px;
    background-image: url(../../css/bkg/home.jpg);
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.subcontainer2{
    margin-top: 75px;
    margin-left:40px;
    width: 45%;

}
.portable{
    display:none !important;
}
.nopads{
    padding:0px !important;
}

@media screen and (max-width: 1200px) {
    .module-list{
        grid-template-columns:100% !important;
        font-size:24px;
    }
    .maincontainer, .subcontainer1, .subcontainer2{
        display:none !important;
    }
    .portable{
        display:grid !important;
    }
    .nopads{
        padding:40px !important;
    }
    .module-card p{
        height:auto;
    }
}
.variable-group {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    /*box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.3);*/
}

.variable-header {
    padding: 15px 20px;
    font-weight: bold;
    /*background: #e4e3df;*/
    background-color:white;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.variable-header:hover {
    background: #212b46;
    color:white;
}
.variable-header:hover .count {
    color:white;
}

.variable-header .chevron {
    transition: transform 1s;
    font-size: 16px;
}

.variable-header.collapsed .chevron {
    transform: rotate(180deg);
}

.variable-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    padding: 0 20px;
    /* no display: none here */
}

.variable-content.open {
    max-height: 1000px; /* or set dynamically via JS */
    opacity: 1;
    padding: 15px 20px;
}

.variable-content table {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

input[type="text"],
input[type="number"] {
    width: 50%;
    padding: 8px;
}
input{
    border-top:none;
    border-right:none;
    border-left:none;
    border-bottom: 1px solid #ccc;
    font-size: 20px;
}
textarea.fullwidth {
    width: 100%;
    box-sizing: border-box; /* important pour que padding ne déborde pas */
    resize: vertical;
}

button.saveButton, button.restore {
    background: #b5986d;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    display: block;
    margin:0;
}
button.saveButton:hover, button.restore:hover{
    background: #7a735d;
}
a.navbuttons{
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin-right:0;
    margin-bottom:0;
    margin-left:5px;
    border:none;
    text-decoration:none;
    color:#b5986d;
}
a.navbuttons:hover{
    color: #212b46;
}
a.whitehover:hover{
    color:white !important;
}
div.save{
    position:fixed;
    top: 15px;
    right:40px;
    z-index:101;
    display:flex;
}
.count {
    font-weight: normal;
    font-size: 13px;
    color: #777;
    margin-left: 8px;
    text-align:right;
}
.delete-btn, .add-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    padding: 0;
    margin-left: 8px;
}

.delete-btn:hover {
    color: #c00;
}

.add-btn:hover {
    color: #6aa84f;
}
span #eye{
    color: #c00;
}
span #eye:hover{
    color: #6aa84f;
}
.table-row {
    display: flex;
    gap: 12px;
    align-items: center;
}
.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  vertical-align: middle;
  cursor: pointer;
}

.module-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.module-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    /*box-shadow: 5px 5px 6px rgba(0,0,0,0.2);*/
    transition: transform 0.2s;
    /*background-color:#e4e3df;*/
    background-color:white;
    height:150px;
}
.module-list a{
    text-decoration:none;
    color:inherit;
}

.module-card:hover {
    color:white;
    background-color:#212b46;
}

.module-card h3 {
    margin-top: 0;
}

.module-card a {
    display: inline-block;
    margin-top: 10px;
    color: #b5986d;
    font-weight: bold;
    text-decoration: none;
}