body {
    font-family: 'Arial', sans-serif; 
    margin: 0;
    padding: 0;
    background-color: #2b2a27;
    color: #E0E0E0; 
    font-size: 14px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #E0E0E0; 
    font-size: 12px;
    padding: 0 5px;
}

.top-bar span {
    cursor: pointer;
    color: #E0E0E0; 
}

.top-bar span:hover {
    color: #4CAF50; 
}

.container {
    background-color: #393937bf; 
    border-radius: 4px;
}

.info-text {
    color: #E0E0E0; 
    margin-bottom: 20px;
    line-height: 1.4;
}

.input-group {
    margin-bottom: 15px;
    margin-top: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #CCCCCC; 
}

input[type="password"],
textarea {
    width: calc(100% - 16px);
    padding: 8px;
    border: 1px solid #444; 
    border-radius: 4px;
    font-size: 14px;
    background-color:#2b2a27; 
    color: #E0E0E0;
}

textarea {
    resize: vertical;
    border-radius: 4px;
    border: 1px solid #444; 
    font-size: 14px;
    font-family: 'Arial', sans-serif; 
}

button {
    background-color: #4CAF50; 
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

button:hover:not(:disabled) {
    background-color: #45a049;
}

button:disabled {
    background-color: #666666; 
    cursor: not-allowed;
}

#apiKeySection, #settingsSection {
    background-color: #393937bf;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.submit-btn {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.query-item {
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #444;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.query-text {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    color: #E0E0E0;
}

.response-container {
    background-color: #2E2E2E;
    border: 1px solid #444;
    border-radius: 4px;
    overflow: hidden;
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background-color: #333333;
    border-bottom: 1px solid #444;
}

.response-content {
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px;
    transition: all 0.3s ease-out;
    max-height: 20px;
    color: #E0E0E0;
}

.response-content.expanded {
    max-height: none;
}

.copy-icon {
    cursor: pointer;
    font-size: 12px;
    color: #CCCCCC; 
}

.copy-icon:hover {
    color: #4CAF50; 
}

.expand-tab {
    text-align: center;
    padding: 5px;
    background-color: #333333;
    cursor: pointer;
    transition: background-color 0.3s;
    border-top: 1px solid #444;
    color: #E0E0E0;
}

.expand-tab:hover {
    background-color: #444444;
}

.expand-tab span {
    margin-right: 5px;
}

.new-query-input {
    background-color: #393937bf;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.new-query-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.new-query-btn-disabled:hover {
    color: #E0E0E0 !important;
}

.progress-indicator {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
}

.progress-step {
    font-size: 12px;
    color: #CCCCCC; 
    margin-bottom: 5px;
}

.progress-step i {
    margin-right: 8px;
}

.progress-step.completed {
    color: #4CAF50;
}

.footer {
    text-align: center;
    padding: 10px;
    background-color: #2b2a27;
    color: #888;
    font-size: 12px;
    border-top: 0px solid #444;
}

.heart {
    color: #888;
}

.footer a {
    color: inherit; 
    text-decoration: none;
}

.footer a:hover {
    color: #aaa;
}

/* Toggle switch styles */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #4CAF50;
}

input:checked + .slider:before {
    transform: translateX(18px);
}

.slider.round {
    border-radius: 22px;
}

.slider.round:before {
    border-radius: 50%;
}

.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}