/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
/*    font-family: Arial, sans-serif;*/
}

body {
    max-width: 1000px;
    color: #404040;
    border-radius: 10px;
    border: 2px solid #404040;
    margin: 0 auto;
    padding: 0.5%;
    font-size: 140%;
}

header, footer {
    background-color: #1489ff;
    border-radius: 5px;
    color: #fff;
    padding: 0.5%;
}

header {
    min-height: 78px;
    position: relative;
}

footer {
    font-size: 65%;
    font-style: italic;
    text-align: center;
}

#introduction, #application {
    padding: 1%;
}

#application {
    width: 100%;
    overflow-x: hidden;
}

#content {
    float: left;
    width: 65%;
    margin-right: 0.5%;
    
}

#menu {
    float: left;
    width: 34%;
    margin-left: 0.5%;
    
}

#page {
    flex-grow: 1;
    width: 65%;
    margin-right: 0.5%;
}

#QRCode {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin-bottom: 15px;
}

#network-status {
    color: red;
    font-weight: bold;
}

#install-popup {
    display: none;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(to bottom, #ffffff, #404040);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #404040;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#install-popup .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#install-popup button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

#install-popup button:hover {
    background-color: #0056b3;
}

.logo-container {
    position: absolute;
    text-align: left;
    vertical-align: top;
}

#logo {
    border-radius: 50%;
    border: 2px solid #fff;
    width: 68px;
}



.block_container {
    display: flex;
    flex-direction: column;
    gap: 20px;
/*    padding: 20px;*/
}

.block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.photo {
    width: 30%;
    height: auto;
}

.photo2 {
    width: 55%;
    height: auto;
}

.text {
    flex: 1;
    font-size: 18px;
}

@media (min-width: 768px) {
    .block1 {
        flex-direction: row;
    }
    .block2 {
        flex-direction: row-reverse;
    }
}

@media (max-width: 767px) {
    .block {
        flex-direction: column-reverse;
        text-align: center;
    }
    .photo, .photo2 {
        width: 100%;
        max-width: 300px;
    }
}

.user, #user {
    width: 10ch;
}

.establishmentInput {
    width: 17ch;
}

.invoice {
    display: inline-block;
    width: 150px;
    text-align: right;
    margin-right: 10px;
}

.code2, #code2 {
    width: 4ch;
}

.top {
    position: relative;
    top: 0.2%;
    z-index: 2;
    font-size: 80%;
    left: 68px;
}

.margin-left {
    text-align: left;
    margin-left: 2%;
}

.padding-left10 {
    padding-left: 1%;
}

.info {
    font-size: 70%;
    font-style: italic;
    color: #505050;
}

.establishment {
    font-size: min(5vw, 40px);
    font-style: italic;
    position: relative;
    text-align: center;
    z-index: 1;
    white-space: nowrap;
}

#working, #setup, #highlights {
    padding: 1%;
    margin: auto;
}

#input-container {
    border-radius: 5px;
    border: 1px solid #404040;
    margin: 1%;
    padding: 1%;
}

.navigate {
    font-size: 90%;
}

.center {
    margin: 0 auto;
    text-align: center;
}

.recaptcha-container {
    width: 300px;
    margin: 0 auto;
    padding-top: 2%;
}

table {
    margin: auto;
    border-spacing: 0;
    font-size: 100%;
    margin-top: 1%;
    margin-bottom: 1%;
    border-collapse: collapse;
}

th {
    background-color: #1489ff;
    color: #fff;
    font-weight: normal;
}

table td, table th {
    border: 1px solid;
   /* font-size: 95%;*/
    padding-right: 5px;
    padding-left: 2px;
}

table tr:nth-child(odd), table tr:nth-child(even) {
    color: #000;
    background: #fff;
}

.bold {
    font-weight: bold;
}

.hidden {
    display: none;
}

.labelfixe {
    display: inline-block;
    width: 7%;
}

.labelfixe2 {
    display: inline-block;
    width: 15%;
}

