
/* 
 * Debeam Print Booker - Frontend Layout 
 * Scoped to .debeam-print-booking
 */

.debeam-print-booking {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 600px;
    margin: 0 auto;
    background: transparent;
    border: none;
    padding: 0;
}

/* Step Card Structure */
.debeam-step-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    position: relative;
}

/* Step Header */
.debeam-step-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: space-between;
}

.debeam-step-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
}

.debeam-step-number {
    background: #e6f7eb; /* Light green for step 1 */
    color: #27ae60;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 10px;
    font-weight: 700;
}

.debeam-step-change-link {
    font-size: 0.9em;
    color: #2271b1;
    text-decoration: none;
    cursor: pointer;
}
.debeam-step-change-link:hover {
    text-decoration: underline;
}


/* Step 2 (Upload) specific styles */
.debeam-step-card.upload-step {
    border: 2px solid #2271b1; /* Highlight border */
    background: #fdfdfd;
}

.debeam-step-card.upload-step .debeam-step-number {
    background: #2271b1;
    color: #fff; /* Blue for step 2 */
}

.debeam-step-card.upload-step .required-badge {
    background: #2271b1;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Uploader Dropzone styling overrides */
/* Uploader Dropzone styling overrides */
.debeam-dropzone {
    border: 2px dashed #b5cbe8; /* Lighter blue dash */
    padding: 40px;
    background: #f0f6fc;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}
.debeam-dropzone.drag-over {
    background: #eaf2fa;
    border-color: #2271b1;
    transform: scale(1.02);
}

.debeam-dropzone .dpb-upload-icon {
    margin-bottom: 20px;
}
/* Ensure SVG scales nicely */
.debeam-dropzone .dpb-upload-icon svg {
    width: 64px;
    height: 64px;
}

.debeam-dropzone .dpb-upload-text {
    margin-bottom: 25px;
}
.debeam-dropzone .dpb-upload-text strong {
    display: block;
    font-size: 1.3em;
    font-weight: 700;
    color: #1d2327;
    margin-bottom: 8px;
}

.debeam-dropzone .dpb-upload-hint {
    display: block;
    font-size: 0.95em;
    color: #646970;
    line-height: 1.5;
    margin: 0;
}

/* Styled Button inside dropzone */
.debeam-dropzone .dpb-select-files-btn {
    font-size: 16px !important;
    padding: 8px 24px !important;
    height: auto !important;
    line-height: 2 !important;
    font-weight: 600 !important;
}

/* Hidden Input */
.dpb-hidden-input {
    display: none !important;
}


/* Upload Status Header */
.dpb-upload-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 15px;
}
.dpb-status-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #1d2327;
}
.dpb-clear-all {
    background: none;
    border: none;
    color: #d63638;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    padding: 0;
}
.dpb-clear-all:hover {
    color: #a00;
}

/* Upload Gallery Grid */
.debeam-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 0;
}

.debeam-preview-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    background-color: #f6f7f7;
    background-size: cover;
    background-position: center;
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.debeam-preview-item .remove-item {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}
.debeam-preview-item .remove-item:hover {
    background: #d63638;
}

/* Add More Card */
.debeam-preview-item.add-more-card {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px dashed #c3c4c7;
    background: #fff;
    color: #a7aaad;
    font-size: 32px;
    transition: all 0.2s;
}
.debeam-preview-item.add-more-card:hover {
    border-color: #2271b1;
    color: #2271b1;
    background: #f0f6fc;
}
