* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
}

#btncalcul {
  padding: 15px 25px;
  width: min(250px, 100vw);
  border-radius: 25px;
  font-size: 22px;
  cursor: not-allowed;
  background-color: #999;
  color: #ccc;
}
#btncalcul:not(:disabled) {
  cursor: pointer;
  background-color: #c50e6a;
  color: #fff;
}
#btncalcul:not(:disabled):hover {
  background-color: #74073d;
}

select,
input {
  height: 40px;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  width: min(200px, 90vw);
}
select:focus,
input:focus {
  border: 1px solid #c50e6a;
}

input[type=number] {
  text-align: center;
  font-weight: bold;
  font-size: 25px;
}

select {
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
}

label {
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}

section,
div {
  display: grid;
}

.index {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(600px, 100vw);
  background-color: #eee;
  height: min(800px, 100vh);
  justify-self: center;
  grid-template-rows: auto 1fr;
}
.index .titre {
  text-align: center;
  padding: 10px;
  color: #c50e6a;
  font-size: 22px;
  background: #fff;
}
.index .body {
  padding: 10px 15px;
  align-content: start;
  justify-items: center;
  gap: 15px;
}
.index .body .grdata {
  box-shadow: 0 0 15px #ccc;
  border-radius: 10px;
  padding: 10px;
  width: 100%;
  justify-items: center;
  align-items: center;
  gap: 15px;
  background-color: #fff;
}
.index .body .indication {
  text-align: center;
  padding: 5px 25px;
  overflow: hidden;
  line-height: 25px;
  font-style: italic;
}
.index .body .grtarif {
  padding: 20px 10px;
}
.index .body .grtarif .tarif {
  font-size: 25px;
  color: #c50e6a;
  font-weight: bold;
}
.index .body .grtarif #tarif_agentmois {
  font-size: 16px !important;
}