:root {
  --green:#2f855a;
  --bg:#f8fafc;
  --card:#ffffff;
  --text:#1a202c;
}

/* Reset + Base */
* { box-sizing:border-box }
body {
  margin:0;
  font-family:system-ui,Segoe UI,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

/* Header */
.app-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 16px;
  background:var(--green);
  color:#fff;
}
.app-header .brand {
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:700;
}
.app-header .brand img {
  width:35px;
}
.app-header .nav-links {
  display:flex;
  gap:12px;
}
.app-header .nav-links a,
.app-header .nav-links button {
  color:#fff;
  background:none;
  border:1px solid rgba(255,255,255,.35);
  padding:6px 10px;
  border-radius:8px;
  cursor:pointer;
  font-size:14px;
  text-decoration:none;
}
.menu-toggle {
  display:none;
  background:none;
  border:none;
  font-size:22px;
  color:#fff;
  cursor:pointer;
}

/* Mobile Nav */
@media(max-width:768px){
  .app-header .nav-links {
    display:none;
    flex-direction:column;
    position:absolute;
    top:60px; right:10px;
    background:var(--card);
    border:1px solid #ccc;
    border-radius:8px;
    padding:10px;
    box-shadow:0 4px 10px rgba(0,0,0,.1);
  }
  .app-header .nav-links a,
  .app-header .nav-links button {
    color:var(--text);
    border:0;
  }
  .app-header .nav-links.show { display:flex; }
  .menu-toggle { display:block; }
}

/* Containers */
#app {
  max-width:1100px;
  margin:16px auto;
  padding:16px;
}
.card {
  background:var(--card);
  border-radius:12px;
  box-shadow:0 4px 20px rgba(0,0,0,.06);
  padding:16px;
  margin-bottom:16px;
}
.grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:12px;
}
.item {
  padding:12px;
  border:1px solid #e2e8f0;
  border-radius:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* Buttons */
button.primary {
  background:var(--green);
  color:#fff;
  border:0;
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
}
input,select {
  width:100%;
  padding:10px;
  border:1px solid #cbd5e0;
  border-radius:8px;
}
label { display:block; margin:8px 0 4px }

/* File List */
.file-list { width:100%; border-collapse:collapse; margin-top:15px }
.file-list th, .file-list td {
  padding:8px 10px;
  border-bottom:1px solid #ddd;
  text-align:left;
}
.file-list th {
  background:#f9f9f9;
  font-weight:600;
}
.icon {
  width:20px;
  height:20px;
  vertical-align:middle;
  margin-right:6px;
  fill:currentColor;
}
.folder-card { display:flex; flex-direction:column; align-items:center; gap:6px; }
.folder-card .btn { margin-top:8px; }
.btn .icon {
  width:14px;
  height:14px;
  margin-right:5px;
  vertical-align:middle;
}
.danger{
	    background: transparent;
    border: 1px solid #8080804d;
}
.danger .icon {

    margin-right: 0px;
}
.storage-bar {
  width: 100%;
  max-width: 400px;
  height: 14px;
  background: #eee;
  border-radius: 7px;
  overflow: hidden;
  margin: 6px 0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
}

.storage-fill {
  height: 100%;
  background: linear-gradient(90deg, #4caf50, #81c784);
  transition: width 0.4s ease;
}
