/* Red Oak Candidate Portal: upload boxes */
.rop-drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px dashed #BDBDBD; background: #FAFAFA; cursor: pointer; transition: border-color .15s, background .15s; }
.rop-drop:hover, .rop-drop.is-over, .rop-drop:focus-within { border-color: #7D1319; background: #FCF6F6; }
.rop-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.rop-drop[hidden] { display: none; }
.rop-drop-ico, .rop-file-ico { width: 36px; height: 36px; flex: none; background: #F7E7E8; position: relative; }
.rop-drop-ico::after, .rop-file-ico::after { content: ""; position: absolute; inset: 8px; background: #7D1319; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.rop-file-ico::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6'/%3E%3C/svg%3E"); }
.rop-drop-text { display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; color: #333; }
.rop-drop-text strong { color: #7D1319; }
.rop-drop-text small { color: #6B6B6B; font-size: 12px; }
.rop-file-chip, .rop-file-saved { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #DADADA; background: #fff; }
.rop-file-chip[hidden], .rop-file-saved[hidden] { display: none; }
.rop-file-chip img, .rop-file-saved img { width: 48px; height: 48px; object-fit: cover; flex: none; background: #EEE; }
.rop-file-name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; font-weight: 600; word-break: break-all; }
.rop-file-name small { font-weight: 400; color: #6B6B6B; font-size: 12px; }
.rop-file-x { width: 32px; height: 32px; flex: none; border: 1px solid #DADADA; border-radius: 50%; background: #fff; color: #B3261E; font-size: 18px; line-height: 1; cursor: pointer; }
.rop-file-x:hover, .rop-file-x:focus { background: #FBEAEA; border-color: #B3261E; }
.rop-file-saved.is-removed { background: #FBEAEA; border-style: dashed; }
.rop-file-saved.is-removed .rop-file-name { text-decoration: line-through; color: #8A8A8A; }
.rop-file-saved.is-removed .rop-file-name::after { content: "Will be removed when you save"; text-decoration: none; display: block; font-weight: 400; font-size: 12px; color: #B3261E; }
.rop-file-saved.is-removed img { opacity: .4; }
.rop-file-current { display: none; }
