/* Mobile version */
@import "popup.css";

body {
    overflow-y: hidden;
    height: 100vh;
    margin: 0px;
    padding: 0px;
    background-color: #70b3b8
}
hr {
    border: 1px solid #70b3b8;
    width: 100%;
}

.box {
    display: flex;
    flex-direction: column;
    width: 50%;
    min-width: 300px;
    max-height: 80vh;
    height: 80vh;
    align-self: center;

}

.page {
    height: 97%;
    margin: 15px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.game {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.game-info {
    width: 100%;
    height: 30%;
}

.game-info__column{
    padding: 5px;
    width: 33%;
    display: flex;
    flex-direction: column;
    
}

.game-info__section {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#game {
    border-right: 3px solid #70b3b8;
    border-left: 3px solid #70b3b8;
}

#game-id{
    font-size: 16px;
    text-align: center;
}

.home-button {
    position: relative;
    margin-left: 8px;
    margin-right: 8px;
    width: calc(60% - 16px);
    min-width: 120px;
    height: 15%;
    min-height: 40px;
    border: 0px;
    border-radius: 15px;
    cursor: pointer;
    margin-top: 15px;
    background-color: #c3f4f6;
    color: black;
    font-size: 10px;
    font-family: "Roboto";
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.5);
}
.home-button:active
{
    top: 2px;
    left: 1px;
    box-shadow: 0px 0px 0px;
}

.home-section {
    display: flex;
    flex-direction: column;
}

.title {
    align-self: center;
    font-family: "Roboto";
    color: #273e3f;
}

label {
    display: inline-block;
    font-family: "Roboto";
    font-size: 12px;
    font-weight: bold;
    color: #273e3f;
    margin:5px;
}

h3{
    font-family: "Roboto";
}
h4{
    font-family: "Roboto";
    text-align: center;
}

input {
    background-color: white;
    font-family: "Roboto";
    margin-bottom: 10px;
    border: 0px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 10px;
    border-bottom: 2px solid #9a9a9a;
    margin-left: 8px;
    margin-right: 8px;
    height: 25px;
    width: calc(100% - 32px);
}
input[type=submit]{
    width: calc(100% - 16px);
}
input[type=submit]:disabled{
    background-color: #9a9a9a;
    color: #cfcccc;
}

table {
    background-color: #70b3b8;
    border-radius: 20px;
    padding: 20px;
    border-collapse: collapse;
    
}
.row {
    border-top: solid gray;
    border-width: 1px 1px;
}

td {
    min-width: 150px;
    text-align: center;
    border-right: solid gray;
    border-left: solid gray;
    border-width: 1px;
}
td:first-child{
    border-left: none;
}
td:last-child{
    border-right: none;
}

p{
    font-family: "Roboto";
}
th {
    
    font-family: "Robot";
}
.Error-Message{
    color: red;
    height: 60px;
}

.Error-Input{
    border: 1px solid red;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: rgba(84, 84, 84, 0.85);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    text-align: left;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 105%;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}
#gdpr-consent {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.85);
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      font-family: Arial, sans-serif;
      z-index: 99999;
      padding: 20px;
      text-align: center;
    }

    #gdpr-consent p {
      font-size: 1.2em;
      margin-bottom: 20px;
      max-width: 400px;
    }

    #gdpr-consent a {
      color: #4caf50;
      text-decoration: underline;
    }

    #gdpr-consent button {
      background: #4caf50;
      border: none;
      color: white;
      padding: 12px 25px;
      cursor: pointer;
      margin: 0 10px;
      border-radius: 5px;
      font-size: 1em;
      font-weight: bold;
      min-width: 100px;
      transition: background-color 0.3s ease;
    }

    #gdpr-consent button.reject {
      background: #f44336;
    }

    #gdpr-consent button:hover {
      filter: brightness(1.1);
    }