/* scrollable section */
.courtsModalBodyScroll {
    max-height: calc(60vh - 2em); /* subtract header + footer height */
    overflow-y: auto;
}


/* Courts close button */

.courtsCloseButton {
    position: relative;
    overflow: hidden;
    background-color: #767676; /* #5CB85C green-ish*/
    color: #FFFFFF;
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

    .courtsCloseButton:active::after {
        width: 200px;
        height: 200px;
        transition: 0s;
    }

    .courtsCloseButton::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.4s ease, height 0.4s ease;
    }

    .courtsCloseButton:focus {
        outline: none;
        animation: pulse 0.6s ease-in-out;
    }

    .courtsCloseButton:hover {
        background-color: #D32F2F; /* #449D44 green-ish*/
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        color: #FFFFFF;
        transform: translateY(-2px);
    }
/*
    .courtsCloseButton i {
        margin-right: 8px;
        transition: transform 0.3s ease;
    }

    .courtsCloseButton:hover i {
        transform: rotate(90deg);
    }
*/


/* Courts top-right-Window-like close button */

.courtsExitButton {
    float: right;
    font-size: 2em;
    font-weight: bold;
    width: 1em;
    height: 1em;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .8;
    line-height: 0em;
    padding: 0 0 6px 0;
    text-align: center;
    vertical-align: central;
}

    .courtsExitButton:focus {
        outline: none;
        animation: pulse 0.6s ease-in-out;
    }

    .courtsExitButton:hover {
        background-color: #D32F2F;
        color: #FFFFFF;
        transform: translateY(-2px);
    }


/* Courts print button */

.courtsPrintButton {
    position: relative;
    overflow: hidden;
    background-color: #0F8099;
    color: #FFFFFF;
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

    .courtsPrintButton:active::after {
        width: 200px;
        height: 200px;
        transition: 0s;
    }

    .courtsPrintButton::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.4s ease, height 0.4s ease;
    }

    .courtsPrintButton:focus {
        animation: pulse 0.6s ease-in-out;
        color: #FFFFFF;
        outline: none;
    }

    .courtsPrintButton:hover {
        background-color: #0D7389;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        color: #FFFFFF;
        transform: translateY(-2px);
    }
/*
    .courtsPrintButton i {
        margin-right: 8px;
        transition: transform 0.3s ease;
    }

    .courtsPrintButton:hover i {
        transform: rotate(90deg);
    }
*/


/*
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}
*/


/*
Change History:
KT 11/26/2025 created courtsCustomButtons.css
KT 12/03/2025 08:45 final, UAT tested; ready for production
*/