.left, .left10 {
    text-align: left;
}
#countdown {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 80%;
    color: #fff;
    background-color: #1489ff;
}
.left10 {
    padding-left: 1%;
    padding-top: 1%;
    padding-bottom: 1%;
}
.margin_left20{
    text-align: left;
    margin-left: 20px;
}
.top10 {
    padding-top: 3%;
}

ul {
    list-style-type: none;
    padding-left: 2%;
    padding-top: 5%;
    padding-bottom: 5%;
}

li {
    font-style: italic;
    margin-bottom: 0.5%;
    margin-left: 1%;
}

.menu-link {
    text-decoration: none;
    color: blue;
    cursor: pointer;
}

#linkInstall {
    display: none;
}

a:visited, input[type="time"], input[type="number"] {
    color: blue;
}

button.link:hover, a:hover, input[type="time"]:hover, input[type="number"]:hover {
    color: red;
    background: #1489ff;
}


input, button {
    width: auto;
    margin: 1% 0.5%;
}

.invoice_input, .invoice_select {
    margin: 0;
    padding: 0;
    margin-top: 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding-left: 3px;
    width: 80%;
    font-size: 100%;
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
}

input:hover, input:focus, select:hover, select:focus {
    outline: none;
    border-color: #1489ff;
}

.paypal_container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.paypal_item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 100%;
    min-width: 200px;
}

.paypal_button {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .paypal_item {
        flex-direction: column;
        align-items: flex-start;
        flex: 1 1 100%;
    }
}

a.button, button {
    outline: none;
    text-decoration: none;
    font-variant: normal;
    background-color: #1489ff;
    color: #fff;
    padding: 0.8% 1.2%;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    margin: 0.5%;
}

a.button:hover, button:hover {
    color: red;
}

button.link {
    background: none;
    border: none;
    color: blue;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    margin: 0;
    outline: none;
    font-style: italic;
    padding-top: 1%;
}

fieldset {
  border: 1px solid #6e6e6e8f;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  background-color: #dfdfdf7e;
}

legend {
    text-align: left;
  padding: 0 10px;
}



.red {
    color: red;
}

.green, button.green {
    color: green;
    cursor: none;
    pointer-events: none;
}

a, a:visited {
    text-decoration: none;
    font-style: italic;
}

button.activated {
    color: green;
    width: 100%;
}

button.inactivated {
    color: purple;
}

.edited {
    font-size: 60%;
    font-style: italic;
    text-align: left;
    color: #505050;
    display: none;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

input {
    font-size: 120%;
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
    border-radius: 5px;
}

#minutes, .minutes {
    width: 2em;
    font-size: 100%;
    margin-bottom: 0;
}

.no-border {
    border: none; 
    margin-right: 2px;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
    text-align: center;
    background: linear-gradient(to bottom, #e8e8e8, #ccc);
}
input[type=time] {
    background: linear-gradient(to bottom, #e8e8e8, #ccc);
}

button.background{
    background: linear-gradient(to bottom, #e8e8e8, #ccc);
}
legend, a {
    font-variant: small-caps;
}

a.right {
    margin-right: 5px;
}

#display-time, #code {
    margin-top: 4%;
    width: 3em;
    font-size: 4em;
}

#code {
    color: blue;
}

.green-text {
    color: green;
}

#display-time {
    margin: 0 auto;
    margin-bottom: 6%;
}

hr {
    width: 50%;
    margin: 0 auto;
}

.facebook {
    width: fit-content;
    right: 2%;
    top: 1%;

}
.facebook a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: block;
    cursor: pointer;
}
.small {
    font-size: 60%;
}
.clocking-terminal-message {
    color: green; /* Couleur verte */
    font-size: 1.5rem; /* Taille plus grande */
    background-color: #e6ffe6; /* Vert pâle */
    border: 2px solid #4caf50; /* Vert foncé */
    padding: 10px 20px;
    border-radius: 8px;
    opacity: 0;
    text-align: center;
    visibility: hidden;
    transition: all 2s ease-in-out;
}

