/* softcss.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f3f4f6;
    color: #333;
    padding: 40px;
    text-align: center;
}

h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #444;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

button {
    padding: 12px 25px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    background-color: #4CAF50;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

button:focus {
    outline: none;
}

#tableContainer {
    display: none;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 0.9rem;
}

th {
    background-color: #4CAF50;
    color: white;
}

td {
    background-color: #fff;
}

td[contenteditable="true"]:hover {
    background-color: #e8f5e9;
    cursor: text;
}

tr:nth-child(odd) td {
    background-color: #fafafa;
}

tr:nth-child(even) td {
    background-color: #f1f1f1;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

button {
    background-color: #4CAF50; /* Green */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

#popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #ccc;
    padding: 20px;
    background-color: white;
    z-index: 1000;
    overflow: auto;
    max-height: 80%;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #4CAF50;
    color: white;
}

td {
    background-color: #f9f9f9;
}

input[type="text"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="text"]:focus {
    border-color: #4CAF50;
    outline: none;
}

select {
    padding: 8px;
    font-size: 14px;
    margin-right: 10px;
}

canvas {
    border: 1px solid black;
    margin-top: 20px;
    display: block; /* Ensure canvas is on its own line */
    margin-left: auto;
    margin-right: auto;
    max-width: 100%; /* Ensure canvas width is responsive */
}

/* Flexbox for arranging buttons in a line */
.button-container {
    display: flex;
    justify-content: flex-start; /* Align buttons to the left */
    margin-bottom: 20px; /* Space between buttons and the graph */
}

.button-container button {
    margin-right: 15px; /* Space between the buttons */
}

/* Video player styling */
video {
    width: 100%;
    max-width: 800px; /* Adjust the max width as per your layout */
    margin-top: 20px;
}
