.boa-affirmation {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap into a new row on smaller screens */
    text-decoration: none;
    position: relative;
    margin-bottom: 1rem;
}

.boa-affirmation__reference {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0.75rem;
    padding: 5px 20px;
    background-color: #000;
    color: #fff;
    border-radius: 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.boa-affirmation__heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: left;
    padding: 1rem;
    text-transform: capitalize;
    width: 100%; /* Ensure heading spans the full width */
}

.boa-affirmation__col-inner {
    display: flex;
    flex-direction: column;
    /* Vertically align the content inside the .boa-affirmation__col-inner */
    align-items: center;
    justify-content: center;
    /* Styles for the vertically aligned box */
    background-color: #f0f0f0;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%; /* Make the box span the full width of its column */
}

.boa-affirmation__view-canvas {
    width: 100%;
    text-align: center;
    padding: 15px;
    color: #fff;
    border-radius: 30px;
    background-color: #000;
    box-shadow: 0px 5px 10px rgba(0,0,0,.4);
}

.boa-affirmation__col {
    display: flex;
    flex: 1; /* Equal width for both columns */
    box-sizing: border-box; /* Include padding in width calculation */
}

.boa-affirmation__canvas {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 100%; /* Ensure the canvas spans the full width of its container */
}

/* Media query for mobile devices (less than 768px) */
@media (max-width: 767px) {
    .boa-affirmation__col {
        flex-basis: 100%; /* Full width for columns on smaller screens */
    }

    .boa-affirmation__col-inner {
        padding-top: 2rem;
    }

    .boa-affirmation__view-canvas {
        text-align: center;
    }
}
