body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

.form-container {
    border: 2px solid #000;
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

.header {
    text-align: center;
    font-size: 40px;
    margin-bottom: 20px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.logo-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box img {
    height: 150px;
}

.info-box {
    font-size: 13px;
    border: 1px solid #000;
    padding: 5px;
    text-align: left;
    width: 180px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.form-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.form-table td, .form-table th {
    border: 1px solid #000;
    padding: 12px;
    vertical-align: top;
}

.form-table input,
.form-table textarea,
.form-table select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Arial, sans-serif;
}

.form-table input:focus,
.form-table textarea:focus,
.form-table select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

textarea {
    resize: vertical;
    height: 100px;
}

.signature-pad-container {
    border: 1px solid #000;
    border-radius: 4px;
    position: relative;
    width: 100%;
    height: 200px;
}

.signature-pad {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.signature-pad-actions {
    margin-top: 10px;
}

.form-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.form-title {
    text-align: center;
    margin-bottom: 20px;
}

.form-section {
    margin-bottom: 20px;
}

.form-section h5 {
    text-decoration: underline;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 767.98px) {
    body {
        padding: 0;
        background-color: white !important;
    }

    .form-container {
        padding: 10px;
        width: 100%;
    }

    .form-table,
    .form-table td,
    .form-table th {
        width: 100%;
        display: block;
        text-align: center;
    }

    .logo-box {
        flex-direction: column;
        align-items: center;
        padding: 0.5rem;
    }

    .logo-box img {
        height: 120px;
        margin-bottom: 20px;
    }

    .header {
        font-size: 24px;
        text-align: center;
        margin: 0.5rem 0;
    }

    .info-box {
        font-size: 13px;
        padding: 0.5rem;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }

    textarea {
        height: 80px;
    }

    .signature-pad-container {
        height: 150px;
    }

    .label {
        font-size: 13px;
    }

    .btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
    }

    .py-4 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .mb-4 {
        margin-bottom: 0.5rem !important;
    }
}
