:root {
    --primary: #3a86ff;
    --accent: #8a2be2;
    --dark: #0f1624;
    --dark-light: #1a2332;
    --text: #f8f9fa;
    --text-muted: #adb5bd;
    --border-radius: 12px;
    --card-bg: rgba(30, 41, 59, 0.6);
    --input-bg: #1a2332;
    --border-color: rgba(255, 255, 255, 0.05);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --tooltip-bg: rgba(0, 0, 0, 0.9);
}

/* Light Theme */
[data-theme="light"] {
    --dark: #ffffff;
    --dark-light: #f8f9fa;
    --text: #1a2332;
    --text-muted: #6c757d;
    --card-bg: rgba(255, 255, 255, 0.9);
    --input-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.05);
    --tooltip-bg: rgba(0, 0, 0, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-color);
}

/* Base Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Mobile First Approach */
@media screen and (max-width: 768px) {
    /* Container */
    .container {
        padding: 1rem;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Header */
    header {
        width: 100%;
        padding: 0.5rem;
    }

    h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 0.5rem;
    }

    p.subtitle {
        font-size: clamp(0.9rem, 3vw, 1rem);
        padding: 0 0.5rem;
    }

    /* Main Grid */
    .main-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    /* Form Section */
    .form-section, .preview-section {
        width: 100%;
        padding: 1rem;
        margin: 0;
    }

    textarea, input[type="text"] {
        width: 100%;
        padding: 0.8rem;
        font-size: 16px;
    }

    /* Preview Card */
    .preview-card {
        width: 100%;
        margin: 0;
    }

    .preview-img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    /* Prompt Cards */
    .prompt-cards {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }

    .prompt-card {
        width: 100%;
        margin: 0;
    }

    .prompt-img-container {
        width: 100%;
        height: 180px;
    }

    /* Modal */
    .modal-content {
        width: 90vw;
        max-height: 80vh;
        margin: 0;
        padding: 1rem;
    }

    /* Search */
    .search-container {
        width: 100%;
        padding: 0;
    }

    .search-bar {
        width: 100%;
        height: 40px;
    }

    /* Buttons */
    .btn {
        min-height: 40px;
        padding: 0.5rem 1rem;
    }

    .form-buttons {
        width: 100%;
        display: flex;
        gap: 0.5rem;
    }

    .form-buttons .btn {
        flex: 1;
    }

    /* Export Buttons */
    .export-buttons {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-end;
    }

    .export-buttons .btn {
        min-width: 120px;
    }

    .header-actions {
        position: fixed;
        bottom: 5rem;
        right: 1rem;
        flex-direction: column;
        z-index: 900;
        margin: 0;
        background: var(--dark-light);
        padding: 0.5rem;
        border-radius: var(--border-radius);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .theme-btn, .help-btn {
        min-width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .header-stats {
        flex-direction: row;
        gap: 2rem;
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat {
        min-width: 120px;
    }
    
    .main-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .file-drop-area {
        padding: 1rem;
        margin: 0;
    }
    
    .file-msg {
        font-size: 0.9rem;
    }
    
    .file-icon {
        font-size: 1.5rem;
    }

    .preview-card {
        padding: 1rem;
    }

    .preview-img {
        height: 150px;
    }
    
    .prompt-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .prompt-card {
        margin: 0;
        width: 100%;
    }

    .prompt-img-container {
        height: 150px;
    }

    .prompt-details {
        padding: 1rem;
    }

    .prompt-title {
        font-size: 1rem;
    }

    .prompt-text {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }

    .tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    
    /* Modal Improvements */
    .modal-content {
        width: 95%;
        padding: 1rem;
        margin: 1rem;
        max-height: 85vh;
    }

    .close-modal {
        top: 0.5rem;
        right: 0.5rem;
    }

    .modal-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .action-group {
        display: flex;
        width: 100%;
        gap: 0.5rem;
    }

    .action-group .btn {
        flex: 1;
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    /* Help Modal Improvements */
    .help-section {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }

    .shortcuts-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .shortcut {
        padding: 0.4rem;
        font-size: 0.9rem;
    }

    /* Search Bar */
    .search-container {
        margin: 1rem 0;
    }

    .search-bar {
        padding: 0.6rem;
        font-size: 16px;
    }

    /* Buttons */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        height: auto;
    }

    .form-buttons {
        gap: 0.5rem;
    }

    .export-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-end;
    }

    .export-buttons .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Footer */
    .footer {
        margin-top: 2rem;
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* Notification */
    .notification {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
        text-align: center;
    }
}

/* Small Phones */
@media screen and (max-width: 380px) {
    .container {
        padding: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .form-section, .preview-section {
        padding: 0.8rem;
    }

    .prompt-img-container {
        height: 150px;
    }

    .form-buttons, .export-buttons {
        flex-direction: column;
    }

    .form-buttons .btn, .export-buttons .btn {
        width: 100%;
    }

    .modal-content {
        width: 95vw;
        padding: 0.8rem;
    }

    .header-actions {
        bottom: 4rem;
        right: 0.5rem;
    }
}

/* Handle Landscape Mode */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .container {
        padding: 0.5rem;
    }

    .main-grid {
        flex-direction: row;
    }

    .form-section, .preview-section {
        width: 50%;
    }

    .prompt-img-container {
        height: 120px;
    }

    .modal-content {
        max-height: 90vh;
    }
}

/* Fix iOS Safari 100vh Issue */
@supports (-webkit-touch-callout: none) {
    .container {
        min-height: -webkit-fill-available;
    }
}

.form-section, .preview-section {
    padding: 2rem;
    border-radius: var(--border-radius);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

textarea, input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text);
    resize: vertical;
    min-height: 120px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="text"] {
    min-height: unset;
}

textarea:focus, input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(58, 134, 255, 0.2);
}

.file-drop-area {
    padding: 2rem;
    border: 2px dashed var(--text-muted);
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.file-drop-area:hover {
    border-color: var(--primary);
}

.file-drop-area.active {
    border-color: var(--accent);
    background-color: rgba(138, 43, 226, 0.1);
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-msg {
    font-size: 1rem;
    color: var(--text-muted);
}

.file-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.file-preview {
    margin-top: 1rem;
    max-width: 100%;
    max-height: 200px;
    border-radius: var(--border-radius);
    display: none;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: rgba(58, 134, 255, 0.1);
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.preview-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.preview-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.preview-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.preview-content {
    margin-bottom: 1rem;
}

.preview-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(58, 134, 255, 0.2);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.prompts-list {
    margin-top: 3rem;
}

.prompts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.export-buttons {
    display: flex;
    gap: 1rem;
}

.prompt-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.prompt-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.prompt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.prompt-img-container {
    height: 180px;
    overflow: hidden;
}

.prompt-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prompt-card:hover .prompt-img {
    transform: scale(1.05);
}

.prompt-details {
    padding: 1.5rem;
}

.prompt-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.prompt-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.prompt-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prompt-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prompt-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: var(--primary);
    color: white;
}

.empty-state {
    text-align: center;
    padding: 3rem;
}

.empty-icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: var(--dark-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--text);
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.active {
    transform: translateY(0);
    opacity: 1;
}

/* Subtle animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(58, 134, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(58, 134, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(58, 134, 255, 0); }
}

.pulse {
    animation: pulse 1.5s infinite;
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent);
}

.footer .heart {
    color: #ff3366;
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    flex-direction: column;
    gap: 1rem;
}

.spinner-overlay.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--text-muted);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

.spinner-text {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Tooltips */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: var(--tooltip-bg);
    color: var(--text);
    font-size: 12px;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

[data-tooltip]:hover:before {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 5px);
}

/* Search Bar */
.search-container {
    margin-bottom: 2rem;
}

.search-bar {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-bar:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(58, 134, 255, 0.2);
}

/* Confirmation Dialog */
.confirm-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--dark-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    width: 90%;
    max-width: 400px;
    display: none;
}

.confirm-dialog.active {
    display: block;
}

.confirm-dialog h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

.confirm-dialog p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.confirm-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1999;
    display: none;
}

