html, body {
    margin: 0;
    height: 100vh;
    min-height: 100%;
}

body {
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

main {
    position: absolute;
    top: 50px;
    bottom: 0;
    overflow-y: scroll;
    width: 100%;
}

main.login {
    top: 0;
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    z-index: 5;
}

/*.article {*/
/*    display: flex;*/
/*    margin-left: 15px;*/
/*    margin-top: 15px;*/
/*    position: relative;*/
/*    z-index: 10;*/
/*    gap: 10px;*/
/*    width: 80%;*/
/*}*/

/*.article-item {*/
/*    border: #262626 1px solid;*/
/*    border-radius: 25px;*/
/*    width: 500px;*/
/*    height: 400px;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*}*/

/*.article-image {*/
/*    height: 250px;*/
/*}*/

/*.article-link {*/
/*    text-decoration: inherit;*/
/*    color: inherit;*/
/*}*/

div[class^="dir"] > input {
    /*display: none;*/
    margin-top: 10px;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

textarea {
    resize: none;
    /*min-height: 300px;*/
}

.json-preview {
    height: 300px;
}

.switchContainer {
    position: fixed;
    right: 15px;
    bottom: 10px;
    z-index: 20;
}

.data-display {
    margin-left: 5px;
}

div.data-container {
    margin-bottom: 20px;
}

div.data-container > div {
    margin-bottom: 10px;
}

div.disk-container {
    margin-bottom: 20px;
}

div.disk-container > div {
    margin-bottom: 10px;
}

div.folder-container {
    margin-bottom: 20px;
}

div.folder-container > div {
    margin-bottom: 10px;
}

.label-multi-fichier {
    position: relative;
}

.label-multi-fichier > div {
    padding: 5px;
    position: absolute;
    font-size: 0.8rem;
    top: -50px;
    left: 10px;
}

.advanced-input-text {
    height: 150px !important;
    white-space: pre-wrap;
}

.multi-files-container {
    margin-top: 15px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #282828;
}

input:focus + .slider {
    box-shadow: 0 0 1px #282828FF;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

[class^="button-get-"][class$="-info"] {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

[class^="button-get-"][class$="-info"]:hover {
    background-color: #45a049;
}

[class^="ram-holder-"] {
    margin-top: 15px;
}

[class^="raid-data-md"] {
    margin-top: 15px;
}

.button-file {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    height: 15px;
}

.button-file:hover {
    background-color: #45a049;
}

.button-files {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-files:hover {
    background-color: #45a049;
}

.button-prev-json {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-prev-json:hover {
    background-color: #45a049;
}

.button-send-json {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-send-json:hover {
    background-color: #45a049;
}

.button-download-json {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-download-json:hover {
    background-color: #45a049;
}

.button-download-preview {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-download-preview:hover {
    background-color: #45a049;
}

.button-get-json {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-get-json:hover {
    background-color: #45a049;
}

.card-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
}

.button-folder {
    background-color: #3498db;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-folder:hover {
    background-color: #2980b9;
}

.mdi-icon {
    padding-left: 5px;
}

.labelFichier {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.labelFichierText {
    padding: 5px;
    position: absolute;
    font-size: 0.8rem;
    top: -52px;
    left: 10px;
}

.button-delete {
    background-color: red;
    position: absolute;
    border: none;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    right: 5px;
    top: -35px;
    margin: 0;
}

.button-delete:hover {
    background-color: #6d0000;
}

.label-dossier {
    position: relative;
}

.label-dossier-text {
    padding: 5px;
    position: absolute;
    font-size: 0.8rem;
    top: -52px;
    left: 10px;
}

/*
.login-username {
    width: 20% !important;
}

.login-password {
    width: 20% !important;
}
*/

.form-container {
    background-color: #333333;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    height: 200px;
}

.login-actions {
    display: flex;
    justify-content: flex-end;
}

.login-button {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 15px;
    border: none;
    margin-top: 25px;
    border-radius: 4px;
    cursor: pointer;
    width: 30%;
    height: 35px;
}

.login-button:hover {
    background-color: #45a049;
}

.users-table-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disk-alone-container {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px;
}

.tab {
    background-color: #2b2b2b;
    border: 2px solid #444;
    padding: 40px;
    width: 200px;
    height: 120px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tab:hover {
    background-color: #333;
    transform: scale(1.05);
    cursor: pointer;
}

/* style de la scrollbar */

/* Largeur de la barre de défilement */
*::-webkit-scrollbar {
    width: 16px;
}

/* Style de la piste de défilement */
*::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 8px;
}

/* Style du "thumb" (la poignée de la barre de défilement) */
*::-webkit-scrollbar-thumb {
    height: 56px;
    border-radius: 8px;
    border: 4px solid transparent;
    background-clip: content-box;
    background-color: #888;
}

/* Style du "thumb" au survol */
*::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}


/* animation pour le toast affiche */
#toastAffiche {
    border-radius: 4px;
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 30px;
}

#toastAffiche.montre {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 9.5s;
  animation: fadein 0.5s, fadeout 0.5s 9.5s;
}

@-webkit-keyframes fadein {
  from {top: 0; opacity: 0;}
  to {top: 30px; opacity: 1;}
}

@keyframes fadein {
  from {top: 0; opacity: 0;}
  to {top: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {top: 30px; opacity: 1;}
  to {top: 0; opacity: 0;}
}

@keyframes fadeout {
  from {top: 30px; opacity: 1;}
  to {top: 0; opacity: 0;}
}

/* page du raid */

.data {
    display: flex;
}