body {
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
 line-height: 1.5;
 color: #24292e;
 margin: 0;
 padding: 0;
}
.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 20px;
}
.header {
 background-color: #24292e;
 color: white;
 padding: 16px;
 display: flex;
 align-items: center;
 justify-content: space-between;
}
.header-logo {
 font-size: 24px;
 font-weight: bold;
}
.login-container {
 max-width: 400px;
 margin: 100px auto;
 padding: 20px;
 border: 1px solid #e1e4e8;
 border-radius: 6px;
 box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.login-title {
 margin-top: 0;
 text-align: center;
}
.form-group {
 margin-bottom: 15px;
}
.form-group label {
 display: block;
 margin-bottom: 5px;
 font-weight: 600;
}
.form-control {
 width: 100%;
 padding: 8px;
 border: 1px solid #e1e4e8;
 border-radius: 3px;
 box-sizing: border-box;
 transition: border-color 0.2s;
}
.form-control:focus {
 border-color: #0366d6;
 outline: none;
 box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.1);
}
.btn {
 background-color: #2ea44f;
 color: white;
 border: none;
 padding: 10px 16px;
 border-radius: 6px;
 font-size: 14px;
 font-weight: 600;
 cursor: pointer;
 width: 100%;
 transition: background-color 0.2s, transform 0.1s;
}
.btn:hover {
 background-color: #2c974b;
}
.btn:active {
 transform: scale(0.98);
}
.repo-list {
 list-style: none;
 padding: 0;
}
.repo-item {
 border: 1px solid #e1e4e8;
 border-radius: 6px;
 margin-bottom: 16px;
 padding: 16px;
 transition: transform 0.1s, box-shadow 0.2s;
}
.repo-item:hover {
 transform: translateY(-2px);
 box-shadow: 0 3px 6px rgba(0,0,0,0.1);
 cursor: pointer;
}
.repo-name {
 font-size: 20px;
 font-weight: 600;
 margin: 0;
}
.repo-description {
 color: #586069;
 margin-top: 8px;
}
.badge {
 display: inline-block;
 padding: 2px 6px;
 background-color: #f1f8ff;
 color: #0366d6;
 border-radius: 3px;
 font-size: 12px;
 margin-right: 8px;
}
.file-browser {
 border: 1px solid #e1e4e8;
 border-radius: 6px;
}
.file-header {
 background-color: #f6f8fa;
 border-bottom: 1px solid #e1e4e8;
 padding: 8px 16px;
 font-weight: 600;
}
.file-list {
 list-style: none;
 padding: 0;
 margin: 0;
}
.file-item {
 padding: 8px 16px;
 border-bottom: 1px solid #eaecef;
 display: flex;
 align-items: center;
 transition: background-color 0.1s;
}
.file-item:hover {
 background-color: #f6f8fa;
}
.file-item:last-child {
 border-bottom: none;
}
.file-icon {
 margin-right: 8px;
}
.file-name {
 flex-grow: 1;
 cursor: pointer;
}
.breadcrumb {
 margin-bottom: 16px;
}
.breadcrumb-item {
 display: inline;
 margin-right: 8px;
}
.breadcrumb-item:after {
 content: '/';
 margin-left: 8px;
 color: #586069;
}
.breadcrumb-item:last-child:after {
 content: '';
}
.editor {
 border: 1px solid #e1e4e8;
 border-radius: 6px;
 overflow: hidden;
}
.editor-header {
 background-color: #f6f8fa;
 border-bottom: 1px solid #e1e4e8;
 padding: 8px 16px;
 font-weight: 600;
}
.editor-actions {
 margin-top: 16px;
 display: flex;
 gap: 10px;
}
textarea {
 width: 100%;
 min-height: 400px;
 border: none;
 padding: 16px;
 font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
 font-size: 12px;
 resize: vertical;
 box-sizing: border-box;
 line-height: 1.5;
}
.screen {
 display: none;
}
.screen.active {
 display: block;
}
.username {
 font-weight: bold;
 color: white;
}
.logout-btn {
 background-color: transparent;
 color: white;
 border: 1px solid rgba(255,255,255,0.5);
 padding: 5px 10px;
 cursor: pointer;
 border-radius: 3px;
 transition: background-color 0.2s;
}
.logout-btn:hover {
 background-color: rgba(255,255,255,0.1);
}
.path {
 font-weight: bold;
}
.content-actions {
 margin-top: 10px;
 margin-bottom: 15px;
}
.upload-btn {
 background-color: #0366d6;
 margin-right: 10px;
 width: auto;
}
.delete-btn {
 background-color: #cb2431;
 width: auto;
}
.btn-secondary {
 background-color: #f3f4f6;
 color: #24292e;
 border: 1px solid #e1e4e8;
}
.btn-secondary:hover {
 background-color: #eaecef;
}

/* Toast notifications */
.toast-container {
 position: fixed;
 top: 20px;
 right: 20px;
 z-index: 1000;
}
.toast {
 padding: 12px 20px;
 margin-bottom: 10px;
 border-radius: 6px;
 color: white;
 display: flex;
 align-items: center;
 box-shadow: 0 3px 10px rgba(0,0,0,0.1);
 animation: slideIn 0.3s, fadeOut 0.5s 2.5s forwards;
}
.toast.success {
 background-color: #2ea44f;
}
.toast.error {
 background-color: #cb2431;
}
.toast.info {
 background-color: #0366d6;
}
.toast-icon {
 margin-right: 10px;
 font-size: 18px;
}

@keyframes slideIn {
 from { transform: translateX(100%); opacity: 0; }
 to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
 to { opacity: 0; }
}

/* Loading spinner */
.spinner {
 display: inline-block;
 width: 20px;
 height: 20px;
 border: 3px solid rgba(255,255,255,0.3);
 border-radius: 50%;
 border-top-color: white;
 animation: spin 1s ease-in-out infinite;
 margin-right: 8px;
}
@keyframes spin {
 to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
 .container {
   padding: 10px;
 }
 .login-container {
   margin: 50px auto;
 }
 .editor-actions {
   flex-direction: column;
 }
 .btn {
   width: 100%;
 }
}