/*
Theme Name: aiword
Description: Ένα WordPress theme με AI φόρμα δημιουργίας (Themes, Plugins, .exe) χρησιμοποιώντας το Gemini API.
Author: AI Studio
Version: 1.2
*/

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
}
.aiword-sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.aiword-sidebar-header {
    padding: 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
}
.aiword-sidebar-header h1 {
    margin: 0;
    font-size: 24px;
    color: #0f172a;
}
.aiword-sidebar-nav {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.aiword-menu-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.aiword-menu-ul li {
    margin-bottom: 8px;
}
.aiword-menu-ul li a {
    padding: 12px 16px;
    border-radius: 12px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}
.aiword-menu-ul li.current-menu-item > a, 
.aiword-menu-ul li a:hover {
    background: #eef2ff;
    color: #4338ca;
}
.aiword-main {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}
.aiword-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.aiword-page-header h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    color: #1e293b;
}
.aiword-page-header p {
    margin: 0;
    color: #64748b;
}
.aiword-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.aiword-form-group {
    margin-bottom: 24px;
}
.aiword-form-group:last-child {
    margin-bottom: 0;
}
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
    font-size: 14px;
}
select, textarea {
    width: 100%;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s;
}
select:focus, textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
button.aiword-btn {
    width: 100%;
    padding: 14px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
button.aiword-btn:hover {
    background: #4338ca;
}
button.aiword-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.aiword-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.aiword-results-header h3 {
    margin: 0;
    font-size: 18px;
    color: #0f172a;
}
#result-content pre {
    background: #0f172a;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    border: 1px solid #1e293b;
}
#result-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #f8fafc;
    font-size: 14px;
}
@media (max-width: 768px) {
    body { flex-direction: column; }
    .aiword-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #e2e8f0; }
    .aiword-main { padding: 20px; }
}
