.bookpdf-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}
.bookpdf-container h2, .bookpdf-container h3 {
    color: #333;
}
label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}
input[type="text"], input[type="email"], input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
button[type="submit"] {
    background: #0073aa;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
button[type="submit"]:hover {
    background: #005a87;
}
#cover-preview {
    width: 100%;
    max-width: 210mm;
    height: 297mm;
    border: 1px solid #ccc;
    position: relative;
    background: #f0f0f0 url('../templates/default-cover.jpg') no-repeat center/cover;
    margin: 10px 0;
    overflow: hidden;
    page-break-after: always;
}
#cover-preview::after {
    content: '';
    display: block;
    padding-bottom: 141.42%; /* A4 aspect ratio for responsive */
}
#cover-title {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 36pt;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-align: center;
    width: 80%;
}
#cover-subtitle {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18pt;
    color: white;
    text-align: center;
    width: 80%;
}
#cover-author {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14pt;
    color: white;
    text-align: center;
    width: 80%;
}
#bookpdf-response {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
}
#bookpdf-response.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
#bookpdf-response.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}