@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dropzone{background:#fff;border:2px solid #0000004d;min-height:150px;padding:20px}.dropzone.dz-clickable{cursor:pointer}.dropzone.dz-clickable *{cursor:default}.dropzone.dz-clickable .dz-message,.dropzone.dz-clickable .dz-message *{cursor:pointer}.dropzone.dz-started .dz-message{display:none}.dropzone.dz-drag-hover{border-style:solid}.dropzone.dz-drag-hover .dz-message{opacity:.5}.dropzone .dz-message{text-align:center;margin:2em 0}.dropzone .dz-message .dz-button{color:inherit;font:inherit;cursor:pointer;outline:inherit;background:0 0;border:none;padding:0}.dropzone .dz-preview{vertical-align:top;min-height:100px;margin:16px;display:inline-block;position:relative}.dropzone .dz-preview:hover{z-index:1000}.dropzone .dz-preview.dz-file-preview .dz-image{background:linear-gradient(#eee,#ddd);border-radius:20px}.dropzone .dz-preview.dz-file-preview .dz-details{opacity:1}.dropzone .dz-preview.dz-image-preview{background:#fff}.dropzone .dz-preview.dz-image-preview .dz-details{-o-transition:opacity .2s linear;transition:opacity .2s linear}.dropzone .dz-preview .dz-remove{text-align:center;cursor:pointer;border:none;font-size:14px;display:block}.dropzone .dz-preview .dz-remove:hover{text-decoration:underline}.dropzone .dz-preview:hover .dz-details{opacity:1}.dropzone .dz-preview .dz-details{z-index:20;opacity:0;text-align:center;color:#000000e6;min-width:100%;max-width:100%;padding:2em 1em;font-size:13px;line-height:150%;position:absolute;top:0;left:0}.dropzone .dz-preview .dz-details .dz-size{margin-bottom:1em;font-size:16px}.dropzone .dz-preview .dz-details .dz-filename{white-space:nowrap}.dropzone .dz-preview .dz-details .dz-filename:hover span{background-color:#fffc;border:1px solid #c8c8c8cc}.dropzone .dz-preview .dz-details .dz-filename:not(:hover){text-overflow:ellipsis;overflow:hidden}.dropzone .dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid #0000}.dropzone .dz-preview .dz-details .dz-filename span,.dropzone .dz-preview .dz-details .dz-size span{background-color:#fff6;border-radius:3px;padding:0 .4em}.dropzone .dz-preview:hover .dz-image img{filter:blur(8px);transform:scale(1.05)}.dropzone .dz-preview .dz-image{z-index:10;border-radius:20px;width:120px;height:120px;display:block;position:relative;overflow:hidden}.dropzone .dz-preview .dz-image img{display:block}.dropzone .dz-preview.dz-success .dz-success-mark{-ms-animation:passing-through 3s cubic-bezier(.77, 0, .175, 1);animation:3s cubic-bezier(.77,0,.175,1) passing-through}.dropzone .dz-preview.dz-error .dz-error-mark{opacity:1;-ms-animation:slide-in 3s cubic-bezier(.77, 0, .175, 1);animation:3s cubic-bezier(.77,0,.175,1) slide-in}.dropzone .dz-preview .dz-success-mark,.dropzone .dz-preview .dz-error-mark{pointer-events:none;opacity:0;z-index:500;margin-top:-27px;margin-left:-27px;display:block;position:absolute;top:50%;left:50%}.dropzone .dz-preview .dz-success-mark svg,.dropzone .dz-preview .dz-error-mark svg{width:54px;height:54px;display:block}.dropzone .dz-preview.dz-processing .dz-progress{opacity:1;-o-transition:all .2s linear;transition:all .2s linear}.dropzone .dz-preview.dz-complete .dz-progress{opacity:0;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.dropzone .dz-preview:not(.dz-processing) .dz-progress{-ms-animation:pulse 6s ease infinite;animation:6s infinite pulse}.dropzone .dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;background:#ffffffe6;border-radius:8px;width:80px;height:16px;margin-top:-8px;margin-left:-40px;position:absolute;top:50%;left:50%;overflow:hidden;-webkit-transform:scale(1)}.dropzone .dz-preview .dz-progress .dz-upload{-o-transition:width .3s ease-in-out;background:linear-gradient(#666,#444);width:0;transition:width .3s ease-in-out;position:absolute;top:0;bottom:0;left:0}.dropzone .dz-preview.dz-error .dz-error-message{display:block}.dropzone .dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dropzone .dz-preview .dz-error-message{pointer-events:none;z-index:1000;opacity:0;-o-transition:opacity .3s ease;color:#fff;background:linear-gradient(#be2626,#a92222);border-radius:8px;width:140px;padding:.5em 1.2em;font-size:13px;transition:opacity .3s;display:none;position:absolute;top:130px;left:-10px}.dropzone .dz-preview .dz-error-message:after{content:"";border-bottom:6px solid #be2626;border-left:6px solid #0000;border-right:6px solid #0000;width:0;height:0;position:absolute;top:-6px;left:64px}


/* SM ARTWORK PAGE LAYOUT */
.sm-artwork-page {
    min-height: 620px;
    padding: 46px 0 70px;
    background: #f5f7fa;
}

.sm-artwork-page,
.sm-artwork-page * {
    box-sizing: border-box;
}

.sm-artwork-page .container {
    max-width: 1180px;
    margin: 0 auto;
}

.sm-artwork-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    gap: 32px;
    align-items: center;
    margin-bottom: 24px;
}

