/* Scoped to prevent conflicts with the site's theme and page builder. */
.awda-app {
    --awda-black: #1f1f1f;
    --awda-gold: #c59b51;
    --awda-muted: #6a6c70;
    --awda-border: #e2e0dc;
    color: #222;
    max-width: 1000px;
    margin: 35px auto 65px;
    line-height: 1.65;
    box-sizing: border-box
}

.awda-app * {
    box-sizing: border-box
}

.awda-app [hidden] {
    display: none !important
}

.awda-header {
    background: #1f1f1f;
    color: #f2f2f2;
    border-radius: 14px 14px 0 0;
    padding: 24px 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px
}

.awda-header h2 {
    color: #f2f2f2 !important;
}

.awda-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.1;
    letter-spacing: .14em
}

.awda-mark {
    font-size: 33px;
    color: #d4ab62;
    border: 1px solid #c59b51;
    padding: 4px 12px
}

.awda-brand strong {
    display: block;
    font-size: 21px;
    letter-spacing: .15em;
    color: white
}

.awda-brand small {
    display: block;
    color: #c59b51;
    font-size: 9px;
    letter-spacing: .35em;
    margin-top: 4px
}

.awda-secure {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    color: #e1c48d;
    text-align: right
}

.awda-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #333;
    border-top: 1px solid #555555;
}

.awda-progress span {
    padding: 14px 8px;
    text-align: center;
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: .03em;
    border-bottom: 3px solid transparent
}

.awda-progress .is-active {
    color: #1f1f1f;
    border-bottom-color: #c59b51;
    font-weight: 700;
    background: #d5a858;
}

.awda-panel {
    background: #fff;
    padding: 45px 48px;
    border: 1px solid var(--color-content-border);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 12px 35px #0000000a
}

.awda-panel h1, .awda-panel h2, .awda-panel h3 {
    color: #1f1f1f;
    line-height: 1.25;
    letter-spacing: 0;
    margin: 8px 0 18px
}

.awda-panel h1 {
    font-size: 36px
}

.awda-panel h2 {
    font-size: 30px
}

.awda-panel h3 {
    font-size: 21px;
    margin-top: 25px
}

.awda-panel p {
    margin: 0 0 18px;
    font-size: 15px
}

.awda-panel a:not(.awda-btn) {
    color: #92702f;
    text-decoration: underline;
    text-underline-offset: 2px
}

.awda-kicker {
    color: #987231;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase
}

.awda-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 26px 0;
    padding: 18px;
    border: 1px solid #e4ddce;
    background: #fbf9f5;
    border-radius: 8px
}

.awda-summary>div {
    min-width: 0
}

.awda-summary small {
    display: block;
    font-size: 12px;
    color: #757575;
    margin-bottom: 6px
}

.awda-summary strong {
    font-size: 17px;
    overflow-wrap: anywhere
}

.awda-intro-list {
    padding-left: 22px;
    margin: 25px 0
}

.awda-intro-list li {
    padding-left: 8px;
    margin: 13px 0;
    color: #4a4a4a;
    font-size: 15px
}

.awda-fine {
    font-size: 12px !important;
    color: #747474 !important
}

.awda-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap
}

.awda-actions:has(>button:only-child) {
    justify-content: flex-end
}

.awda-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #d5a858 !important;
    color: #1f1f1f !important;
    border: 1px solid #d5a858 !important;
    border-radius: 5px;
    padding: 13px 23px;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    cursor: pointer;
    min-height: 45px;
    text-align: center;
    transition: background .15s
}

.awda-btn:hover, .awda-btn:focus {
    background: #efc97f !important;
    border-color: #efc97f !important;
    color: #1f1f1f !important
}

.awda-btn:disabled {
    opacity: .55;
    cursor: not-allowed
}

.awda-btn-outline {
    background: white !important;
    color: #1f1f1f !important;
    border-color: #1f1f1f !important
}

.awda-btn-outline:hover {
    color: #1f1f1f !important
}

.awda-app form label:not(.awda-check) {
    font-size: 13px;
    display: block;
    color: #3b3b3b;
    font-weight: 600;
    margin-bottom: 18px
}

.awda-app input:not([type=checkbox]), .awda-app select {
    line-height: 1;
    display: block;
    width: 100%;
    background: white;
    color: #222;
    margin-top: 8px;
    padding: 12px 13px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    min-height: 45px;
    font-size: 14px;
}

.awda-app input:focus, .awda-app select:focus {
    border-color: #b68b44;
    outline: 2px solid #d0b47d44
}

.awda-app input[readonly] {
    background: #f8f8f8;
    color: #626262
}

.awda-app input.awda-invalid, .awda-app select.awda-invalid {
    border-color: #bb3b39;
    outline: 1px solid #bb3b39
}

.awda-app form label small {
    font-size: 11px;
    display: block;
    color: #777;
    margin-top: 4px;
    font-weight: 400
}

.awda-app em {
    color: #b33b33;
    font-style: normal
}

