/* LX Druckdaten Upload – Frontend */

.lxu-upload-wrapper {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.lxu-upload-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 15px;
}

.lxu-required {
    background: #e8640a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lxu-upload-hint {
    font-size: 13px;
    color: #666;
    margin: 0 0 14px;
    line-height: 1.5;
}

/* Dropzone */
.lxu-dropzone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.lxu-dropzone:hover,
.lxu-dropzone.lxu-drag-over {
    border-color: #e8640a;
    background: #fff8f4;
}

.lxu-dropzone-inner p {
    margin: 8px 0 0;
    font-size: 14px;
    color: #555;
}

.lxu-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 4px;
}

.lxu-browse {
    color: #e8640a;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 600;
}

/* File info */
.lxu-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 14px;
}

.lxu-file-name {
    flex: 1;
    font-weight: 600;
    color: #1a1a1a;
    word-break: break-all;
}

.lxu-remove-file {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 16px;
    padding: 0 4px;
    line-height: 1;
}
.lxu-remove-file:hover { color: #f44336; }

/* Status messages */
.lxu-upload-status {
    margin-top: 10px;
    font-size: 13px;
}
.lxu-status-loading { color: #666; }
.lxu-status-success { color: #2e7d32; font-weight: 600; }
.lxu-status-error   { color: #c62828; font-weight: 600; }

/* Progress bar */
.lxu-progress {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}
.lxu-progress-bar {
    height: 100%;
    background: #e8640a;
    border-radius: 2px;
    transition: width 0.3s;
    width: 0%;
}

/* Login required */
.lxu-login-required {
    padding: 20px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 10px;
    margin: 16px 0;
    text-align: center;
}
.lxu-login-required p { margin: 0 0 12px; }
.lxu-login-btn,
.lxu-register-btn {
    display: inline-block;
    margin: 4px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}
.lxu-login-btn    { background: #e8640a; color: #fff !important; }
.lxu-register-btn { background: #1a1a1a; color: #fff !important; }

/* Customer order view */
.lxu-customer-file {
    margin-top: 4px;
    color: #555;
}

/* Nextcloud share box (My Account → order details) */
.lxu-share-box {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid #e2e2df;
    border-left: 4px solid #e8640a;
    border-radius: 10px;
    background: #fff7f2;
}
.lxu-share-title {
    margin: 0 0 8px;
    font-size: 18px;
    color: #1a1a1a;
}
.lxu-share-text {
    margin: 0 0 14px;
    color: #1a1a1a;
}
.lxu-share-btn {
    display: inline-block;
    padding: 11px 20px;
    background: #e8640a !important;
    border: none !important;
    border-radius: 6px;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}
.lxu-share-btn:hover {
    background: #c4520a !important;
}
.lxu-share-hint {
    margin: 12px 0 0;
    color: #666;
}
