﻿/* General body styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff; /* Light background */
    color: #333;
    text-align: left;
}

#titletext {
    color: #72A4D2;
    background: #ffffff;
    text-shadow: 2px 8px 6px rgba(0,0,0,0.2), 0px -5px 35px rgba(255,255,255,0.3);
    margin-left: 20px;
    margin-top: 2px;
    font-weight: bold;
}

/* Style for buttons */
.tab-buttons {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    text-align: center; 
}

    .tab-buttons button {
        padding: 10px 20px;
        border: none;
        cursor: pointer;
        background-color: #bfd9ff; /* Light pastel blue */
        font-size: 16px;
        border-radius: 10px; /* Rounded buttons */
        margin: 5px;
        color: #ffc; /*  White text */
        transition: background-color 0.3s ease;
        box-shadow: -6px 8px 10px rgba(81,41,10,0.1),10px 12px 12px rgba(81,41,10,0.2);
    }

        .tab-buttons button:hover {
            background-color: #99ccff; /* Slightly darker blue on hover */
        }

        .tab-buttons button.active {
            background-color: #80bfff; /* Even darker blue for active tab */
            color: #fff;
            font-weight: bold;
            z-index: 999;
        }

/* Style for tab content */
.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    /*border: 10px solid #f00;*/
    border-radius: 10px;
    background-color: #e6f2ff; /* Light pastel blue for content background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 840px;
    box-shadow: -6px 8px 10px rgba(81,41,10,0.1),0px 2px 2px rgba(81,41,10,0.2);
}

    .tab-content.active {
        display: block;
    }

.inputBox {
    border-radius: 5px;
    width: 100px;
    font-size: 16px;
    background-color: lightgoldenrodyellow;
}
.inputGroup {
    margin-bottom: 15px; /* Adds space between each input group */
}

.results {
    position: fixed;
    left: 350px;
    top: 140px;
    border: 1px solid blue;
    border-radius: 5px;
    font-size: 16px;
    background-color: lightgoldenrodyellow;
    width: 400px;
    height: 580px;
    box-shadow: -6px 8px 10px rgba(81,41,10,0.1),0px 2px 2px rgba(81,41,10,0.2);
}

.buttonX {
    background-color: transparent;
    background-image: linear-gradient(to bottom, #fff, #f8eedb);
    border: 0 solid #e5e7eb;
    border-radius: 4px;
    box-sizing: border-box;
    color: #482307;
    cursor: pointer;
    font-size: 120%;
    font-weight: 700;
    width: 200px;
    margin: 0;
    outline: 2px solid transparent;
    padding: 15px 20px;
    text-align: center;
    text-transform: none;
    transition: all .1s cubic-bezier(.4, 0, .2, 1);
    user-select: none;
    -webkit-user-select: none;
    box-shadow: -6px 8px 10px rgba(81,41,10,0.1),0px 2px 2px rgba(81,41,10,0.2);
}

    .buttonX:active {
        background-color: #f3f4f6;
        box-shadow: -1px 2px 5px rgba(81,41,10,0.15),0px 1px 1px rgba(81,41,10,0.15);
        transform: translateY(0.125rem);
    }

    .buttonX:focus {
        box-shadow: rgba(72, 35, 7, .46) 0 0 0 4px, -6px 8px 10px rgba(81,41,10,0.1), 0px 2px 2px rgba(81,41,10,0.2);
    }

.buttonEG {
    background-color: transparent;
    background-image: linear-gradient(to bottom, #fff, #f8eedb);
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    box-sizing: border-box;
    color: #482307;
    cursor: pointer;
    font-size: 90%;
    font-weight: 500;
    width: 250px;
    margin: 0;
    outline: 1px solid transparent;
    padding: 4px 5px;
    margin : 4px 5px;
    text-align: center;
    text-transform: none;
    transition: all .1s cubic-bezier(.4, 0, .2, 1);
    user-select: none;
    -webkit-user-select: none;
    box-shadow: -6px 8px 10px rgba(81,41,10,0.1),0px 2px 2px rgba(81,41,10,0.2);
}

    .buttonEG:active {
        background-color: #f3f4f6;
        box-shadow: -1px 2px 5px rgba(81,41,10,0.15),0px 1px 1px rgba(81,41,10,0.15);
        transform: translateY(0.125rem);
    }

    .buttonEG:focus {
        box-shadow: rgba(72, 35, 7, .46) 0 0 0 4px, -6px 8px 10px rgba(81,41,10,0.1), 0px 2px 2px rgba(81,41,10,0.2);
    }

/* Style for the table */
table {
    width: 50%; /* Full width */
    border-collapse: collapse; /* Merge borders */
    margin: 20px 10px; /* Add some space above and below */
}

th, td {
    border: 1px solid #ccc; /* Border for cells */
    padding: 5px; /* Space inside cells */
    text-align: left; /* Align text to the left */
}

th {
    background-color: #f2f2f2; /* Light gray background for header */
}

tr:nth-child(even) {
    background-color: #f9f9f9; /* Light gray for even rows */
}

.bottom-label {
    position: absolute; /* Set absolute positioning */
    bottom: 0; /* Anchor to the bottom of the div */
    left: 45%; /* Center the label horizontally */
    transform: translateX(-50%); /* Adjust to truly center it */
    background-color: #add8e6; /* Light blue background for the label */
    background-color: lightgoldenrodyellow;
    padding: 10px;
    font-weight: bold;
    width:300px;
}

#canvas2D {
    position: absolute;
    top: 140px;
    left: 740px;
    border: 1px solid green;
    border-radius: 2px;
    box-shadow: 5px 5px 5px grey;
    background-image: linear-gradient(whitesmoke, white);
    margin-left: 10px;
    margin-top: 10px;
    z-index: 1;
}
#canvas2D2 {
    /*display: none;*/
    position: absolute;
    top: 140px;
    left: 740px;
    border: 1px solid green;
    border-radius: 2px;
    box-shadow: 5px 5px 5px grey;
    background-image: linear-gradient(whitesmoke, white);
    margin-left: 10px;
    margin-top: 10px;
    z-index: 1;
}

.navbar {
    overflow: hidden;
    background-color: steelblue;
    position: fixed;
    bottom: 4px;
    width: 100%;
    padding: 4px;
    margin-top: 10px;
}

    .navbar a {
        float: left;
        display: block;
        color: #f2f2f2;
        text-align: center;
        padding: 4px 6px;
        text-decoration: none;
        font-size: 14px;
    }

        .navbar a:hover {
            background: #f1f1f1;
            color: black;
        }

        .navbar a.active {
            background-color: #4CAF50;
            color: white;
        }

@media print {
    /* Adjust scale by making content smaller/larger */
    .printable-content {
        transform: scale(.8); /* Scale down to 80% */
        transform-origin: top left; /* Keep origin at the top left */
    }

    /* Hide non-printable elements */
    .non-printable {
        display: none;
    }
}