.confirm-overlay.active {
    display: block;
}

/* Modal Actions Layout */
.modal-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.action-group {
    display: flex;
    gap: 0.5rem;
}

/* Share Button */
.share-btn {
    position: relative;
    overflow: hidden;
}

.share-btn:hover {
    background-color: rgba(58, 134, 255, 0.1);
}

/* Help Modal Styles */
.help-section {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
}

.help-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-list {
    list-style: none;
    padding: 0;
}

.help-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-list li i {
    color: var(--accent-color);
}

/* Keyboard Shortcuts */
.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.shortcut {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
}

kbd {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: monospace;
    font-size: 0.9em;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

/* Tooltips */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: auto;
    right: calc(100% + 10px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

[data-tooltip]:hover:before {
    opacity: 1;
    visibility: visible;
    bottom: auto;
}

/* Help Button */
.header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
    justify-content: center;
}

.theme-btn, .help-btn {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: var(--dark-light);
}

.help-btn {
    font-size: 1.2rem;
    padding: 0.5rem;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooltip-trigger {
    color: var(--accent-color);
    opacity: 0.7;
    transition: opacity 0.2s ease;
    margin-left: 0.3rem;
    font-size: 0.9em;
}

.tooltip-trigger:hover {
    opacity: 1;
}

/* Theme Transition */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Theme Switcher Button */
.theme-btn {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    padding: 0.5rem;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-btn i {
    transition: transform 0.5s ease;
}

[data-theme="light"] .theme-btn i {
    transform: rotate(360deg);
}

/* Update Glass Effect for Light Theme */
[data-theme="light"] .glass {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-color);
}

/* Update Input Styles for Light Theme */
[data-theme="light"] textarea, 
[data-theme="light"] input[type="text"],
[data-theme="light"] .search-bar {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text);
}

[data-theme="light"] .file-drop-area {
    border: 2px dashed var(--text-muted);
}

/* Update Card Styles for Light Theme */
[data-theme="light"] .prompt-card {
    background-color: var(--card-bg);
}

[data-theme="light"] .action-btn {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Update Modal Styles for Light Theme */
[data-theme="light"] .modal-content {
    background-color: var(--dark-light);
}

[data-theme="light"] .shortcut {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] kbd {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text);
}

/* Tag Suggestions */
.tags-input-container {
    position: relative;
    width: 100%;
}

.tag-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-top: 0.5rem;
    padding: 0.5rem;
    display: none;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tag-suggestions.active {
    display: block;
}

.suggestion-chip {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    margin: 0.2rem;
    background: rgba(58, 134, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.suggestion-chip:hover {
    background: var(--primary);
    color: white;
}

.suggestion-chip i {
    margin-right: 0.3rem;
    font-size: 0.8rem;
}

/* Light theme support */
[data-theme="light"] .tag-suggestions {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .tag-suggestions {
        position: fixed;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        top: auto;
        max-height: 40vh;
        margin: 0;
        backdrop-filter: blur(10px);
    }

    .suggestion-chip {
        padding: 0.4rem 1rem;
        margin: 0.3rem;
        font-size: 1rem;
    }
} 