*{margin:0;padding:0;box-sizing:border-box}body{font-family:Courier New,monospace;background:#000;color:#fff;line-height:1.6}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.auth-box{background:#0a0a0a;border:2px solid #333;border-radius:10px;padding:40px;width:100%;max-width:450px}.auth-box h1{font-size:24px;margin-bottom:10px;letter-spacing:1px;color:#fff}.subtitle{color:#888;font-size:14px;margin-bottom:30px}.form-group input{width:100%;background:#1a1a1a;border:1px solid #333;color:#fff;padding:12px;font-family:Courier New,monospace;font-size:14px;border-radius:4px;outline:none;transition:all .3s}.form-group input:focus{border-color:#fff;box-shadow:0 0 10px #ffffff1a}.form-group small{display:block;margin-top:5px;color:#666;font-size:11px}.btn-primary{width:100%;background:#fff;color:#000;border:none;padding:14px;font-family:Courier New,monospace;font-size:14px;font-weight:700;cursor:pointer;border-radius:4px;transition:all .3s;text-transform:uppercase}.btn-primary:hover:not(:disabled){background:#ddd;box-shadow:0 0 20px #ffffff4d}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.error{background:#2a0000;border:1px solid #ff0000;color:#f66;padding:12px;border-radius:4px;margin-bottom:20px;font-size:13px}.success{background:#1a1a1a;border:1px solid #fff;color:#fff;padding:12px;border-radius:4px;margin-bottom:20px;font-size:13px}.link-text{text-align:center;margin-top:20px;color:#888;font-size:13px}.link-text a{color:#fff;text-decoration:underline;margin-left:5px}.link-text a:hover{color:#ccc}.auth-footer{text-align:center;margin-top:20px}.link{color:#fff;text-decoration:underline;font-size:13px;font-family:Courier New,monospace}.link:hover{color:#ccc}.link:visited{color:#fff}.dashboard{min-height:100vh;display:flex;flex-direction:column}.dashboard-header{background:#0a0a0a;border-bottom:2px solid #333;padding:20px 30px;display:flex;justify-content:space-between;align-items:center}.dashboard-header h1{font-size:22px;margin-bottom:5px;letter-spacing:2px;color:#fff}.user-info{color:#888;font-size:13px}.header-actions{display:flex;gap:15px}.btn-secondary,.btn-logout{background:#1a1a1a;border:1px solid #333;color:#fff;padding:10px 20px;cursor:pointer;border-radius:4px;font-family:Courier New,monospace;font-size:13px;transition:all .2s}.btn-secondary:hover{background:#fff;color:#000;border-color:#fff}.btn-logout:hover{background:red;color:#fff;border-color:red}.dashboard-container{flex:1;display:grid;grid-template-columns:250px 1fr;gap:0}.sidebar{background:#0a0a0a;border-right:2px solid #333;padding:20px}.sidebar h3{margin-bottom:15px;color:#fff;font-size:16px;letter-spacing:1px}.content{padding:0}.toolbar{background:#0a0a0a;border-bottom:1px solid #333;padding:15px 20px;display:flex;gap:10px}.btn-action{background:#1a1a1a;border:1px solid #333;color:#fff;padding:8px 16px;cursor:pointer;border-radius:4px;font-family:Courier New,monospace;font-size:13px;transition:all .2s}.btn-action:hover:not(:disabled){background:#fff;color:#000;border-color:#fff}.btn-action:disabled{opacity:.5;cursor:not-allowed}.file-explorer{padding:0}.explorer-header{background:#0a0a0a;border-bottom:1px solid #333;padding:15px 20px;display:flex;justify-content:space-between;align-items:center}.path{color:#fff;font-family:Courier New,monospace}.items-grid{display:flex;flex-direction:column;gap:10px;padding:20px}.file-item{display:flex;align-items:center;gap:15px;padding:12px 15px;background:#111;border:1px solid #333;border-radius:4px;transition:all .2s}.file-item:hover{background:#1a1a1a;border-color:#fff;transform:translate(5px)}.file-icon{font-size:14px;min-width:50px;text-align:left;color:#fff;font-weight:700}.file-info{flex:1;min-width:0}.file-name{font-weight:700;color:#fff;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-meta{font-size:.85em;color:#666;display:flex;gap:15px;align-items:center}.file-item.other-user{background:#0a0a0a;border-color:#444}.file-item.other-user:hover{background:#151515;border-color:#888}.file-owner{font-size:.85em;color:#888;font-weight:400;margin-left:8px}.owner-badge{padding:2px 8px;background:#222;border:1px solid #444;border-radius:3px;font-size:.8em;color:#999}.file-item.other-user .owner-badge{background:#1a1a1a;border-color:#555;color:#aaa}.file-actions{display:flex;gap:8px}.action-btn{background:transparent;border:1px solid #333;color:#fff;cursor:pointer;padding:6px 12px;border-radius:3px;font-size:12px;transition:all .2s;font-family:Courier New,monospace}.action-btn:hover{background:#fff;color:#000;border-color:#fff}.action-btn.delete:hover{background:red;color:#fff;border-color:red}.breadcrumb{padding:15px;background:#0a0a0a;border:1px solid #333;border-radius:4px;margin-top:10px;font-family:Courier New,monospace;color:#fff}.breadcrumb-item{background:transparent;border:none;color:#fff;cursor:pointer;padding:2px 5px;text-decoration:underline;font-family:inherit}.breadcrumb-item:hover{color:#ccc}.empty-state{text-align:center;padding:60px 20px;color:#666}.empty-state .hint{font-size:.9em;margin-top:10px;color:#888}.loading{text-align:center;padding:40px;color:#fff;font-size:18px}.error-message{background:#400;border:1px solid #f00;color:#fff;padding:12px 15px;margin:10px 20px;border-radius:4px;display:flex;justify-content:space-between;align-items:center}.error-message button{background:transparent;border:none;color:#fff;cursor:pointer;font-size:20px;padding:0 5px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#0a0a0a;border:2px solid #fff;border-radius:8px;padding:30px;min-width:400px;max-width:90%}.modal-content h2{color:#fff;margin-bottom:20px;font-size:20px}.modal-content input[type=text],.modal-content input[type=file]{width:100%;padding:12px;background:#111;border:1px solid #333;color:#fff;border-radius:4px;margin-bottom:20px;font-family:Courier New,monospace}.modal-content input:focus{outline:none;border-color:#fff}.modal-actions{display:flex;gap:10px;justify-content:flex-end}.modal-actions button{padding:10px 20px;background:#0a0a0a;border:1px solid #fff;color:#fff;cursor:pointer;border-radius:4px;font-family:Courier New,monospace;transition:all .2s}.modal-actions button:hover{background:#fff;color:#000}.modal-actions button:disabled{opacity:.5;cursor:not-allowed}.file-selected{color:#fff;padding:10px;background:#111;border-radius:4px;font-size:.9em;margin-bottom:15px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#ccc;font-size:14px}.form-group input{width:100%;padding:12px;background:#111;border:1px solid #333;color:#fff;border-radius:4px;font-family:Courier New,monospace}.form-group input:focus{outline:none;border-color:#fff}.shared-file{padding:20px 0}.file-info-block{background:#111;border:1px solid #333;padding:15px;border-radius:4px;margin-bottom:15px}.file-info-block p{margin:8px 0;color:#ccc}.file-info-block strong{color:#fff}.admin-panel{min-height:100vh;background:#000}.admin-container{padding:30px;max-width:1400px;margin:0 auto}.message{padding:15px 20px;border-radius:4px;margin-bottom:20px;font-family:Courier New,monospace}.message-success{background:#0a0a0a;border:1px solid #fff;color:#fff}.message-error{background:#2a0000;border:1px solid #f00;color:#f66}.control-panel{background:#0a0a0a;border:2px solid #333;border-radius:8px;padding:25px;margin-bottom:30px}.control-panel h2{font-size:18px;margin-bottom:15px;color:#fff}.role-selector{margin-bottom:15px}.role-selector label{display:block;margin-bottom:8px;color:#ccc;font-size:14px}.role-selector select{width:100%;max-width:300px;padding:10px;background:#111;border:1px solid #333;color:#fff;border-radius:4px;font-family:Courier New,monospace;cursor:pointer}.role-selector select:focus{outline:none;border-color:#fff}.control-actions{display:flex;gap:10px}.role-badge{padding:4px 10px;border-radius:3px;font-size:11px;text-transform:uppercase;font-weight:700}.role-badge.role-viewer{background:#1a1a1a;border:1px solid #666;color:#888}.role-badge.role-editor{background:#0a0a0a;border:1px solid #fff;color:#fff}.role-badge.role-admin{background:#2a0000;border:1px solid #f00;color:red}.keys-section{background:#0a0a0a;border:2px solid #333;border-radius:8px;padding:25px}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-header h2{font-size:18px;color:#fff}.count{color:#888;font-size:14px}.search-box{margin-bottom:20px}.search-input{width:100%;max-width:400px;background:#111;border:1px solid #333;color:#fff;padding:10px 15px;font-family:Courier New,monospace;font-size:14px;border-radius:4px}.search-input:focus{outline:none;border-color:#fff}.keys-table{width:100%;border-collapse:collapse;font-family:Courier New,monospace;font-size:13px}.keys-table thead{background:#111;border-bottom:2px solid #333}.keys-table th{padding:12px 15px;text-align:left;color:#fff;font-weight:700;border-bottom:2px solid #333}.keys-table tbody tr{border-bottom:1px solid #222;transition:background .2s}.keys-table tbody tr:hover{background:#111}.keys-table td{padding:12px 15px;color:#ccc}.keys-table td.key-value{font-family:Courier New,monospace;color:#fff;font-weight:700;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status{padding:4px 10px;border-radius:3px;font-size:11px;text-transform:uppercase;font-weight:700}.status.active{background:#0a0a0a;border:1px solid #fff;color:#fff}.status.used{background:#1a1a1a;border:1px solid #666;color:#888}.actions{display:flex;gap:8px}.btn-action{background:#1a1a1a;border:1px solid #333;color:#fff;padding:6px 12px;cursor:pointer;border-radius:3px;font-family:Courier New,monospace;font-size:12px;transition:all .2s}.btn-action:hover{background:#fff;color:#000;border-color:#fff}.btn-action.btn-delete{color:red}.btn-action.btn-delete:hover{background:red;color:#fff;border-color:red}.not-found{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}.not-found h1{font-size:72px;margin-bottom:20px;color:#fff}.not-found p{color:#888;margin-bottom:30px;font-size:18px}.btn-home{background:#fff;color:#000;border:none;padding:12px 30px;cursor:pointer;border-radius:4px;font-family:Courier New,monospace;font-size:14px;font-weight:700;text-decoration:none;display:inline-block;transition:all .2s}.btn-home:hover{background:#ddd}.sync-repos-list{margin-top:10px}.sync-repo-item{margin-bottom:15px;padding:10px;background:#0a0a0a;border:1px solid #333;border-radius:4px}.sync-actions{display:flex;gap:5px;margin-top:8px}.sync-btn{flex:1;padding:8px 5px;background:#000;border:1px solid #555;color:#fff;cursor:pointer;font-family:Courier New,monospace;font-size:11px;transition:all .2s;border-radius:3px}.sync-btn:hover{background:#1a1a1a;border-color:#fff}.sync-btn.delete{background:#000;border-color:#555;color:#999}.sync-btn.delete:hover{background:#2a0000;border-color:red;color:red}.custom-checkbox{display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;padding:12px;background:#0a0a0a;border:1px solid #333;border-radius:6px;transition:all .3s ease;margin-bottom:8px}.custom-checkbox:hover{background:#111;border-color:#444}.custom-checkbox input[type=checkbox]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkbox-box{position:relative;width:20px;height:20px;min-width:20px;border:2px solid #666;border-radius:4px;margin-right:12px;transition:all .3s ease;background:#000}.custom-checkbox:hover .checkbox-box{border-color:#888}.custom-checkbox input[type=checkbox]:checked~.checkbox-box{background:#fff;border-color:#fff}.checkbox-box:after{content:"";position:absolute;display:none;left:6px;top:2px;width:5px;height:10px;border:solid #000;border-width:0 2px 2px 0;transform:rotate(45deg)}.custom-checkbox input[type=checkbox]:checked~.checkbox-box:after{display:block}.checkbox-label{display:flex;flex-direction:column;flex:1}.checkbox-label-text{color:#fff;font-weight:500;font-size:14px;margin-bottom:4px}.checkbox-label-hint{color:#888;font-size:11px;line-height:1.4}.file-viewer-modal{max-width:90vw;max-height:90vh;width:1200px;display:flex;flex-direction:column}.file-viewer-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #333}.file-viewer-header h2{margin:0 0 5px;font-size:18px}.file-meta{color:#888;font-size:12px;margin:0}.file-viewer-content{flex:1;overflow:auto;background:#0a0a0a;border:1px solid #333;border-radius:4px;padding:20px;margin-bottom:20px;max-height:60vh}.file-viewer-content pre{margin:0;font-family:Courier New,Consolas,monospace;font-size:13px;line-height:1.6;color:#fff;white-space:pre-wrap;word-wrap:break-word}.file-viewer-content code{font-family:inherit;color:inherit}.language-javascript .keyword,.language-python .keyword,.language-java .keyword{color:#ff79c6}.language-markdown h1,.language-markdown h2,.language-markdown h3{color:#fff;font-weight:700}.language-json .string{color:#50fa7b}.close-btn:hover{opacity:.7}
