﻿main {
    flex: 1;
    padding: 15px 0;
}

    main .container {
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }

    main .card {
        max-width: 660px;
        margin-left: auto;
        margin-right: auto;
        border: 1px solid #e5e5e6;
        border-bottom-width: 3px;
    }

        main .card .card-heading {
            background-color: var(--primary-color);
            color: #ffffff;
            font-size: 18px;
            padding: 4px 10px;
            margin-bottom: 0px;
        }

.confirmation {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

    .confirmation > .card {
        width: 100%;
        max-width: 800px;
    }

    .confirmation div p {
        margin-bottom: 0px !important;
        border-radius: 0px !important;
        text-align: center;
    }

        .confirmation div p.success {
            --bs-alert-color: var(--bs-success-text-emphasis);
            --bs-alert-bg: var(--bs-success-bg-subtle);
            --bs-alert-border-color: var(--bs-success-border-subtle);
        }

        .confirmation div p.authorised {
            --bs-alert-color: var(--bs-success-text-emphasis);
            --bs-alert-bg: var(--bs-warning-bg-subtle);
            --bs-alert-border-color: var(--bs-warning-border-subtle);
        }

        .confirmation div p.failed {
            color: #b94a48;
            --bs-alert-color: var(--bs-danger-text-emphasis);
            --bs-alert-bg: var(--bs-danger-bg-subtle);
            --bs-alert-border-color: var(--bs-danger-border-subtle);
        }

        .confirmation div p.stressed {
            font-weight: bold;
        }

    .confirmation div hr {
        margin-top: 0px;
        margin-bottom: 0px;
        border-top: 0px;
        border-bottom: 0px;
        padding: 0px;
    }

    .confirmation .card {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }

.buttonContainer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}

    .buttonContainer > div {
        flex: 1 1 auto;
        text-align: right;
    }

.swal-popup {
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    background-color: #fff;
    padding: 2rem;
}

.swal-title {
    font-weight: 600;
    color: #333;
}

.swal-confirm {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: .5rem;
    padding: .5rem 1.5rem;
}

.swal-cancel {
    background-color: #ccc;
    color: #000;
}