.react-grid-layout{position:relative;transition:height .2s ease}.react-grid-item{transition:all .2s ease;transition-property:left,top,width,height}.react-grid-item img{pointer-events:none;-webkit-user-select:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform,width,height}.react-grid-item.resizing{transition:none;z-index:1;will-change:width,height}.react-grid-item.react-draggable-dragging{transition:none;z-index:3;will-change:transform}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{background:red;opacity:.2;transition-duration:.1s;z-index:2;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.react-grid-item.react-grid-placeholder.placeholder-resizing{transition:none}.react-grid-item>.react-resizable-handle{position:absolute;width:20px;height:20px}.react-grid-item>.react-resizable-handle:after{content:"";position:absolute;right:3px;bottom:3px;width:5px;height:5px;border-right:2px solid rgba(0,0,0,.4);border-bottom:2px solid rgba(0,0,0,.4)}.react-resizable-hide>.react-resizable-handle{display:none}.react-grid-item>.react-resizable-handle.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-w,.react-grid-item>.react-resizable-handle.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-n,.react-grid-item>.react-resizable-handle.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);background-position:bottom right;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}:root{--primary-color: #007bff;--secondary-color: #6c757d;--success-color: #28a745;--danger-color: #dc3545;--light-bg: #f8f9fa;--dark-text: #343a40;--card-shadow: 0 4px 6px rgba(0, 0, 0, .1)}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background-color:var(--light-bg)}.login-card{background:#fff;padding:2rem;border-radius:8px;box-shadow:var(--card-shadow);width:100%;max-width:400px}.role-tabs{display:flex;margin-bottom:1.5rem;border-bottom:2px solid #eee}.tab-btn{flex:1;padding:.75rem;border:none;background:none;cursor:pointer;font-weight:600;color:var(--secondary-color);transition:all .3s}.tab-btn.active{color:var(--primary-color);border-bottom:2px solid var(--primary-color);margin-bottom:-2px}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;color:var(--dark-text)}.form-group input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.btn-primary{background-color:var(--primary-color);color:#fff;padding:.75rem;border:none;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:600;transition:background .2s}.btn-primary:hover{background-color:#0056b3}.alert{padding:.75rem;margin-bottom:1rem;border-radius:4px}.alert-danger{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.dashboard-layout{display:flex;min-height:100vh}.sidebar{width:250px;background-color:#343a40;color:#fff;padding:1rem;display:flex;flex-direction:column}.sidebar-brand{font-size:1.5rem;font-weight:700;margin-bottom:2rem;text-align:center}.nav-item{padding:.75rem 1rem;color:#fffc;text-decoration:none;border-radius:4px;margin-bottom:.5rem;cursor:pointer}.nav-item:hover,.nav-item.active{background-color:#ffffff1a;color:#fff}.main-content{flex:1;background-color:#f4f6f9;padding:2rem;overflow-y:auto}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:var(--card-shadow)}.stat-value{font-size:2rem;font-weight:700;color:var(--primary-color)}.gallery-controls{background:#fff;padding:1.5rem;border-radius:8px;margin-bottom:2rem;box-shadow:var(--card-shadow)}.upload-form{display:flex;gap:1rem;align-items:flex-end;flex-wrap:wrap}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-auto-rows:200px;grid-auto-flow:dense;gap:1rem}.gallery-item{position:relative;border-radius:8px;overflow:hidden;box-shadow:var(--card-shadow)}.gallery-item img{width:100%;height:100%;object-fit:cover}.gallery-item-overlay{position:absolute;bottom:0;left:0;right:0;background:#000000b3;padding:.5rem;display:flex;justify-content:flex-end;opacity:0;transition:opacity .2s}.gallery-item:hover .gallery-item-overlay{opacity:1}.layout-square{grid-column:span 1;grid-row:span 1}.layout-wide{grid-column:span 2;grid-row:span 1}.layout-tall{grid-column:span 1;grid-row:span 2}.layout-large{grid-column:span 2;grid-row:span 2}.table-container{background:#fff;border-radius:8px;box-shadow:var(--card-shadow);overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:1rem;text-align:left;border-bottom:1px solid #eee}th{background-color:#f8f9fa;font-weight:600}.btn-sm{padding:.25rem .5rem;font-size:.875rem;margin-right:.5rem}.btn-danger{background-color:var(--danger-color);color:#fff;border:none;border-radius:4px;cursor:pointer}:root{--text-heading: #111827;--text-primary: #111827;--text-secondary: #4b5563;--text-link: #2563eb;--text-link-hover: #1e40af;--bg-secondary: #f3f4f6;--bg-primary: #ffffff;--bg-card: #ffffff;--border-primary: #e2e8f0}.dark{--text-heading: #ffffff;--text-primary: #e2e8f0;--text-secondary: #9ca3af;--text-link: #60a5fa;--text-link-hover: #93c5fd;--bg-secondary: #1f2937;--bg-primary: #0f172a;--bg-card: #1e293b;--border-primary: #374151}body{background-color:var(--bg-primary);color:var(--text-primary);transition:background-color .3s,color .3s}
