.wcpfu-file-upload-container {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.wcpfu-file-upload-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.wcpfu-file-upload-container input[type="file"] {
    margin-bottom: 10px;
}

.wcpfu-file-upload-container .description {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

#wcpfu-file-preview {
    margin-top: 15px;
}

.wcpfu-preview-container {
    width: 100%;
    max-width: 480px; /* 24" scaled down */
    aspect-ratio: 24/14; /* 24:14 aspect ratio */
    border: 2px dashed #ccc;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcpfu-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.wcpfu-dimensions-info {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 4px;
    text-align: center;
    line-height: 1.4;
}

.wcpfu-warning-message {
    font-size: 0.9em;
    color: #d9534f;
    margin: 15px 0;
    padding: 10px;
    background: #fdf7f7;
    border: 1px solid #ebccd1;
    border-radius: 4px;
    line-height: 1.4;
}

.wcpfu-dimension-warning {
    font-size: 0.9em;
    color: #f0ad4e;
    margin: 10px 0;
    padding: 10px;
    background: #fcf8f2;
    border: 1px solid #faebcc;
    border-radius: 4px;
    line-height: 1.4;
}

.wcpfu-preview-pdf {
    padding: 10px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.wcpfu-file-name {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

.wcpfu-cart-file {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wcpfu-checkout-file {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wcpfu-checkout-file h4 {
    margin: 0 0 10px 0;
}

.wcpfu-order-file {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wcpfu-order-file h3 {
    margin: 0 0 10px 0;
}

.wcpfu-file-column {
    width: 150px;
}

.wcpfu-file-column img {
    max-width: 100px;
    max-height: 100px;
    margin-bottom: 5px;
} 