.shipstation-modal{position:fixed;inset:0;z-index:100000;display:none}.shipstation-modal.is-open{display:block}.shipstation-modal-backdrop{position:absolute;inset:0;background:rgba(17,24,39,.45);transition:opacity .2s ease-in-out}.shipstation-modal-content{position:relative;border-radius:8px;box-sizing:border-box;margin:6vh auto;max-width:720px;width:min(96vw,720px);background:#fff;color:#1e1e1e;box-shadow:0 20px 40px rgba(0,0,0,.18),0 2px 6px rgba(0,0,0,.08);overflow:hidden;transform:translateY(10px);transition:transform .2s ease,opacity .2s ease}.shipstation-modal.is-open .shipstation-modal-content{transform:translateY(0)}.shipstation-modal-header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid #e0e0e0;background:#fafafa}.shipstation-modal-header h2{margin:0;font-size:18px;line-height:1.4;font-weight:600}.shipstation-modal-header .shipstation-modal-close{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid transparent;background:rgba(0,0,0,0);padding:0;width:40px;height:40px;transition:background .15s ease,border-color .15s ease,transform .06s ease}.shipstation-modal-header .shipstation-modal-close:hover{background:#f1f1f1;border-color:#e0e0e0}.shipstation-modal-header .shipstation-modal-close:active{transform:scale(.98)}.shipstation-modal-header .shipstation-modal-close .dashicons{font-size:18px;line-height:1;pointer-events:none}.shipstation-modal-body{padding:24px;max-height:calc(100vh - 220px);overflow:auto}.shipstation-modal-body p{margin:0 0 16px;color:#757575;line-height:1.6}.shipstation-modal-body .shipstation-auth-field{display:grid;grid-template-columns:200px 1fr;gap:10px 16px;align-items:center;padding:12px 0;border-bottom:1px dashed #e0e0e0}.shipstation-modal-body .shipstation-auth-field:last-child{border-bottom:0}.shipstation-modal-body .shipstation-auth-field label{font-weight:600;color:#2c3338}.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper{display:flex;gap:8px;align-items:center}.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper input[type=password],.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper input[type=text]{width:100%;height:40px;padding:10px 12px;font-size:14px;line-height:1.4;border:1px solid #e0e0e0;background:#fff;color:#1e1e1e;box-shadow:0 1px 0 rgba(0,0,0,.02) inset;border-radius:0}.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper input[type=password][readonly],.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper input[type=text][readonly]{background:#fbfbfb}.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper input[type=password]:focus,.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper input[type=text]:focus{border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:0}.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper .shipstation-copy-btn,.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper .shipstation-toggle-visibility{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid transparent;background:rgba(0,0,0,0);padding:0;min-width:40px;height:40px;padding:0 8px;border-color:#e0e0e0;background:#fff;transition:background .15s ease,border-color .15s ease,transform .06s ease,box-shadow .15s ease}.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper .shipstation-copy-btn:hover,.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper .shipstation-toggle-visibility:hover{background:#f6f7f7;border-color:#c3c4c7}.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper .shipstation-copy-btn .dashicons,.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper .shipstation-toggle-visibility .dashicons{font-size:16px;line-height:1}.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper .shipstation-copy-btn.is-copied{border-color:#46b450;box-shadow:0 0 0 2px rgba(70,180,80,.2)}.shipstation-modal-body .shipstation-auth-field .shipstation-field-wrapper .shipstation-copy-btn.is-copied::after{font-size:12px;margin-inline-start:8px;color:rgb(41.44,106.56,47.36)}.shipstation-modal-body #shipstation-first-view .shipstation-auth-field:last-child{border-bottom:1px dashed #e0e0e0}.shipstation-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:24px;border-top:1px solid #e0e0e0;background:#fafafa}.shipstation-modal-footer .button{min-height:40px;border-radius:0}.shipstation-modal-footer .button.button-danger{color:#fff;background:#d63638;border-color:#d63638}.shipstation-modal-footer .button.button-danger:hover{background:#b32d2e;border-color:#b32d2e}.shipstation-modal .shipstation-loading-overlay{position:absolute;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;background:hsla(0,0%,100%,.95);padding:0}.shipstation-modal .shipstation-loading-overlay .spinner{margin:0}.shipstation-modal .shipstation-loading-overlay .spinner.is-active{display:inline-block}.shipstation-modal .shipstation-error-overlay{position:absolute;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;background:hsla(0,0%,100%,.95);padding:20px}.shipstation-modal .shipstation-error-overlay .shipstation-error-box{max-width:560px;width:min(92vw,560px);background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 6px 16px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.06);padding:24px}.shipstation-modal .shipstation-error-overlay .shipstation-error-box h3{margin:0 0 8px;font-size:16px;line-height:1;font-weight:600;color:#2c3338}.shipstation-modal .shipstation-error-overlay .shipstation-error-box p{margin:0;color:#757575;line-height:1.6}body.rtl .shipstation-copy-btn.is-copied::after{margin-inline-start:0;margin-inline-end:8px}body.rtl .shipstation-auth-field{direction:rtl}