body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #2E8BC0;
    color: #fff;
    text-align: left;
    padding: 10px;
}

header h1 {
    margin: 0;
}

main {
    padding: 20px;
    margin: 0 auto; 
    max-width:1000px;
}

.rounded-box {
    border-radius: 10px;
    border: 1px solid #ccc;
    overflow: hidden;
}

.box-header {
    background-color: #2E8BC0;
    color: #fff;
    text-align: center;
    padding: 10px;
}

.box-content {
    display: flex; /* Use flexbox for the two sections */
}
.box-footer{
    display: flex;
    justify-content: center;
    margin: 20px;
}

.section {
    flex: 1; /* Each section takes equal width */
    text-align: center;
    margin: 20px;
}

footer {
    background-color: #2E8BC0;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Styles for the modal */
        .modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 20px;
            background-color: #fff;
            border: 1px solid #ccc;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 3;
        }

        /* Styles for the overlay background */
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1;
        }


table {
            border-collapse: collapse;
            width: 100%;
            margin-top: 20px;
	margin-bottom:100px;
        }

        th, td {
            border: 1px solid #dddddd;
            text-align: left;
            padding: 8px;
        }

        th {
            background-color: #f2f2f2;
        }

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

.continue-button {
            display: inline-block;
            padding: 10px 20px;
            font-size: 16px;
            font-weight: bold;
            text-align: center;
            text-decoration: none;
            background-color: #2E8BC0; /* Primary color */
            color: #fff;
            border: 2px solid #2E8BC0;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .continue-button:hover {
            background-color: #25719d; /* Darker shade on hover */
        }

.spinner-container {
            display: none;
	    position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
z-index:10;
        }

        .spinner {
            border: 20px solid rgba(255, 255, 255, 0.9);
            border-top: 20px solid #2E8BC0; /* Spinner color */
            border-radius: 50%;
            width: 200px;
            height: 200px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

input[type="number"] {
    padding: 10px;
    font-size: 16px;
    width: 60%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .box-content {
        flex-direction: column;
    }
table {
        width:90%;
        font-size: 90%; /* Reduce the font size by 10% */
    }
#tablediv{
	width:100%;
	overflow-x: auto;
	}

    th, td {
        max-width: none; /* Remove max-width for cells on smaller screens */
        word-wrap: break-word; /* Allow long words to wrap */
    }
}