/* Copy to Clipboard button styling */
/* Flat button style for all buttons */
button, .copy-btn {
    padding: 8px 22px;
    border-radius: 7px;
    border: 1.5px solid #bfc4d1;
    background: #f5f6fa;
    color: #23243a;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    box-shadow: 0 2px 8px 0 rgba(60,60,120,0.04);
    transition: background 0.18s, color 0.18s, border 0.18s;
}
button:hover, .copy-btn:hover {
    background: #e6e9f2;
    border-color: #a3a8b8;
}
.dark-theme button, .dark-theme .copy-btn {
    background: #23243a;
    color: #f3f3fa;
    border: 1.5px solid #35365a;
}
.dark-theme button:hover, .dark-theme .copy-btn:hover {
    background: #35365a;
    border-color: #7f7fd5;
}


body {
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    transition: background 0.3s, color 0.3s;
}

.light-theme {
    background: linear-gradient(120deg, #f0f4f8 0%, #e9eafc 100%);
    color: #22223b;
}

.dark-theme {
    background: linear-gradient(120deg, #23243a 0%, #181926 100%);
    color: #f3f3fa;
}

.container {
    display: flex;
    height: 100vh;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    margin-top: 32px;
}

.dark-theme .container {
    background: #23243a;
    box-shadow: 0 8px 32px 0 rgba(20, 20, 40, 0.32);
}

#prompt-list {
    width: 30%;
    background: #f6f8fc;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    padding: 24px 0 24px 0;
    box-shadow: 2px 0 8px 0 rgba(60, 60, 120, 0.04);
}

.dark-theme #prompt-list {
    background: #23243a;
    border-right: 1px solid #35365a;
    box-shadow: 2px 0 8px 0 rgba(20, 20, 40, 0.12);
}

.prompt-name {
    padding: 16px 32px;
    cursor: pointer;
    border-bottom: 1px solid #ececec;
    transition: background 0.18s, color 0.18s;
    font-size: 1.08em;
    border-radius: 0 24px 24px 0;
    margin-right: 12px;
    color: #3a3a5a;
}

.dark-theme .prompt-name {
    color: #e0e0ff;
    border-bottom: 1px solid #35365a;
}
}
.prompt-name:hover, .prompt-name:focus {
    background: #e0e7ff;
    color: #2a2a4a;
    outline: none;
    font-weight: 500;
}

#prompt-content {
    flex: 1;
    padding: 40px 48px;
    background: #f9fafb;
    overflow-y: auto;
    white-space: pre-wrap;
    font-size: 1.13em;
    border-radius: 0 18px 18px 0;
    box-shadow: none;
    min-width: 0;
}

#prompt-content {
    flex: 1;
    padding: 40px 48px;
    background: #f9fafb;
    overflow-y: auto;
    white-space: pre-wrap;
    font-size: 1.13em;
    border-radius: 0 18px 18px 0;
    box-shadow: none;
}

.dark-theme #prompt-content {
    background: #23243a;
    color: #f3f3fa;
}

.ph-input {
    font-size: 1em;
    padding: 6px 10px;
    border: 1.5px solid #bfc7d1;
    border-radius: 6px;
    margin: 0 4px;
    background: #fff;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px 0 rgba(60, 60, 120, 0.04);
    resize: horizontal;
}
.ph-input:focus {
    border: 1.5px solid #6c63ff;
    outline: none;
    box-shadow: 0 0 0 2px #e0e7ff;
}

button {
    background: #7f7fd5;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 1.08em;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(76, 110, 245, 0.10);
    transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
    margin-top: 18px;
}
button:hover, button:focus {
    background: #5757b2;
    box-shadow: 0 4px 16px 0 rgba(76, 110, 245, 0.16);
    transform: translateY(-2px) scale(1.03);
    outline: none;
}

.final-result {
    margin-top: 20px;
    background: #f3f4f6;
    padding: 16px 18px;
    border-radius: 10px;
    font-size: 1.08em;
    color: #2a2a4a;
    box-shadow: 0 1px 4px 0 rgba(60, 60, 120, 0.06);
    border: 1px solid #e0e0e0;
    word-break: break-word;
}