.sm-artwork-kicker {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sm-artwork-hero h1 {
    margin: 0 0 10px;
    color: #10233f;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.sm-artwork-hero p,
.sm-artwork-security p {
    margin: 0;
    color: #526174;
    line-height: 1.6;
}

.sm-artwork-state {
    padding: 18px 20px;
    border: 1px solid #bae6d0;
    border-radius: 12px;
    background: #ecfdf5;
}

.sm-artwork-state.is-locked {
    border-color: #fed7aa;
    background: #fff7ed;
}

.sm-artwork-state strong,
.sm-artwork-state span {
    display: block;
}

.sm-artwork-state strong {
    margin-bottom: 5px;
    color: #10233f;
}

.sm-artwork-state span {
    color: #526174;
    line-height: 1.45;
}

.sm-artwork-quota {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #dce3ea;
    border-radius: 12px;
    background: #dce3ea;
}

.sm-artwork-quota > div {
    padding: 16px 20px;
    background: #fff;
}

.sm-artwork-quota span,
.sm-artwork-quota strong {
    display: block;
}

.sm-artwork-quota span {
    margin-bottom: 3px;
    color: #64748b;
    font-size: .82rem;
}

.sm-artwork-quota strong {
    color: #10233f;
    font-size: 1.05rem;
}

.sm-upload-status {
    margin: 10px 0 22px;
    color: #526174;
    font-size: .9rem;
}

.sm-artwork-items {
    display: grid;
    gap: 22px;
}

.sm-artwork-card {
    overflow: hidden;
    border: 1px solid #dce3ea;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 35, 63, .06);
}

.sm-artwork-card-head {
    display: flex;
    position: static;
    justify-content: space-between;
    align-items: center;
    width: auto;
    min-height: 0;
    padding: 22px 24px;
    border-bottom: 1px solid #e6ebf0;
    background: #f8fafc;
}

.sm-artwork-card-head h2 {
    margin: 0 0 5px;
    color: #10233f;
    font-size: 1.5rem;
}

.sm-artwork-card-head p {
    margin: 0;
    color: #64748b;
}

.sm-lock-badge {
    padding: 6px 11px;
    border-radius: 999px;
    background: #fff1f2;
    color: #be123c;
    font-size: .8rem;
    font-weight: 700;
}

.sm-primary-upload,
.sm-replace-artwork-body,
.sm-artwork-history,
.sm-previous-artwork {
    padding: 22px 24px;
}

.sm-primary-upload h3,
.sm-artwork-history h3 {
    margin: 0 0 12px;
    color: #10233f;
}

.sm-dropzone {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 24px;
    border: 2px dashed #75bfe8;
    border-radius: 12px;
    background: #f5fbff;
    color: #10233f;
    text-align: center;
}

.sm-dropzone:hover,
.sm-dropzone.dz-drag-hover {
    border-color: #29a9e0;
    background: #edf9ff;
}

.sm-artwork-history {
    border-top: 1px solid #edf0f3;
}

.sm-no-artwork {
    margin: 0;
    padding: 16px;
    border-radius: 9px;
    background: #f8fafc;
    color: #64748b;
}

.sm-artwork-version {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.sm-artwork-version-main strong,
.sm-artwork-version-main small {
    display: block;
}

.sm-version-pill {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #e8f6fc;
    color: #0879ad;
    font-size: .76rem;
    font-weight: 700;
}

.sm-artwork-version-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.sm-artwork-security {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 22px;
    padding: 20px 22px;
    border: 1px solid #dce3ea;
    border-radius: 12px;
    background: #fff;
}

.sm-artwork-security > i {
    margin-top: 3px;
    color: #29a9e0;
    font-size: 1.4rem;
}

.sm-artwork-security strong {
    display: block;
    margin-bottom: 4px;
    color: #10233f;
}

.sm-artwork-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.sm-artwork-footer .btn {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    padding: 12px 20px;
}

@media (max-width: 767px) {
    .sm-artwork-page {
        padding: 28px 0 45px;
    }

    .sm-artwork-hero {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sm-artwork-quota {
        grid-template-columns: 1fr;
    }

    .sm-artwork-card-head,
    .sm-primary-upload,
    .sm-replace-artwork-body,
    .sm-artwork-history,
    .sm-previous-artwork {
        padding: 18px;
    }

    .sm-artwork-footer {
        justify-content: stretch;
    }

    .sm-artwork-footer .btn {
        justify-content: center;
        width: 100%;
    }
}

/* =========================================================
   SM PRINT MANUAL FILE TRANSFER
   /send-files
   ========================================================= */

.sm-manual-upload-page {
    box-sizing: border-box;
    padding: 42px 15px 65px;
    background: #f5f7fa;
}

.sm-manual-upload-page *,
.sm-manual-upload-page *::before,
.sm-manual-upload-page *::after {
    box-sizing: border-box;
}

.sm-manual-upload-page .container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 0;
}

.sm-manual-upload-shell {
    overflow: hidden;
    width: 100%;
    padding: 30px 34px 26px;
    border: 1px solid #dce3ea;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 35, 63, .07);
}


/* HEADER */

.sm-manual-upload-head {
    display: block;
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e6ebf0;
}

.sm-manual-upload-logo {
    display: block;
    width: 210px !important;
    max-width: 70% !important;
    height: auto !important;
    margin: 0 0 24px;
}

.sm-manual-upload-head h1 {
    margin: 0 0 8px;
    color: #10233f;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
}

.sm-manual-upload-head p {
    margin: 0;
    color: #526174;
    font-size: 14px;
    line-height: 1.55;
}


/* FORM */

.sm-manual-upload-fields {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 24px;
}

.sm-manual-upload-fields label {
    display: block;
    width: 100%;
    margin: 0;
}

.sm-manual-upload-fields label > span {
    display: block;
    margin: 0 0 7px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.sm-manual-upload-fields input,
.sm-manual-upload-fields textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    outline: none;
    background: #fff;
    color: #10233f;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.45;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.sm-manual-upload-fields input {
    height: 44px;
}

.sm-manual-upload-fields textarea {
    min-height: 120px;
    resize: vertical;
}

.sm-manual-upload-fields input:focus,
.sm-manual-upload-fields textarea:focus {
    border-color: #29a9e0;
    box-shadow: 0 0 0 3px rgba(41, 169, 224, .12);
}

.sm-manual-upload-fields input:disabled {
    background: #f1f5f9;
    color: #64748b;
}

.sm-manual-upload-fields input::placeholder,
.sm-manual-upload-fields textarea::placeholder {
    color: #94a3b8;
}


/* DROP AREA */

.sm-manual-drop-wrap {
    width: 100%;
}

.sm-manual-dropzone {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 190px;
    margin: 0;
    padding: 24px !important;
    border: 2px dashed #75bfe8 !important;
    border-radius: 12px !important;
    background: #f5fbff !important;
    color: #10233f;
    text-align: center;
    transition: border-color .15s ease, background .15s ease;
}

.sm-manual-dropzone:hover,
.sm-manual-dropzone.dz-drag-hover {
    border-color: #29a9e0 !important;
    background: #edf9ff !important;
}

.sm-manual-dropzone .dz-message {
    width: 100%;
    margin: 0;
    color: #526174;
    font-size: 15px;
    line-height: 1.5;
}

.sm-manual-dropzone .dz-message::before {
    content: "\f093";
    display: block;
    margin: 0 auto 14px;
    color: #29a9e0;
    font-family: "Font Awesome 6 Free";
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

.sm-manual-dropzone .dz-message .dz-button {
    color: #0879ad;
    font-weight: 600;
}

.sm-manual-dropzone .fallback {
    width: 100%;
}


/* UPLOAD STATUS */

.sm-manual-upload-status {
    margin: 11px 2px 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}


/* COMPLETED FILES */

.sm-manual-completed-files {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.sm-manual-completed-files:empty {
    display: none;
}

.sm-manual-completed-files li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 7px;
    padding: 11px 13px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
}

.sm-manual-completed-files strong {
    overflow-wrap: anywhere;
}

.sm-manual-completed-files span {
    flex: 0 0 auto;
    color: #64748b;
}


/* SEND BUTTON */

.sm-manual-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.sm-manual-actions .btn-primary {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    padding: 11px 20px;
    border: 1px solid #29a9e0;
    border-radius: 7px;
    background: #29a9e0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.sm-manual-actions .btn-primary:hover {
    border-color: #168fc2;
    background: #168fc2;
}


/* SUCCESS */

.sm-manual-success {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid #bae6d0;
    border-radius: 10px;
    background: #ecfdf5;
}

.sm-manual-success[hidden] {
    display: none !important;
}

.sm-manual-success > i {
    margin-top: 3px;
    color: #16a34a;
    font-size: 25px;
}

.sm-manual-success h2 {
    margin: 0 0 6px;
    color: #10233f;
    font-size: 20px;
}

.sm-manual-success p {
    margin: 3px 0;
    color: #526174;
    font-size: 14px;
}


/* SECURITY FOOTER */

.sm-manual-upload-foot {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 23px;
    padding-top: 18px;
    border-top: 1px solid #e6ebf0;
    color: #64748b;
    font-size: 12px;
}

.sm-manual-upload-foot i {
    color: #29a9e0;
}


/* MOBILE */

@media (max-width: 767px) {

    .sm-manual-upload-page {
        padding: 24px 12px 42px;
    }

    .sm-manual-upload-shell {
        padding: 22px 18px;
        border-radius: 11px;
    }

    .sm-manual-upload-logo {
        width: 190px !important;
        max-width: 75% !important;
    }

    .sm-manual-upload-head h1 {
        font-size: 24px;
    }

    .sm-manual-dropzone {
        min-height: 165px;
        padding: 18px !important;
    }

    .sm-manual-actions {
        justify-content: stretch;
    }

    .sm-manual-actions .btn-primary {
        width: 100%;
    }

    .sm-manual-completed-files li {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
}
