/* Reset some basic elements */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: no-repeat center center fixed;
    background-size: cover;
    font-family: 'Arial', sans-serif;
}

/* Apply the background image */
body {
    background-image: url('inside_line_art.png'); /* Update the path to your image */
}

/* Style for the main title with a glow effect */
#main-title {
    color: #0ff; /* Bright text color for contrast */
    text-shadow: 0 0 5px #0ff; /* Glow effect */
    margin-left: 20px;
}

#main-title:hover {
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff; /* Enhanced glow effect on hover */
}

/* Center the content on the page */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Style the tab buttons */
.tab {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

.tab button {
    color: #fff;
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab button:hover, .tab button.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* If you want to make sure the radio buttons are aligned with the button text */
.start-analysis-button, .radio-container {
    justify-content: flex-start; /* Aligns content to the left */
    display: flex;
    width: fit-content; /* Shrink the width to fit content */
}

/* Style for the tab content */
.control-panel-tabcontent {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Center children */
    justify-content: flex-start; /* Align children to the top */
    width: 100%; /* Use full width */

    margin-top: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: #fff;
    text-align: center;

    /* Adjust if you want to make it narrower */
}

/* Style for the tab content */
.results-tabcontent {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Center children */
    justify-content: flex-start; /* Align children to the top */
    width: 100%; /* Use full width */

    margin-top: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: #fff;
    text-align: center;
    height: 800px; /* Example: sets the height to 300px */

    /* Adjust if you want to make it narrower */
}

/* Enhancing visibility of titles against the background */
.title {
    text-shadow: 0 0 8px #00e6e6;
}

/* Add space above the radio button section */
.radio-button-section {
    margin-top: 30px; /* Adjust the space as needed */
}

/* Align the labels with the radio buttons */
label {
    vertical-align: middle; /* Align the middle of the label with the middle of the radio button */
}

.radio-container {
    display: block; /* Block-level element */
    text-align: center; /* Center its contents */
    margin-bottom: 10px; /* Space between each radio button */
}

/* Style the radio buttons */
.radio-button {
    appearance: none;
    background-color: #fff;
    cursor: pointer;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #0ff;
    position: relative;
    vertical-align: middle;
    /* Keep the space between radio button and its label */
    margin: 0 10px 0 20px;
}

.radio-button:checked {
    background-color: #0ff;
}

.radio-button:checked::after {
    content: '';
    position: absolute;
    top: 50%; /* Vertically center the checkbox */
    left: 50%; /* Horizontally center the checkbox */
    transform: translate(-50%, -50%); /* Center the checkbox relative to its parent */
    width: 80%; /* Adjust the width as needed */
    height: 80%; /* Adjust the height as needed */
    border-radius: 50%;
    background: #002233;
}

.radio-button:active {
    /* Your styles for the pressed effect */
    box-shadow: inset 0 0 5px rgba(0,0,0,0.3); /* Example style */
}

/* Style the labels for the radio buttons for better visibility */
label {
    color: #fff;
    text-shadow: 0 0 8px #00e6e6;
}

/* Adding a glow effect to buttons for a cyberpunk feel */
button {
    background-color: #002233; /* Dark base color */
    color: #0ff; /* Bright text color for contrast */
    padding: 12px 24px;
    border: 1px solid #0ff; /* Neon-like border */
    border-radius: 5px;
    text-shadow: 0 0 5px #0ff;
    box-shadow: 0 0 5px #0ff;
    transition: all 0.3s ease;
    font-size: 1em;
}

button:hover {
    background-color: #003344;
    box-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
}

/* Style for the start-analysis-button */
#start-analysis-button {
    margin-bottom: 20px; /* Add space below the button */
    margin-left: 20px;
}

/* Center align the results-container */
#results-container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2); /* Almost transparent background */
    padding: 20px;
    margin: 0 auto; /* Center the container horizontally */
    max-width: 1000px; /* Optionally set a maximum width for the container */

}

/* Style the transparent textarea with left-aligned text */
.transparent-textarea {
    background-color: transparent;
    border: none;
    outline: none;
    box-sizing: border-box;
    width: calc(120ch + 20px); /* Assuming each character (ch) is the width unit, plus some padding */
    /* width: 100%; /* Make the textarea fill the container horizontally */
    text-align: left; /* Left-align the text inside the textarea */
    overflow-y: scroll; /* Add a vertical scroll bar */
    resize: both; /* Allow both horizontal and vertical resizing */

    color: #0ff; /* Bright text color for contrast */
    text-shadow: 0 0 5px #0ff; /* Glow effect */
}
