/* Prism Design Upload v2.0 - Product Page Styles */
/* Brand: Primary #FF6B35 | Dark Blue #004E89 | Light Blue #00B4D8 */

.prism-addons-wrapper {
    margin: 20px 0;
    padding: 0;
}

/* === SECTION STYLING === */
.prism-addon-section {
    margin-bottom: 20px;
}

.prism-addon-label {
    display: block;
    font-weight: 700;
    font-size: 1.05em;
    color: #004E89;
    margin-bottom: 4px;
}

.prism-addon-icon {
    margin-right: 4px;
}

.prism-required {
    color: #FF6B35;
    font-weight: bold;
    margin-left: 2px;
}

.prism-addon-desc {
    font-size: 0.85em;
    color: #666;
    margin: 0 0 10px 0;
}

/* === SHEET SETUP RADIO BUTTONS === */
.prism-radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prism-radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
}

.prism-radio-option:hover {
    border-color: #00B4D8;
    background: #f8fcff;
}

.prism-radio-option input[type="radio"] {
    accent-color: #FF6B35;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.prism-radio-option input[type="radio"]:checked ~ .prism-radio-label {
    font-weight: 700;
    color: #004E89;
}

.prism-radio-option:has(input:checked) {
    border-color: #FF6B35;
    background: #fff8f4;
}

.prism-radio-label {
    flex: 1;
    font-size: 0.95em;
    color: #333;
}

.prism-radio-price {
    font-weight: 700;
    font-size: 0.95em;
    color: #FF6B35;
    white-space: nowrap;
}

/* === FILE UPLOAD DROPZONE === */
.prism-upload-dropzone {
    position: relative;
    border: 2px dashed #00B4D8;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    background: #f8fcff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.prism-upload-dropzone:hover,
.prism-upload-dropzone.dragover {
    border-color: #FF6B35;
    background: #fff8f4;
}

.prism-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.prism-dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.prism-dropzone-icon {
    font-size: 2em;
    opacity: 0.7;
}

.prism-dropzone-text {
    font-size: 0.95em;
    color: #555;
}

/* File Selected State */
.prism-file-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #e8f5e9;
    border-radius: 6px;
    position: relative;
    z-index: 3;
}

.prism-file-icon {
    font-size: 1.2em;
}

.prism-file-name {
    font-weight: 600;
    color: #004E89;
    word-break: break-all;
}

.prism-file-size {
    font-size: 0.85em;
    color: #666;
    white-space: nowrap;
}

.prism-file-remove {
    background: #ff5252;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.prism-file-remove:hover {
    background: #d32f2f;
}

/* === FALLBACK NOTE === */
.prism-fallback-note {
    margin-top: 15px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-radius: 6px;
    border-left: 3px solid #FF6B35;
}

.prism-fallback-note p {
    margin: 0;
    font-size: 0.85em;
    color: #555;
    line-height: 1.5;
}

.prism-fallback-note a {
    color: #FF6B35;
    font-weight: 600;
    text-decoration: none;
}

.prism-fallback-note a:hover {
    text-decoration: underline;
}

/* === CHECKBOX GROUP === */
.prism-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prism-checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
}

.prism-checkbox-option:hover {
    border-color: #00B4D8;
    background: #f8fcff;
}

.prism-checkbox-option input[type="checkbox"] {
    accent-color: #FF6B35;
    width: 18px;
    height: 18px;
}

/* === DROPDOWN === */
.prism-dropdown {
    width: 100%;
    max-width: 400px;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95em;
    color: #333;
    background: #fafafa;
    transition: border-color 0.2s;
}

.prism-dropdown:focus {
    border-color: #00B4D8;
    outline: none;
}

/* === TEXT INPUT / TEXTAREA === */
.prism-text-input,
.prism-textarea {
    width: 100%;
    max-width: 400px;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95em;
    transition: border-color 0.2s;
}

.prism-text-input:focus,
.prism-textarea:focus {
    border-color: #00B4D8;
    outline: none;
}

/* === MOBILE === */
@media (max-width: 600px) {
    .prism-radio-option {
        padding: 10px 12px;
    }

    .prism-upload-dropzone {
        padding: 20px 15px;
    }

    .prism-file-selected {
        flex-wrap: wrap;
    }

    .prism-file-name {
        font-size: 0.9em;
    }

    .prism-radio-price {
        font-size: 0.85em;
    }
}
