/* fw_reklamace — front office (all selectors namespaced with fwr_) */
.fwr_claims .fwr_actions { margin-bottom: 1rem; }
.fwr_table { width: 100%; background:none}
.fwr_state { display: inline-block; padding: 2px 8px; border-radius: 3px; color: #fff; font-size: .85em; white-space: nowrap; }

.fwr_detail_head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.fwr_products { list-style: none; padding: 0; }
.fwr_products .fwr_product { display: flex; align-items: center; gap: .75rem; padding: .35rem 0; border-bottom: 1px solid #eee; }

.fwr_timeline { list-style: none; padding: 0; margin: .5rem 0;}

.fwr_timeline .fwr_timeline_item { padding: .35rem 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;}
.fwr_dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }
.fwr_tl_date { color: #999; font-size: .85em; margin-left: auto; }

.fwr_chat { margin: 1rem 0; display: flex; flex-direction: column; gap: .5rem; }
.fwr_msg { max-width: 80%; padding: .6rem .8rem; border-radius: 8px; }
.fwr_msg_customer { align-self: flex-end; background: #e8f0fe; }
.fwr_msg_shop { align-self: flex-start; background: #f1f1f1; }
.fwr_msg_meta { font-size: .75em; color: #888; margin-top: .25rem; }
.fwr_chat_form .fwr_textarea, .fwr_create_form .fwr_textarea { width: 100%; }

.fwr_claim_buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.fwr_bank_row { display: flex; gap: .5rem; margin-bottom: .5rem; flex-wrap: wrap; }
.fwr_bank_row .fwr_control { flex: 1 1 140px; }
.fwr_locked { opacity: .55; }
.fwr_forbidden, .fwr_forbidden_active { opacity: .55; }
.fwr_forbidden_active .fwr_forbidden_note { color: #c62828 !important; }

.fwr_prod_cell { display: flex; align-items: center; justify-content: flex-start; gap: .9rem; text-align: left; }
.fwr_create_form .fwr_prod_img { width: 90px; height: auto; max-height: 90px; object-fit: contain; border: 1px solid #eee; border-radius: 6px; background: #fff; margin: 0 14px 0 0; flex: 0 0 auto; }
.fwr_prod_name { line-height: 1.3; }

.fwr_upload_form { margin: .75rem 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.fwr_order_claim { margin-top: 1rem; padding: 1rem; border: 1px solid #eee; border-radius: 6px; }
.fwr_control::placeholder {
    color:#7a7a7a
}

.fwr_upload_form .form-control[type="file"] {
    overflow: hidden !important;
    border: none;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 1rem;
}
.fwr_custom_file {
    position: relative;
    padding: 0;
    max-width: max-content;
}

.fwr_custom_file button {
    position: absolute;
    right: 0px;
    top: 0px;
}

.fwr_upload_form .form-control[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 16px;
    border: 0;
    border-radius: 4px;
    background: #e9ecef;
    color: #333;
    cursor: pointer;
}

.fwr_upload_form .form-control[type="file"]::file-selector-button:hover {
    background: #dde1e5;
}

input[type="file"]::file-selector-button {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    width: 0;
    overflow: hidden;
    display: none;
}

.fwr_wrap .table td, .fwr_wrap .table th {
   border-top: none
}


.fwr_custom_file  .custom-file-input {
    opacity:1;
    background:none;
}

.fwr_custom_file .custom-file-label {
    z-index: 3;
    margin:0;
    height: 100%;
    background: none;
    pointer-events: none;
}


.fwr_chat_block {
    background: #f6f6f6;
    padding: 1rem;
    border-radius: 0.75rem;
    margin: 0.75rem 0;
}

.fwr_chat_block textarea {
    background: white;
}

.fwr_msg_customer {
    align-self: flex-end;
    background: var(--secondary);
}

.fwr_desc_customer {
    font-weight: 400;
}