
* {
    box-sizing: border-box;
}

html {
  font-size: 14px;
  height:100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}




body {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

/* Header responsive styles */
.header-logo {
    height: auto;
    width: auto;
    max-height: 90px;
    max-width: 300px;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.csr-header-title {
    font-family: 'Inria Serif', serif;
    font-weight: 400;
    font-size: clamp(1rem, 4vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: 0;
    color: #FFFFFF;
    vertical-align: middle;
    transition: all 0.3s ease;
}
.csr-header-divider {
    width: 2px;
    height: clamp(40px, 8vh, 80px);
    background-color: #fff;
    margin: 0 clamp(12px, 2vw, 24px);
    border-radius: 1px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

/* Responsive breakpoints for mobile */
@media (max-width: 576px) {
    .header-logo {
        max-height: 60px;
        max-width: 180px;
        margin-right: 6px;
    }
    
    .csr-header-title {
        font-size: clamp(1.2rem, 4.2vw, 1.8rem);
        line-height: 1.1;
    }
    
    .csr-header-divider {
        height: clamp(30px, 6vh, 50px);
        margin: 0 clamp(8px, 1.5vw, 16px);
    }
    
    .d-flex.flex-wrap {
        gap: 8px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .header-logo {
        max-height: 75px;
        max-width: 200px;
    }
    
    .csr-header-title {
        font-size: clamp(1.2rem, 4.2vw, 1.8rem);
        line-height: 1.15;
    }
    
    .csr-header-divider {
        height: clamp(50px, 7vh, 70px);
        margin: 0 clamp(16px, 2.5vw, 20px);
    }
}

@media (min-width: 769px) {
    .header-logo {
        max-height: 110px;
        max-width: 220px;
    }
    
    .csr-header-title {
        font-size: clamp(1.5rem, 4.2vw, 2.5rem);
        line-height: 1.2;
    }
    
    .csr-header-divider {
        height: clamp(60px, 7.5vh, 80px);
        margin: 0 clamp(20px, 2.8vw, 24px);
    }
}

.signature-container {
    display: inline-block;
    border: 2px solid #444;
    padding: 10px;
    border-radius: 10px;
    background: #d3d3d3;
    min-height: 50px;
    margin-top: 8px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 500px;
}

.sign-textarea {
    background: #d3d3d3;
    min-height: 100px;
    margin-top: 8px;
    margin-bottom: 24px;
    width: 80%;
    border: 1px solid #ccc;
    resize: vertical;
    font-family: inherit;
    font-size: 1rem;
    padding: 8px;
    width: 100%;
    max-width: 500px;
}

canvas {
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: crosshair;
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

footer {
    text-align: center;
    align-content: center;
    position: relative;
    z-index: 0;
    clear: both; /* Clear any floats */
    padding: 10px;
    background-color: #f1f1f1;
}

.container {
    position: relative;
    z-index: 1;
    margin-bottom: 20px; /* Ensure there's enough space for the footer */
    flex: 1;
}

table {
    width: 90%;
    max-width:700px;
    border-collapse: collapse;
    margin-left: 0;
    margin-right: auto;
    font-weight: 600;
    font-size: 14px;
    color: #808080;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
}

th, td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: left;
}

img {
    max-width: 500px;
    height: auto;
    display: block;
    margin: auto;
}

.britton-table,
.britton-table th,
.britton-table td {
    border-bottom: none !important;
}
.britton-table th:first-child,
.britton-table td:first-child {
    border-left: none !important;
}
.britton-table th:last-child,
.britton-table td:last-child {
    border-right: none !important;
}
.britton-table,
.britton-table th,
.britton-table td {
    border-top: 1px solid #ccc;
}


.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}


.error-message {
    font-family: 'Inria Serif', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0;
    vertical-align: middle;
    color: #000000;
}

