﻿/* CSS for the Live Stewarding Page */

.container h1 {
    font-family: Nasalization;
}

.incidents-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.card {
    background-color: #e0e3e4;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 300px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

    .card:hover {
        transform: scale(1.05);
    }

.card-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 16px;
}

.card-body {
    margin-top: 10px;
    font-size: 14px;
}

.red-penalty {
    color: red;
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    max-width: 100%;
    overflow:auto;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative;
    display: flex;
    align-items:  stretch;
    justify-items: center;
}
#modelHeader h3 {
    font-size: 24px;
    position: absolute;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover,
    .close:focus {
        color: black;
    }

.penalty {
    font-size: 16px;
    font-weight: 700;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

#applyFilter {
    position: absolute;
    right: 0px;
    top: 0;
    height: 71%;
    width: 100px; /* Adjust width as needed */
    border: none;
    background-color: #007bff; /* Button color */
    color: white;
    cursor: pointer;
}

    #applyFilter:hover {
        background-color: #0056b3; /* Darker button color on hover */
    }

/* Responsive adjustments */
@media (max-width: 450px) {
    .card {
        width: 100%;
    }
}
