.vaitp_chat_client {
	text-align: right;
}
.gpt-code-runner-container {
	padding-top: 30px;
	margin-left: -30px !important;
}
/* General Container */
.gpt-code-runner-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #343541; /* ChatGPT dark background */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    color: #d1d5db; /* Light text */
    font-family: 'Arial', sans-serif;
}
.gpt-form.disabled,
.gpt-form .disabled,
.gpt-form [disabled] {
    opacity: 0.5;
    pointer-events: none;
}
/* Output Area */
.gpt-output-area {
    width: 90%;
    min-height: 500px;
    height: 90%;
    background-color: #444654; /* Slightly darker shade */
    border: none;
    border-bottom: 1px solid #3e3f4b;
    padding: 16px;
    color: #ffffff;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.5;
}

/* Form Area */
.gpt-form {
    width: 86%;
    background-color: #343541;
    padding: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

/* Textarea Styling */
#gpt-query {
    flex-grow: 1;
    height: 60px;
    background-color: #444654;
    border: 1px solid #3e3f4b;
    border-radius: 6px;
    padding: 10px;
    color: #ffffff;
    resize: none;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    outline: none;
}

#gpt-query:focus {
    border-color: #10a37f; /* ChatGPT green */
    box-shadow: 0 0 4px #10a37f;
}

/* Icon Buttons */
.button-icon {
    width: 40px;
    height: 40px;
    background-color: #000000;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin: 0 8px; /* Margin for spacing */
}

.button-icon i {
    font-size: 18px;
    color: #1e90ff; /* Blue */
}

.button-icon:hover {
    background-color: #1e1e1e;
}

/* File Upload Button */
#python_file {
    display: none; /* Hidden file input */
}

.label-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #000000;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin: 0 8px; /* Margin for spacing */
}

.label-icon:hover {
    background-color: #1e1e1e;
}

.label-icon i {
    font-size: 18px;
    color: #1e90ff; /* Blue */
}
/* File Upload Button */
.label-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #000000;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative; /* For tooltip positioning */
}

.label-icon i {
    font-size: 18px;
    color: #1e90ff; /* Blue */
}

.label-icon:hover {
    background-color: #1e1e1e;
}

/* Tooltip for File Name */
.label-icon:hover::after {
    content: attr(title); /* Dynamically display the title attribute */
    position: absolute;
    top: -30px; /* Position above the button */
    left: 110%;
    transform: translateX(-50%);
    background-color: #000; /* Black tooltip background */
    color: #fff; /* White text */
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap; /* Prevent text wrapping */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Tooltip shadow */
    z-index: 1000;
    opacity: 1;
    pointer-events: none;
}


.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 100% !important; 
	margin-left: 0 !important; 
	margin-right: 0 !important;
}

.faq-section {
    margin-top: 30px;
    font-size: 0.8rem;
    padding: 15px;
}
.faq-section h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.faq-item {
    margin-bottom: 10px;
}
.faq-item strong {
    color: #e2e2e2;
}
.faq-item a {
    color: #064f97;
    text-decoration: none;
}
.faq-item a:hover {
    text-decoration: underline;
}
.faq-item code {
    font-size: 0.7rem;
    background-color: #f1f1f1;
    padding: 3px 5px;
    border-radius: 5px;
}

#gpt-output .wp-block-button__link.wp-element-button {
	max-width: 120px;
	max-height: 60px;
}