/* === FLOWFRAMES UPDATES CAROUSEL === */
.ff-updates-section { margin-bottom: 20px; }
.ff-updates-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ff-updates-title { font-size: 16px; font-weight: 900; color: #fff; letter-spacing: 0.5px; }
.ff-updates-add-btn { background: rgba(168,92,255,0.2); border: 1px solid rgba(168,92,255,0.4); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 8px; cursor: pointer; transition: all 0.15s; }
.ff-updates-add-btn:hover { background: rgba(168,92,255,0.35); border-color: rgba(168,92,255,0.6); }
.ff-updates-track { display: flex; gap: 12px; overflow-x: auto; overflow-y: visible; padding: 8px 4px 12px; margin: -8px -4px 0; -ms-overflow-style: none; scrollbar-width: none; }
.ff-updates-track::-webkit-scrollbar { display: none; }
.ff-update-card { flex: 0 0 180px; height: 240px; border-radius: 16px; overflow: hidden; position: relative; cursor: pointer; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.ff-update-card:hover { transform: translateY(-4px) scale(1.03); border-color: rgba(168,92,255,0.5); box-shadow: 0 14px 36px rgba(0,0,0,0.45); }
.ff-update-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.ff-update-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; }
.ff-update-name { font-size: 13px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; letter-spacing: 0.3px; }
.ff-update-desc { font-size: 11px; color: rgba(255,255,255,0.75); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-update-time { font-size: 10px; color: rgba(168,92,255,0.9); margin-top: 3px; font-weight: 600; }
.ff-update-del { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.15); color: #fff; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.15s; z-index: 2; }
.ff-update-card:hover .ff-update-del { opacity: 1; }
.ff-update-del:hover { background: rgba(255,60,60,0.7); }
.ff-update-photo-btn { position: absolute; top: 6px; left: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.15); color: #fff; font-size: 11px; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.15s; z-index: 2; padding: 0; line-height: 1; }
.ff-update-card:hover .ff-update-photo-btn { opacity: 1; }
.ff-update-photo-btn:hover { background: rgba(168,92,255,0.6); border-color: rgba(168,92,255,0.5); }
.ff-updates-empty { color: rgba(255,255,255,0.35); font-size: 13px; padding: 16px 0; }

/* === UPDATES DOTS INDICATOR === */
.ff-updates-dots { display: flex; justify-content: center; gap: 6px; padding-top: 10px; }
.ff-updates-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: all 0.2s; cursor: pointer; border: none; padding: 0; }
.ff-updates-dot.active { background: rgba(168,92,255,0.85); transform: scale(1.3); }

/* === UPDATES ADD DIALOG === */
.ff-update-dialog-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 10010; }
.ff-update-dialog { width: min(360px, calc(100% - 32px)); background: rgba(18,16,16,0.95); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 20px; box-shadow: 0 24px 80px rgba(0,0,0,0.6); }
.ff-update-dialog-title { font-size: 16px; font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: 0.5px; }
.ff-update-dialog-label { display: block; font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 4px; margin-top: 10px; }
.ff-update-dialog-input, .ff-update-dialog-select { width: 100%; height: 38px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: #fff; padding: 0 12px; font-size: 13px; outline: none; box-sizing: border-box; -webkit-appearance: none; appearance: none; }
.ff-update-dialog-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.ff-update-dialog-select option { background: #1a1a1a; color: #fff; }
.ff-update-dialog-input:focus, .ff-update-dialog-select:focus { border-color: rgba(168,92,255,0.5); box-shadow: 0 0 0 3px rgba(168,92,255,0.12); }
.ff-update-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.ff-update-dialog-cancel { height: 34px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.06); color: #fff; cursor: pointer; font-size: 13px; }
.ff-update-dialog-cancel:hover { background: rgba(255,255,255,0.1); }
.ff-update-dialog-save { height: 34px; padding: 0 18px; border-radius: 10px; border: 1px solid rgba(168,92,255,0.4); background: rgba(168,92,255,0.25); color: #fff; cursor: pointer; font-weight: 700; font-size: 13px; }
.ff-update-dialog-save:hover { background: rgba(168,92,255,0.4); border-color: rgba(168,92,255,0.6); }
