
.ds-upload-spinner{display:inline-flex;align-items:center;gap:8px;margin:6px 0;font-size:13px;color:#555}
.ds-upload-spinner::before{content:"";width:16px;height:16px;border:2px solid rgba(0,0,0,.18);border-top-color:#10a37f;border-radius:50%;animation:ds-upl-spin .7s linear infinite;flex:0 0 auto}
@keyframes ds-upl-spin{to{transform:rotate(360deg)}}
/* Drag-&-drop notice (e.g. "only one file") — short red notice in the input area. */
.ds-upload-notice{display:block;margin:6px 0;padding:6px 10px;font-size:12px;line-height:1.35;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px}
/* Image preview thumbnail: cleaner remove X (neutral instead of bright red) + rounder corners */
.chat-image-thumbnail-wrapper{margin:6px 0!important;border:0!important;border-radius:10px!important;max-width:72px!important;max-height:72px!important;box-shadow:0 1px 5px rgba(0,0,0,.18)!important;overflow:visible!important;line-height:0!important}
.chat-image-thumbnail{border-radius:10px!important}
.chat-image-remove-button,
.aipkit_chat_container .chat-image-remove-button,
.aipkit_chat_container .chat-image-remove-button:focus,
.aipkit_chat_container .chat-image-remove-button:active{position:absolute!important;top:-7px!important;right:-7px!important;width:20px!important;height:20px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(20,20,20,.72)!important;color:#fff!important;border:2px solid #fff!important;border-radius:50%!important;font-size:13px!important;font-weight:400!important;line-height:1!important;box-shadow:0 1px 4px rgba(0,0,0,.3)!important;cursor:pointer!important;transition:background .15s,transform .15s!important}
.chat-image-remove-button:hover{background:rgba(0,0,0,.9)!important;transform:scale(1.1)!important}
/* ILOVEPDF.IO: PDF upload = dashed red CIRCLE (1px) around the icon, same size as the
   send button (44px). Only the icon in the circle, no label. Click-upload AND drop target.
   Border directly on the button circle (no label anymore -> no ::before/absolute needed).
   Toggle class chained 4x (0,9,2) so our rules win in ALL states
   (button-ux has a 0,8,2 rest-state rule that would otherwise apply). */
body .aipkit_chat_container button.aipkit_input_action_btn.aipkit_input_action_toggle.aipkit_input_action_toggle.aipkit_input_action_toggle.aipkit_input_action_toggle:not(.aipkit_send_btn):not(.aipkit_web_search_toggle):not(.aipkit_google_search_grounding_toggle){
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    min-height:44px !important;
    padding:0 !important;
    border:1px dashed #e5322d !important;
    border-radius:50% !important;
    background:transparent !important;
    box-sizing:border-box !important;
    line-height:1 !important;
}
/* PDF icon large and centered in the circle. */
body .aipkit_chat_container .aipkit_input_action_toggle svg.icon-tabler-file-upload{
    width:30px !important; height:30px !important;
}
