/* public/css/meme_bookmaker.css */
.meme-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin: 40px auto 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    max-width: 900px;
    padding: 2.5rem 1.5rem;
    text-align: left;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.meme-title {
    color: #ff5d01; /* Astro Orange theme accent */
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.drop-zone {
    border: 3px dashed #dee2e6;
    border-radius: 10px;
    padding: 3rem 1.5rem;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drop-zone:hover, .drop-zone.drag-over {
    border-color: #ff5d01;
    background: #fff5f0;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.meme-card {
    background: #fff;
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    display: flex;
    flex-direction: column;
}

.meme-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 4px;
}

.card-controls {
    margin-top: 0.75rem;
}

.card-controls input {
    width: 100%;
    font-size: 0.85rem;
    padding: 0.375rem;
    border: 1px solid #d1d3e2;
    border-radius: 4px;
}

.remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74a3b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-bar {
    margin-top: 2.5rem;
    border-top: 1px solid #e3e6f0;
    padding-top: 1.5rem;
    text-align: right;
}

.btn-generate {
    background: #ff5d01;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-generate:hover {
    background: #e04f00;
}

.btn-generate:disabled {
    background: #eaecf1;
    color: #a3a6b5;
    cursor: not-allowed;
}
