/* Bordered form */
form {
    border: 3px solid #f1f1f1;
}

/* Full-width inputs */
input[type=text], input[type=password], select, textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

input[type=number] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Set a style for all buttons */
button, input[type=submit], .tracking-button {
    background-color: #c90321;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: calc(100% - 2px);
    margin: 1px;
    box-sizing: border-box;
}

/* Add a hover effect for buttons */
button:hover, .tracking-button:hover {
    opacity: 0.8;
}

/* Extra style for the cancel button (red) */
.cancelbtn {
    padding: 10px 18px;
    background-color: #f44336;
}

/* Style the label to display next to the inputs */
label {
    padding: 12px 12px 12px 0;
    display: inline-block;
    font-size: 22px;
}

/* Style the container */
.container, .container1, .container2 {
    padding: 16px;
    background-color: #f2f2f2;
}

/* Floating column for labels and inputs */
.col-25, .col-75 {
    float: left;
    width: 25%;
    margin-top: 6px;
}

.col-75 {
    width: 75%;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Custom radio button and checkbox */
.container1, .container2 {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 22px;
    user-select: none;
}

.container1 input, .container2 input {
    position: absolute;
    opacity: 0;
}

.checkmark, .checkmark2 {
    position: absolute;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #b3b3b3;
    border-radius: 50%;
}

.container1:hover input ~ .checkmark, .container2:hover input ~ .checkmark2 {
    background-color: #a3a2a2;
}

.container1 input:checked ~ .checkmark, .container2 input:checked ~ .checkmark2 {
    background-color: #2196F3;
}

.checkmark:after, .checkmark2:after {
    content: "";
    position: absolute;
    display: none;
}

.container1 input:checked ~ .checkmark:after {
    display: block;
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.container2 input:checked ~ .checkmark2:after {
    display: block;
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .col-25, .col-75, input[type=submit], .cancelbtn {
        width: 100%;
        margin-top: 0;
    }
}

/* Create a top navigation bar with a black background color  */
.header {
    background-color: #333;
    overflow: hidden;
  }
  
  /* Style the links inside the navigation bar */
  .header a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
  
  /* Change the color of links on hover */
  .header a:hover {
    background-color: #ddd;
    color: black;
  }
  
  /* Create a right-aligned (split) link inside the navigation bar */
  .header a.split {
    float: right;
    background-color: #c90321;
    color: white;
  }

  .header a.active {
    background-color: #c90321;
    color: white;
  }
/* Таблицы */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid black;
}

th, td {
    padding: 8px;
    text-align: left;
}

th {
    background-color: #333;
    color: white;
}
        .content {
            display: none;
        }
        .content.active {
            display: block;
        }
/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
#confirm-otp-form {
    border: none;
}