body, html {
  padding: 0px;
  margin: 0px;
  height: 100%;
}

body {
  font-family: Helvetica, Arial;
  display: flex;
  flex-direction: column;
  background-color: aliceblue;
}

p { margin: .5em }

.bold { font-weight: bold }
.flex { display: flex }
.flex1 { flex: 1 }
.hidden { display: none !important }
.blur { filter: blur(4px) }

.rdv button {
  padding: 1em;
  border: 1px solid silver;
  border-radius: .5em;
  cursor: pointer;
  font-weight: bold;
  display: block;
  width: 100%;
}
.rdv button:hover {
  background-color: aliceblue;
  box-shadow: 0 0 5px black;
}
#statut  {
  font-weight: bold;
  border: 5px solid silver;
  padding: .5em 1em;
  margin: 0em 1em;
  text-align: center;
}
#statut.confirm { border-color: lightgreen; }
#statut.cancel { border-color: lightcoral; }
#report { border-color: khaki; }

.buttons {
  display: flex;
  gap: 1em;
}
@media (max-width: 720px) {
  .rev_col_mobile {
    flex-direction: column-reverse;
  }
  #info {
    display: block;
  }
  .buttons {
    flex-direction: column;
  }
}
button.confirm {
  background-color: lightgreen;
}
button.cancel {
  background-color: lightcoral;
}
#report {
  background-color: khaki;
}

.rdv {
  min-width: 50%;
  margin: auto;
  border: 1px solid silver;
  border-radius: .5em;
  display: flex;
  flex-direction: column;
}
.title {
  background-color: gray;
  color: white;
  font-weight: bold;
  padding: 1em;
  border-radius: .5em .5em 0px 0px;
}
#detail {
  background-color: white;
  border-radius: .5em;
  padding: 2em;
  flex: 1;
  overflow: auto;
}
.medecin {
  width: 270px;
  height: 234px;
   background: URL(medecin.jpg);
}

#shadow {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
#text {
  padding: 1em;
}

.toggle:before {
  content: ' ';
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-45deg);
  position: relative;
  top: -1px;
}
.toggle.expanded:before {
  transform: rotate(45deg);
}
.toggle { cursor: pointer }
.toggle span { padding-left: .25em }
#histo { 
  display: none;
  font-size: small;
  padding: .5em;
}
.expanded #histo { display: block }

section.popup {
  display: block;
  background-color: #fefefe;
  border: 1px solid #c4c4ff;
  border-radius: 5px;
  box-shadow: 2px 2px 10px 4px #444;
  user-select: none;
}

section.popup header {
  background-color: #2196f3;
  color: white;
  font-weight: bold;
  line-height: 1em;
  border-radius: 5px 5px 0px 0px;
  box-sizing: border-box;
  display: flex;
}

section.popup header span {
  flex: 1;
  padding: 10px;
}

section.popup>header>button {
  border: none;
  background: transparent;
  color: white;
  font-size: large;
  width: 2em;
}
section.popup>header>button:hover {
  background-color: #f55b5b;
  border-radius: 4px;
}
footer {
  padding: 1em;
  text-align: center;
}
footer button {
  width: 80px;
  padding: 1em;
  border: 1px solid silver;
  border-radius: .5em;
  cursor: pointer;
}
.initiales {
  text-align: center;
  max-width: 20em;
  padding: 1em;
}

.initiales div {
  padding: 1em;
}

.initiales input {
   width: 2em;
   line-height: 2em;
   margin: 1em;
   padding: .5em;
   text-transform: uppercase;
   text-align: center;
}

.initiales .error input {
  border-color: red;
  background-color: orange;
}