﻿html, body {
    height: 100%;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eaeaea;
}

#paymentPanel {
    width: 600px;
    height: 150px;
    padding: 50px 0px 0px 0px;
    text-align: center;
    color: white;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}

.successPanel {
    background-color: limegreen;
}

.failedPanel {
    background-color: #e64a51;
}

#paymentIcon {
    font-size: 60px
}

#state {
    font-size: 20px
}

#error {
    font-size: 16px
}

#transactions {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

    #transactions td, #transactions th {
        border: 1px solid #ddd;
        padding: 8px;
    }

    #transactions tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    #transactions tr:hover {
        background-color: #ddd;
    }

    #transactions th {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: left;
        background-color: #04AA6D;
        color: white;
    }

.pagination {
    display: inline-block;
}

    .pagination a {
        color: black;
        float: left;
        padding: 8px 16px;
        text-decoration: none;
        border: 1px solid #ddd;
    }

        .pagination a.active {
            background-color: #4CAF50;
            color: white;
            border: 1px solid #4CAF50;
        }

        .pagination a:hover:not(.active) {
            background-color: #ddd;
        }

        .pagination a:first-child {
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
        }

        .pagination a:last-child {
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
        }