body {
    font-family: 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #f4f4f4;
}

header {
    background-color: #00A3E0;
    padding: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

header input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-family: 'Trebuchet MS', sans-serif;
}

button {
    background-color: #73C92D;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    opacity: 0.9;
}

.export-btn {
    background-color: #91999F;
}

.menu-container {
    position: relative;
    margin-left: auto;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    border: 1px solid #91999F;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-direction: column;
    z-index: 1000;
    min-width: 150px;
}

.dropdown-menu button {
    background-color: transparent;
    color: #333;
    text-align: left;
    border-radius: 0;
    width: 100%;
}

.dropdown-menu button:hover {
    background-color: #f4f4f4;
    color: #73C92D;
}

#ai-response {
    background-color: #fff;
    padding: 15px;
    border-bottom: 2px solid #00A3E0;
    font-size: 14px;
    max-height: 150px;
    overflow-y: auto;
}

.container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.sidebar {
    display: none;
    width: 250px;
    background: white;
    border-right: 1px solid #91999F;
    padding: 15px;
    overflow-y: auto;
}

.sidebar h2 {
    color: #00A3E0;
    font-size: 18px;
    margin-top: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    word-break: break-all;
    font-size: 13px;
}

.content {
    flex: 1;
    display: flex;
}

iframe {
    flex: 1;
    border: none;
    width: 100%;
    height: 100%;
    background-color: white;
}

/* responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: 150px;
        border-right: none;
        border-bottom: 1px solid #91999F;
    }
}
