body {
    font-family: 'Arial', sans-serif;
    text-align: center;
    background: linear-gradient(135deg, #ece9e6, #ffffff);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    display: flex;
    width: 90%;
    max-width: 900px;
    background: white;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    height: 90vh;
}

.left-section {
    width: 40%;
    padding-right: 20px;
    border-right: 2px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right-section {
    width: 60%;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box; /* Ensures padding and width fit inside the container */
}

h1 {
    color: #333;
}

h2 {
    font-size: 18px;
    margin-top: 15px;
    color: #444;
}

h4 {
    color: #666;
    font-weight: normal;
    margin-top: -10px;
}

.help-text {
    font-size: 14px;
    color: #555;
    text-align: left;
    margin-bottom: 10px;
}

.help-list {
    text-align: left;
    font-size: 14px;
    color: #666;
    padding-left: 20px;
}

.input-group {
    display: flex;
    align-items: center;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    font-size: 16px;
}

textarea {
    width: calc(100% - 20px); /* Ensures it fits within the parent container with 10px margin */
    max-width: 100%; /* Prevents overflow beyond parent container */
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    resize: none;
    height: 100%;
    min-height: 300px;
    margin: 10px; /* Ensures margin around the textarea */
    box-sizing: border-box; /* Ensures padding and border are included in width calculations */
}

.token-expiration {
    margin-left: 20px;
}

button {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease-in-out;
}

button:hover {
    background: #0056b3;
}

.clear-btn {
    background: #dc3545;
}

.clear-btn:hover {
    background: #c82333;
}

.copy-btn {
    background: #28a745;
}

.copy-btn:hover {
    background: #218838;
}

.get-data-btn {
    margin-left: 12px;
    height: 44px;
    min-width: 80px;
}

/* Make the layout stack on smaller screens */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    .left-section, .right-section {
        width: 100%;
        padding: 10px;
        border: none;
    }
    .right-section {
        margin-top: 20px;
    }
    textarea {
        min-height: 200px;
    }

    .input-group {
        display: flex;
        width: calc(100%-20px);
        align-items: center;
    }
}