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

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

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

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

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

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

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

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

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

.aiytt-input-panel label,
.aiytt-output-panel label {
    font-weight: 600;
    color: #333;
    margin-top: 5px;
}

.aiytt-input-panel label:first-of-type {
    margin-top: 0;
}

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

#aiytt-topic:focus {
    border-color: #FF0000;
    outline: none;
}

.aiytt-input-panel select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
}

.aiytt-input-panel select:focus {
    border-color: #FF0000;
    outline: none;
}

.aiytt-options {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.aiytt-options label {
    font-weight: 500;
    color: #555;
    margin: 0;
}

.aiytt-options select {
    width: auto;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    cursor: pointer;
}

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

.aiytt-output-content ol {
    margin: 0;
    padding-left: 20px;
}

.aiytt-output-content li {
    margin-bottom: 8px;
}

#aiytt-generate,
#aiytt-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;
}

#aiytt-generate {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: white;
}

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

#aiytt-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,0,0,0.4);
}

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

.aiytt-loader {
    color: #FF0000;
    font-weight: 500;
    margin-top: 10px;
}

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

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

.aiytt-only-result ol {
    margin: 0;
    padding-left: 20px;
}

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