/* Poster App Styles */
.poster-app {
    margin-bottom: 2rem;
}

.poster-form {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.poster-form h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #4CAF50;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn {
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #2e7d32;
}

.btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background: #d0d0d0;
}

.poster-output {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f8f8;
    color: #666;
    padding: 0.75rem;
    border-radius: 8px 8px 0 0;
    min-height: 200px;
    text-align: center;
}

.poster-output svg {
    max-width: 100%;
    height: auto;
}

/* Museum-style caption */
.poster-caption {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    text-align: center;
    margin: 0 0 1rem 0;
    padding: 0.75rem 1rem;
    background: #f5f5f5;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.poster-caption strong {
    font-style: normal;
    color: #333;
}

/* Content images */
.content img {
    display: block;
    margin: 1.5rem auto;
    max-width: 100%;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .noprint {
        display: none !important;
    }

    .poster-output {
        padding: 0;
        background: white;
        border-radius: 0;
    }
}

/* Mobile */
@media screen and (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
