.printout-system {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.upload-area {
    margin-bottom: 20px;
}

.drop-zone {
    border: 2px dashed #ccc;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.drop-zone.dragover {
    border-color: #0073aa;
    background-color: #f0f8ff;
}

#printout-files {
    display: none;
}

.progress-container {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.progress-bar {
    flex-grow: 1;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 10px;
}

.progress {
    height: 100%;
    background: #0073aa;
    width: 0%;
    transition: width 0.3s;
}

.progress-text {
    font-size: 0.9em;
    color: #666;
}

.preview-area {
    margin: 20px 0;
}

.file-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.file-preview {
    display: flex;
    flex-direction: column;
    max-width: 200px;
    border: 1px solid #ddd;
    padding: 5px;
    background: white;
}

.file-preview img {
    max-width: 100%;
    max-height: 150px;
    margin-bottom: 5px;
}

.file-name {
    font-size: 0.9em;
    word-break: break-all;
}

.page-count {
    font-size: 0.8em;
    color: #666;
}

.file-preview .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #0073aa;
    margin-bottom: 5px;
}

.file-previews img.grayscale {
    filter: grayscale(100%);
}

.preview-controls {
    margin: 10px 0;
}

.preview-controls button {
    padding: 8px 15px;
    margin-right: 10px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
}

.preview-controls button.active {
    background: #0073aa;
    color: white;
    border-color: #006799;
}

.print-options, .price-summary, .billing-details {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: inline-block;
    width: 150px;
    font-weight: bold;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 8px;
    width: 100%;
    max-width: 300px;
}

.form-group .description {
    display: block;
    margin-top: 5px;
    font-size: 0.8em;
    color: #666;
}

.total-price {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 15px;
}

.payment-options {
    margin: 15px 0;
}

.payment-options label {
    display: block;
    margin: 10px 0;
}

.order-buttons {
    margin-top: 20px;
}

.order-buttons button {
    margin-right: 10px;
}

#place-order, #add-to-cart {
    background: #0073aa;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

#place-order:hover, #add-to-cart:hover {
    background: #006799;
}

#add-to-cart.alt {
    background: #a46497;
}

#add-to-cart.alt:hover {
    background: #935286;
}

.order-confirmation {
    background: #f0fff0;
    border: 1px solid #8f8;
    padding: 20px;
    margin-top: 20px;
}

.download-links {
    margin-top: 15px;
}

.download-links a {
    display: block;
    margin: 5px 0;
    color: #0073aa;
    text-decoration: none;
}

.download-links a:hover {
    text-decoration: underline;
}

.login-required {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border: 1px solid #ddd;
}

.login-required a {
    color: #0073aa;
    text-decoration: underline;
}

.wp-list-table th:nth-child(8), .wp-list-table td:nth-child(8) {
    width: 120px;
}