.aiewr-wrap {
    max-width: 1400px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.aiewr-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
}

.aiewr-with-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.aiewr-sidebar {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
}

.aiewr-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aiewr-sidebar li {
    margin-bottom: 10px;
}

.aiewr-sidebar a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 8px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.aiewr-sidebar a:hover {
    background: #e0e0e0;
    color: #000;
}

.aiewr-input-panel,
.aiewr-output-panel {
    flex: 1 1 300px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aiewr-input-panel label,
.aiewr-output-panel label {
    font-weight: 600;
    color: #333;
}

#aiewr-prompt {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    resize: vertical;
    font-family: inherit;
    transition: border 0.3s;
}

#aiewr-prompt:focus {
    border-color: #607D8B;
    outline: none;
}

.aiewr-output-content {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
    font-family: inherit;
    line-height: 1.6;
    color: #333;
}

.aiewr-output-content p {
    margin: 0.5em 0;
}

#aiewr-generate,
#aiewr-copy {
    align-self: flex-start;
    padding: 10px 25px;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

#aiewr-generate {
    background: linear-gradient(135deg, #607D8B, #455A64);
    color: white;
}

#aiewr-copy {
    background: #f0f0f0;
    color: #333;
}

#aiewr-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(96,125,139,0.4);
}

#aiewr-copy:hover {
    background: #e0e0e0;
}

.aiewr-loader {
    color: #607D8B;
    font-weight: 500;
    margin-top: 10px;
}

.aiewr-error {
    color: #d63638;
    background: #fcf0f1;
    padding: 10px 15px;
    border-radius: 6px;
    border-left: 4px solid #d63638;
}

.aiewr-only-result {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #607D8B;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .aiewr-with-sidebar {
        flex-direction: column;
    }
    .aiewr-sidebar {
        flex: 1 1 100%;
    }
}