/* Effet d'apparition */
.clocking-terminal-message.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1000px) {
    body {
        width: 100%;
        font-size: 140%;
        padding: 0.5%;
    }
    .tools {
        margin-left: 30%;
    }
    hr {
        width: 30%;
    }
    #application {
        padding: 0.5%;
    }
    #menu, #content, #page {
        width: 99%;
        margin-left: 0.5%;
        margin-right: 0.5%;
    }
    .container {
        flex-direction: column;
    }
    .paypal_text {
        margin-left: 10px;
        margin-top: -15px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 140%;
    }
    #logo {
        width: 54px;
    }
    .tools {
        margin-left: 20%;
    }
    header {
        min-height: 64px;
    }
    .top {
        left: 54px;
    }
    .reduce {
        font-size: 90%;
    }

}

@media (max-width: 574px) {
    .invoice {
        text-align: left;
        margin-left: 5px;
    }
    .invoice_input, .invoice_select {
        margin-left: 10px;
    }
}

@media (max-width: 540px) {
    .reduce {
        font-size: 80%;
    }
}

@media (max-width: 480px) {
    .reduce {
        font-size: 70%;
    }
    .reduceMonthly {
        font-size: 90%;
    }
}

@media (max-width: 460px) {
    .reduceWeekly {
        font-size: 90%;
    }
}

@media (max-width: 440px) {
    .reduceMonthly {
        font-size: 80%;
    }
}

@media (max-width: 420px) {
    fieldset {
        padding: 5px;
    }
    .reduce {
        font-size: 60%;
    }
    .reduceWeekly {
        font-size: 80%;
    }
}

@media (max-width: 400px) {
    .reduceMonthly {
        font-size: 70%;
    }
}

@media (max-width: 510px) {
    body {
        font-size: 140%;
    }
    .tools {
        margin-left: 20%;
    }
    #logo {
        width: 41px;
    }
    header {
        min-height: 51px;
    }
    .top {
        left: 41px;
    }
}

@media (max-width: 430px) {
    body {
        font-size: 140%;
    }
    .tools {
        margin-left: 10%;
    }
    #logo {
        width: 41px;
    }
    header {
        min-height: 51px;
    }
    .top {
        left: 41px;
    }
}

@media print {
    body {
        font-size: 100%;
    }
    #content {
        padding: 20px;
    }
    a {
        pointer-events: none;
        cursor: default;
    }
    .edited {
        display: block;
    }
    header, nav, .browser, #introduction, .button-container {
        display: none;
    }
    th {
    background-color: #fff;
    color: #000;
    font-weight: normal;
}
}

.popupCGU, #popup-mac {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.overlayCGU, .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    max-width: 95%;
    text-align: center;
    position: relative;
}

.container {
    margin-top: 2%;
    display: flex;
    align-items: stretch;
}

.margin-top {
    margin-top: 2%;
}

button.inactive {
    cursor: none;
    color: grey;
}
textarea#comment {
    width: 95%;
    height: 200px;
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
}

.details {
    display: none;
}
.details.show {
    display: block;
}
.employee-container {
    margin-bottom: 5px;
}
.employee-name {
    display: inline-block;
    width: 180px; /* Ajustez cette valeur selon vos besoins */
    text-align: right;
    padding-right: 10px;
}
.all{
    width: 100%;
}

/* Annule les styles modifiés globalement */
.reset-ul, 
.reset-ul ul,
.reset-ul li {
    list-style-type: disc; /* Valeur par défaut */
    margin: 1em 0;        /* Valeurs par défaut approximatives */
    padding: 0 0 0 40px;  /* Valeurs par défaut approximatives */
    /* Ajoutez d'autres propriétés à réinitialiser */
}

/* Si vous avez modifié d'autres propriétés comme 'list-style-position' */
.reset-ul li {
    list-style-position: outside;
}
.revert-ul, 
.revert-ul ul, 
.revert-ul li {
    all: revert; /* Réinitialise tout */
}

/* Ou ciblez uniquement les propriétés modifiées */
.revert-ul ul {
    list-style-type: revert;
    margin: revert;
    padding: revert;
}
.initial-ul {
    list-style-type: initial;
    margin: initial;
    padding: initial;
}