body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f9fb;
    margin: 0;
    padding: 0;
    color: #222;
}

.poster-list {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 16px;
}

.poster {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
}
/*
.contact-author-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 12px;
}
.contact-author-btn:hover {
    background: #1e40af;
}

*/
.contact-author-btn {
	display: none;
    /* ORIG: display: block;  */
    width: calc(100% - 24px);
    margin: 0 12px 12px 12px;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
}

.contact-author-btn:hover { 
    background-color: #004170;
}



#contact-modal.modal-hidden {
    display: none;
}
#contact-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 41, 59, 0.25);
    z-index: 1;
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 32px 24px 24px 24px;
    max-width: 400px;
    width: 90vw;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: modalIn 0.2s;
}

@keyframes modalIn {
    from { transform: translateY(40px) scale(0.98); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 1.7rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 3;
}
.modal-close-btn:hover {
    color: #2563eb;
}

#contact-form h3 {
    margin-top: 0;
    margin-bottom: 18px;
    font-weight: 600;
    color: #2563eb;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.form-group label {
    margin-bottom: 6px;
    font-size: 1rem;
    color: #374151;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    background: #f9fafb;
    transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    border: 1.5px solid #2563eb;
    outline: none;
    background: #fff;
}

.submit-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
    width: 100%;
}
.submit-btn:hover {
    background: #1e40af;
}

#form-success {
    margin-top: 18px;
    color: #16a34a;
    background: #e7fbe9;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
}
.form-success-hidden {
    display: none;
}

/* Responsive */
@media (max-width: 600px) {
    .modal-content {
        padding: 18px 8px 16px 8px;
        max-width: 98vw;
    }
    .poster-list {
        padding: 0 4px;
    }
}
