* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #f7f7f7;
    margin: 0;
    line-height: 1;
    font-size: 15px;
}



.sheet {
    max-width: 1170px;
    margin: 20px auto;
    background: #fff;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

h1 {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
}

h1 span {
    font-weight: 800;
    font-size: 24px;
}

label {
    min-width: 160px;
    font-weight: 500;
}

input:focus,
textarea:focus {
    outline: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
textarea,
select {
    flex: 1;
    padding: 4px 6px;
    border: none;
    border-bottom: 1px solid #333;
    background: transparent;
    font-size: 16px;
    line-height: 1.2
}


.borderInputs input[type="text"] {
    flex: 1;
    padding: 4px 6px;
    border: none;
    border-bottom: 1px solid #333;
    background: transparent;
    font-size: 16px;
    line-height: 1.2
}



table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.borders th,
.borders td {
    border: 1px solid #333;
    padding: 10px;
    text-align: left;
    line-height: 1.2
}

.borders th {
    background: #f0f0f0;
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
}

.noborders th,
.noborders td {
    border: 0;
    padding: 10px 0;
}



.borders input {
    border: 1px solid #ccc;
    width: 100%;
}

.borders textarea {
    width: 100%;
    border: 1px solid #ccc;
}

.photo-box {
    max-width: 150px;
    min-width: 150px;
    height: 160px;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    text-align: center;
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.placeholder {
    z-index: 1;
}

.placeholder span {
    font-size: 14px;
    display: block;
    font-weight: 500;
    color: #666;
}

/* Hide actual file input */
#fileInput {
    display: none;
}

label {
    display: flex;
    align-items: center;
    gap: 10px;
}

label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
}

.form_submit {
    text-align: center;
}

.form_submit button {
    background: #0d6efd;
    color: #fff;
    border: 0;
    padding: 14px 20px;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    margin: 30px 0;
}

#google_translate_element {
    display: inline-flex;
    padding: 5px;
    border-radius: 8px;
    background: #eee;
}

.photo-wrapper {
    position: relative;
    display: inline-block;
}

.photo-remove {
    position: absolute;
    top: -8px;
    /* offset so it sits slightly outside */
    right: -8px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 12px;
    background: #e03131;
    /* red button */
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

.photo-remove:hover {
    background: #c92a2a;
}

.photo-remove[hidden] {
    display: none;
}

table li {
    margin: 15px 0;
}

@media print {
    table li {
        margin: 15px 0 !important;
    }

    .sheet {
        max-width: 100%;
        padding: 0 !important;
        box-shadow: none;
        background-color: transparent;
    }

    body {
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 11px !important;
    }

    h1 {
        font-family: Arial, Helvetica, sans-serif !important;
        font-weight: bold !important;
        font-size: 25px !important;
    }

    thead th {
        font-family: Arial, Helvetica, sans-serif !important;
        font-weight: bold !important;
        font-size: 14px !important;
    }

    table {
        width: 100% !important;
        border-collapse: collapse !important;
        /* merge adjacent borders */
        table-layout: fixed !important;
        margin-bottom: 20px;
    }

    .borders th {
        border: 0.25pt solid #666 !important;
    }

    .borders td {
        border: 0.25pt solid #666 !important;
        padding: 5px 10px;
        text-align: left;
        line-height: 1.2
    }




}