/**
 * Shared CSS styles for signature pad components.
 * This file provides consistent styling for signature pads across the application.
 */

.signature-pad-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid var(--ll-form-control-border, rgb(214 211 209));
    border-radius: 1rem;
    background: #fff;
    overflow: hidden;
}

.signature-pad {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: white;
}

.waiver-item {
    margin-bottom: 0;
}

.waiver-sign-header .ll-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
}

.waiver-diff-line--added {
    background-color: #f0fdf4;
    color: #166534;
}

.waiver-diff-line--removed {
    background-color: #fef2f2;
    color: #991b1b;
}

.waiver-diff-line--context {
    background-color: #fff;
    color: #475569;
}

.waiver-signed-signature {
    max-width: 28rem;
    overflow: hidden;
    border: 1px solid var(--ll-form-control-border, rgb(214 211 209));
    border-radius: 1rem;
    background: #fff;
    padding: 0.75rem 1rem;
}

.waiver-signed-signature img {
    display: block;
    max-width: 100%;
    max-height: 96px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.waiver-signature-label {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    line-height: 1.3;
}

.waiver-signature-label-kind {
    font-size: 1.3rem;
    font-weight: 500;
    color: #64748b;
}

.waiver-signature-label-name {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
}

.waiver-signature-label-email {
    font-size: 1.3rem;
    color: #64748b;
}
