/* ── Image to Prompt — tool-specific styles ── */
/* Fonts loaded via base.html; these augment with Plus Jakarta Sans */

body {
    background-color: #06090f;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 30px 30px;
    color: #f8fafc;
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

.hero-section h1 {
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
}
.hero-section p {
    color: #94a3b8 !important;
}

.card {
    background: rgba(13, 18, 30, 0.7) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    color: #f8fafc;
}
.card .text-primary {
    color: #00e5ff !important;
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.5px;
}

.upload-area {
    border: 2px dashed rgba(0, 229, 255, 0.2);
    background: rgba(6, 9, 15, 0.6);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.upload-area:hover {
    border-color: #00e5ff;
    background: rgba(0, 229, 255, 0.03);
}

/* Prevents click-bubbling runtime exceptions */
.fake-upload-btn {
    display: inline-block;
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .25rem;
    background-color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #00e5ff;
    pointer-events: none;
}

.form-label {
    color: #94a3b8;
    font-size: 0.9rem;
}
.form-select {
    background-color: #06090f !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}
.form-select:focus {
    border-color: #00e5ff !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 229, 255, 0.15) !important;
}

.btn-generate {
    background: linear-gradient(135deg, #7c3aed 0%, #00e5ff 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 1px;
    border: none !important;
    border-radius: 8px;
    transition: transform 0.2s, opacity 0.2s;
}
.btn-generate:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}
.btn-dark.copy-btn {
    background-color: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #00e5ff !important;
    transition: all 0.2s;
}
.btn-dark.copy-btn:hover {
    background-color: #00e5ff !important;
    color: #06090f !important;
}

.result-box {
    background-color: #06090f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
    min-height: 100px;
}
#promptText {
    color: #cbd5e1 !important;
}
.border-primary {
    border-color: rgba(0, 229, 255, 0.3) !important;
}
#imagePreview {
    max-width: 100%;
    max-height: 250px;
    border-radius: 6px;
    margin: 0 auto;
}
