*:not(#card *) {
    font-family: "Montserrat", sans-serif !important;
}

#card * {
    font-family: "Source Serif 4", serif !important;
}

* {
    user-select: none;
}

a {
    color: #0078A8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    cursor: pointer;
}

* select:not(#card *), button, input:not(#card *), textarea:not(#card *) {
    font-size: 15px;
    height: 30px;
    padding: 5px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #2DCB6F;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #209350;
}

input:focus, select:focus, textarea:focus {
    outline: none;
}

#card input {
    font-size: 16px;
    height: 16px;
    padding: 5px;
    margin: 5px;
    border: none;
    border-bottom: 1px solid black;
}

#card select {
    font-size: 16px;
    height: 26.8px;
    margin: 5px;
    border: none;
    border-bottom: 1px solid black;
}

#card textarea {
    font-size: 16px;
    padding: 5px;
    border: 1px solid black;
    resize: none;
    width: 100%;
    height: 100%; 
    box-sizing: border-box;
}

.driver-column #name, .driver-column #id {
    width: 190px;
}

.field-note {
    font-size: 12px;
}

hr {
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid gray;
}

.hidden {
    display: none !important;
}

#card {
    width: 1000px;
    margin: 0 auto;
}

#card .header .logo {
    height: 85px;
}

#card .title {
    margin: 20px;
    font-size: 40px;
}

div.center {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

#importButton {
    position: fixed;
}

.center {
    text-align: center;
}

.header {
    text-align: right;
    margin-bottom: 5px;
    position: relative;
}

.header .note {
    position: absolute;
    bottom: 0;
    text-align: left;
}

.header .note p {
    margin: 0;
}

.footer {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #000;
    padding: 2px 5px 2px 5px;
    text-align: left;
}

table.no-border th, table.no-border td {
    border: none;
    padding: 0 5px 0 5px;
}

table.no-border td:first-child {
    width: 1%;
    white-space: nowrap;
}

th {
    background-color: #f4f4f4;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 250px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.modal .close-button {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: black;
}

.modal h3 {
    margin-top: 0;
}