body {
    font-family: "Times New Roman", Times, serif;
}

.service-notice {
    margin-bottom: 1.25rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid #a9bfd6;
    border-left: 5px solid #315f8d;
    border-radius: 6px;
    background-color: #f3f7fb;
    box-shadow: 0 2px 8px rgba(30, 58, 86, 0.08);
    color: #263b50;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

.service-notice-title {
    color: #1f4c78;
    font-size: 1.2rem;
    font-weight: 700;
}

.service-notice-address {
    color: #1f3448;
    font-weight: 700;
}

.page-title {
    text-align: center;
    margin-bottom: 20px;
}

.w-80 {
    width: 80%;
    margin: 0 auto;
    border: solid 1px #cdcdcd;
}

.container {
    padding: 10px;
    margin-top: 10px;
}

.page-title {
    /* uppercase */
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.4em;
    /* 20px */
    border: 1px solid #000;
    width: 80%;
    margin: 0 auto;
    padding: 10px;
    font-family: engravers-gothic, sans-serif;
}

.form-item {
    background-color: #dcdddf;
    padding: 10px 5px; 
    /* rounded corners */
    border-radius: 8px;
}

.form-item label {
    font-weight: bold;
    display: flex;
    align-items: center;
    font-size: 1.1em;
}

.form-group {
    margin-bottom: 30px;
}

.form-item input {
    border-radius: 8px;
}

#searchbox {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
}

.btn-custom {
    background-color: #fff;
    color: black;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    border: solid 3px black;
    text-transform: uppercase;
}

.btn-custom:hover {
    background-color: #dcdddf;
}

.signature-pad-container {
    background-color: #e6e6e6;
    padding: 20px 5px; 
    border-radius: 5px;
    width: 40%;
    margin: 0 auto;
}

.signature-pad-form .form-item {
    background-color: transparent;
}

canvas#signature-pad {
    background: #fff;
    width: 85%; 
    height: auto;
    cursor: crosshair;
    display: block;
    margin: 0 auto;
    border: 1px solid #ccc; /* Optional: add a subtle border directly to canvas */
}

button#clear {
    height: 100%;
    color: blue;
    font-weight: 200;
    cursor: pointer;
}

p#clear {
    color: blue;
    font-weight: 200;
    cursor: pointer;
    margin-top: 8px;
    margin-left: 7.4%; 
    padding: 4px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f9fa;
    display: inline-block;
}

.highlight-error {
    animation: pulse-error 2s;
}

@keyframes pulse-error {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

p#clear:hover {
    background-color: #e2e6ea;
}

.certify {
    border: 2px solid #dcdddf;
    border-radius: 12px;
    background-color: #f9f9f9;
}

.big_checkbox {
    transform: scale(1.5);
    margin-top: 0;
}

.checkbox-container {
    display: flex;
    align-items: center; 
    min-width: 36px; 
    padding-top: 0; 
}

@media (max-width: 576px) {
    .certify .form-check {
        padding-left: 0;
    }
    
    .certify .form-check-label {
        font-size: 0.95em;
    }
    
    .checkbox-container {
        margin-left: 16px !important; 
        margin-right: 8px !important; 
    }
    
    .d-flex.align-items-center {
        flex-wrap: nowrap; 
    }
}

.question-text {
    font-size: 1.1em;
    font-weight: bold;
    margin: 0;
}

.guarantee-panel {
    padding: 1rem 1.25rem;
    border: 1px solid #b8d8c0;
    border-radius: 8px;
    background-color: #f2faf4;
}

.guarantee-title {
    margin-bottom: 0.5rem;
    color: #245c32;
    font-size: 1.1rem;
    font-weight: 700;
}

.guarantee-contact {
    margin-bottom: 0;
    line-height: 1.5;
}

.site-footer {
    width: 80%;
    margin: 1.5rem auto;
    padding: 1rem;
    border-top: 1px solid #cdcdcd;
    color: #444;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    text-align: center;
}

.site-footer p,
.site-footer address {
    margin-bottom: 0.35rem;
}

.site-footer address {
    font-style: normal;
}