.awda-two, .awda-three {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.awda-three {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.awda-check {
    display: flex;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid #e2e0dc;
    background: #fbfaf7;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    color: #303030;
    margin: 12px 0;
    align-items: flex-start;
    line-height: 1.55
}

.awda-check input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    accent-color: #b88a3b;
    margin-top: 1px
}

.awda-viewer {
    border: 1px solid #d7d9db;
    border-radius: 8px;
    overflow: hidden;
    margin: 25px 0;
    background: #5c626b
}

.awda-toolbar {
    background: #f7f7f7;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    border-bottom: 1px solid #dedede;
    position: relative;
    z-index: 2
}

.awda-toolbar button {
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 3px;
    padding: 8px 12px;
    line-height: 1.2;
    font-size: 12px;
    cursor: pointer;
    min-height: 34px
}

.awda-toolbar button:hover:not(:disabled) {
    border-color: #c49a55;
    background: #fffaf0
}

.awda-toolbar button:disabled {
    opacity: .4;
    cursor: default
}

.awda-page-status {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    padding: 0 7px;
    min-width: 100px;
    text-align: center
}

.awda-toolbar-gap {
    flex: 1
}

.awda-pdf-scroll {
    min-height: 380px;
    max-height: 73vh;
    overflow: auto;
    padding: 14px;
    background: #626a73;
    text-align: center
}

.awda-paper {
    display: inline-block;
    background: white;
    text-align: left;
    box-shadow: 0 4px 18px #1118;
    vertical-align: top;
    max-width: 100%;
    width: 720px;
    min-width: 0
}

.awda-viewer.awda-enhanced .awda-paper {
    max-width: none
}

.awda-paper .awda-signature-zone {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: block;
    clear: both
}

.awda-paper .awda-signature-zone[hidden] {
    display: none !important
}

.awda-native {
    border: 0;
    width: 100%;
    height: 640px;
    display: block;
    background: white
}

.awda-pdf-canvas {
    display: block;
    max-width: none;
    background: white
}

.awda-signature-zone {
    background: #fff;
    padding: 25px;
    border-top: 1px dashed #c6bdad;
    margin: 0
}

.awda-signature-label {
    font-weight: 700;
    font-size: 18px;
    margin: 12px 0 10px
}

.awda-signature-pad {
    display: block;
    background: #fff;
    border: 2px solid #383838;
    border-radius: 5px;
    width: 100%;
    height: 155px;
    touch-action: none;
    cursor: crosshair
}

.awda-pad-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 9px
}

.awda-pad-actions small {
    color: #1f1f1f;
    font-size: 12px;
    font-weight: bold;
}

.awda-clear {
    border: 0;
    background: none;
    color: #986e30;
    font-weight: 700;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer
}

.awda-viewer-help {
    background: #f8f8f8;
    color: #626262;
    font-size: 12px;
    padding: 12px 16px;
    border-top: 1px solid #ddd
}

.awda-error {
    padding: 14px;
    background: #fff0f0;
    border: 1px solid #e1b5b5;
    color: #a32929;
    border-radius: 5px;
    margin: 15px 0
}

.awda-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 28px
}

/* .awda-app .awda-panel p strong {
    color: #222
} */



/* Mobile Only Styling */
@media(max-width:767px) {
     .awda-progress {
    grid-template-columns: repeat(2, 1fr);
    }

    .awda-app {
        margin: 0 auto 30px
    }

    .awda-header {
        padding: 18px
    }

    .awda-panel {
        padding: 26px 19px;
    }

    .awda-panel h1 {
        font-size: 29px
    }

    .awda-panel h2 {
        font-size: 26px
    }

    .awda-progress span {
        font-size: 9px;
        padding: 13px 4px
    }

    .awda-summary {
        grid-template-columns: 1fr
    }

    .awda-two, .awda-three {
        grid-template-columns: 1fr;
        gap: 0
    }

    .awda-toolbar {
        gap: 5px
    }

    .awda-toolbar button {
        flex: 1 1 27%;
        padding: 8px 5px
    }

    .awda-page-status {
        order: -1;
        flex: 1 1 100%
    }

    .awda-toolbar-gap {
        display: none
    }

    .awda-pdf-scroll {
        padding: 7px;
        min-height: 340px
    }

    .awda-native {
        width: 100%;
        height: 520px
    }

    .awda-signature-zone {
        padding: 16px 12px
    }

    .awda-pad-actions {
        align-items: flex-start;
        flex-direction: column
    }

    .awda-downloads a {
        width: 100%
    }

    .awda-actions {
        flex-direction: column-reverse
    }

    .awda-actions .awda-btn {
        width: 100%
    }

    .awda-brand strong {
        font-size: 16px
    }

    .awda-secure {
        font-size: 9px
    }
}

/* Identity differences are explained to the signer before they submit. */
.awda-identity-difference {
    border: 1px solid #c9a54e;
    border-left: 4px solid #c9a54e;
    padding: 14px 16px;
    margin: 18px 0;
    border-radius: 6px;
    background: #fffaf0;
    color: #242424;
}

.awda-identity-difference p {
    margin: 0 0 12px;
}

.awda-identity-difference textarea {
    background: white;
    width: 100%;
    display: block;
    margin-top: 7px;
    box-sizing: border-box;
}

input#awda-business, input#awda-privacy {
    background: white;
    border: 1px solid black;
}

 

.awda-signature-caption {
    font-size: 12px;
    margin-bottom: 20px;
}
 