/* Global Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    padding: 0;
}


.sidebar {
    width: 200px;
    padding: 20px;
    float: left;
    background-color: #f3f3f3;
    border-right: 1px solid #ccc;
}

.slider-container label {
    display: block;
    margin: 10px 0;
}

.slider-container input[type="range"] {
    width: 100%;
}

/* User Message Modal */
#user-message-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#user-message-modal .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#user-message-modal .close-button {
    cursor: pointer;
    float: right;
}

/* Graph Container */
#graph-container {
    width: 100%;
    height: 70vh; /* Making the graph container large */
}

#graph {
    width: 100%;
    height: 100%;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
}


.prompt-container {
    margin: 15px 0;
    width: 100%;
}

.prompt-container label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

#translation-prompt {
    width: 100%;
    height: 60px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical; /* Allows the user to resize the textarea vertically */
}

#translation-prompt:focus {
    outline: none;
    border-color: #66afe9;
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
    #graph-container {
        height: 50vh;
    }
}

@media only screen and (max-width: 480px) {
    header, footer {
        padding: 5px;
    }

    #user-message-modal .modal-content {
        width: 90%;
    }
}

/* Button Styles */
button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Frame around the whole app */
body > .container {
    border: 2px solid #ccc;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Aligning buttons horizontally */
button {
    display: inline-block; /* Aligning buttons horizontally */
}

.token-form-container {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 300px; /* You can adjust the width as needed */
}

.token-form .token-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.token-form label,
.token-form input {
    margin-bottom: 10px;
}

.token-form button {
    width: 80px; /* You can adjust the width as needed */
    height: 30px; /* You can adjust the height as needed */
    margin-bottom: 10px;
    font-size: 10px;
}


/* Colored padding around the whole app */
body {
    margin: 0;
    padding: 0;
    background-color: #e6e6e6; /* Background color for the entire body */
}

.wrapper {
    padding: 20px; /* Colored padding around the main content */
}

.container {
    background-color: #ffffff; /* White background for the main content */
    border: 2px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
