
:root {
  --navy: #102b4c;
  --navy-light: #183d65;
  --blue: #2478c5;
  --background: #f4f7fb;
  --white: #ffffff;
  --text: #20334b;
  --muted: #8492a6;
  --border: #e8edf3;
  --green: #16a36a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--background);
}

.hidden {
  display: none !important;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

/* LOGIN */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 75px;
  padding: 35px;
  background:
    radial-gradient(circle at 20% 20%, #28639a, transparent 40%),
    linear-gradient(135deg, #102b4c, #07182d);
}

.login-brand {
  color: white;
  text-align: center;
}

.brand-icon {
  width: 75px;
  height: 75px;
  border-radius: 22px;
  margin: auto;
  display: grid;
  place-items: center;
  font-size: 43px;
  color: white;
  background: #2478c5;
  box-shadow: 0 10px 30px #0003;
}

.login-brand h1 {
  margin: 20px 0 0;
  font-size: 36px;
  letter-spacing: 5px;
}

.login-brand h2 {
  margin: 2px;
  color: #7bc4ff;
  letter-spacing: 4px;
  font-size: 22px;
}

.login-brand p {
  color: #b7c9dc;
}

.login-card {
  width: 100%;
  max-width: 410px;
  background: white;
  padding: 36px;
  border-radius: 20px;
  box-shadow: 0 20px 60px #0004;
}

.login-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

.login-card label {
  display: block;
  margin: 22px 0 8px;
  font-size: 13px;
  font-weight: 600;
}

.login-card input {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: none;
}

.login-card input:focus {
  border-color: var(--blue);
}

.login-card button {
  width: 100%;
  margin-top: 25px;
  padding: 14px;
  border: 0;
  border-radius: 9px;
  background: var(--navy);
  color: white;
  font-weight: 600;
}

.login-card button:hover {
  background: var(--blue);
}

.login-footer {
  margin-top: 25px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}

.message {
  font-size: 13px;
  color: #d04444;
  min-height: 18px;
}

/* DASHBOARD */

.dashboard-page {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  background: var(--navy);
  color: white;
  padding: 24px 17px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 7px 35px;
}

.brand-icon.small {
  width: 43px;
  height: 43px;
  font-size: 26px;
  border-radius: 12px;
}

.sidebar-brand strong,
.sidebar-brand span {
  display: block;
}

.sidebar-brand strong {
  letter-spacing: 2px;
}

.sidebar-brand span {
  color: #8ebce5;
  font-size: 11px;
  letter-spacing: 2px;
  margin-top: 3px;
}

.menu-label {
  color: #8ea5be;
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 15px 10px 9px;
}

.sidebar nav {
  display: grid;
  gap: 5px;
}

.nav-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #c3d2e3;
  text-align: left;
  padding: 13px;
  border-radius: 9px;
  font-size: 13px;
}

.nav-item span {
  display: inline-block;
  width: 27px;
}

.nav-item:hover,
.nav-item.active {
  color: white;
  background: #ffffff1c;
}

.sidebar-bottom {
  margin-top: auto;
}

.server-status {
  padding: 13px;
  background: #ffffff12;
  border-radius: 9px;
  font-size: 12px;
  margin-bottom: 15px;
}

.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  margin-right: 7px;
}

.logout-button {
  width: 100%;
  padding: 12px;
  border: 1px solid #ffffff25;
  background: transparent;
  color: white;
  border-radius: 9px;
}

.main-content {
  margin-left: 250px;
}

.topbar {
  height: 75px;
  background: white;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
}

.topbar p {
  font-size: 11px;
  color: var(--muted);
  margin: 3px 0 0;
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile strong,
.profile span {
  display: block;
  font-size: 12px;
}

.profile span {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.avatar {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  font-weight: bold;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
}

.content {
  padding: 32px;
  max-width: 1500px;
  margin: auto;
}

.welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.welcome h1 {
  font-size: 25px;
  margin: 0;
}

.welcome p {
  color: var(--muted);
  font-size: 13px;
}

.date-label {
  font-size: 12px;
  color: var(--muted);
}

/* STATISTICS */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.stat-card,
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 14px;
}

.stat-card h2 {
  font-size: 25px;
  margin: 7px 0;
}

.stat-card small {
  color: var(--muted);
  font-size: 11px;
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 21px;
}

.blue {
  background: #e8f2ff;
  color: #2478c5;
}

.green {
  background: #e4f8ef;
  color: #16a36a;
}

.purple {
  background: #f0eaff;
  color: #8054cb;
}

.orange {
  background: #fff0df;
  color: #dc8b2b;
}

.online-text {
  color: var(--green);
}

/* PANELS */

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel h3 {
  margin: 0;
  font-size: 16px;
}

.panel-heading p {
  color: var(--muted);
  font-size: 11px;
}

.online-badge {
  color: var(--green);
  background: #e5f8ef;
  border-radius: 20px;
  padding: 6px 11px;
  font-size: 10px;
}

.storage-illustration {
  margin: 18px auto 5px;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  font-size: 47px;
  color: var(--blue);
  background: #eaf4ff;
  border-radius: 22px;
}

.panel > h2 {
  margin-bottom: 4px;
}

.storage-track {
  height: 9px;
  border-radius: 20px;
  background: #edf1f5;
  margin: 22px 0 12px;
  overflow: hidden;
}

.storage-track div {
  height: 100%;
  width: 0;
  background: var(--blue);
  border-radius: 20px;
}

.quick-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 5px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--text);
}

.quick-item > span {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eaf4ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 19px;
}

.quick-item div {
  flex: 1;
}

.quick-item strong,
.quick-item small {
  display: block;
}

.quick-item strong {
  font-size: 12px;
}

.quick-item small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

.quick-item b {
  color: var(--muted);
}

.activity-panel {
  margin-top: 20px;
}

.system-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}

.system-row span {
  color: var(--muted);
}

.system-row strong {
  font-weight: 600;
}

footer {
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
  color: var(--muted);
  font-size: 10px;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .login-page {
    flex-direction: column;
    gap: 25px;
    padding: 22px;
  }

  .login-brand h1 {
    font-size: 28px;
  }

  .login-brand h2 {
    font-size: 18px;
  }

  .login-card {
    padding: 25px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .topbar {
    padding: 0 15px;
  }

  .menu-toggle {
    display: block;
  }

  .content {
    padding: 20px 14px;
  }

  .welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .welcome h1 {
    font-size: 21px;
  }

  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-card h2 {
    font-size: 21px;
  }

  .profile {
    gap: 6px;
  }

  .profile strong {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .system-row {
    gap: 12px;
    font-size: 10px;
  }

  footer {
    gap: 10px;
    flex-direction: column;
  }
}

/* =====================================
   THC FILE MANAGER
===================================== */

.file-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.file-toolbar h2 {
  margin: 0 0 6px;
}

.file-toolbar p {
  margin: 0;
}

.file-toolbar-actions,
.file-manager-tools,
.file-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.primary-button,
.secondary-button {
  border: none;
  border-radius: 9px;
  padding: 11px 16px;
  font-weight: 600;
  cursor: pointer;
}

.primary-button {
  background: #174f91;
  color: white;
}

.secondary-button {
  background: #edf2f8;
  color: #183653;
}

.file-manager-panel {
  min-height: 420px;
}

.file-manager-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.file-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  color: #7b8796;
}

.file-breadcrumb button {
  border: none;
  background: transparent;
  color: #174f91;
  font-weight: 600;
  cursor: pointer;
  padding: 5px;
}

.file-manager-tools input {
  width: 230px;
  max-width: 100%;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
}

.file-manager-tools input:focus {
  border-color: #3979bd;
}

.view-button {
  width: 38px;
  height: 38px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.view-button.active {
  background: #e8f1fb;
  color: #174f91;
  border-color: #a8c7e9;
}

.file-summary {
  display: flex;
  justify-content: space-between;
  color: #718096;
  font-size: 13px;
  margin-bottom: 18px;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.file-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5eaf0;
  border-radius: 11px;
  background: #fff;
  transition: border-color .2s, transform .2s;
}

.file-card:hover {
  border-color: #a9c6e5;
  transform: translateY(-2px);
}

.file-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f0f4fa;
  font-size: 23px;
}

.folder-icon {
  background: #fff5df;
}

.file-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.file-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: #24364b;
}

.file-info small {
  color: #8491a1;
  font-size: 12px;
}

.file-actions {
  flex-shrink: 0;
}

.file-actions button,
.file-open-button {
  border: 0;
  border-radius: 7px;
  min-width: 30px;
  height: 30px;
  background: #f1f4f8;
  color: #34516f;
  cursor: pointer;
}

.file-actions button:hover,
.file-open-button:hover {
  background: #dceafa;
}

.file-open-button {
  padding: 0 9px;
  font-size: 12px;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-list .file-card {
  border-radius: 8px;
}

.file-empty {
  text-align: center;
  padding: 55px 15px;
  color: #7b8796;
}

.file-empty h3 {
  color: #263c54;
  margin-bottom: 7px;
}

.file-empty p {
  font-size: 13px;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

#uploadStatus {
  color: #24834c;
  font-weight: 600;
}

@media (max-width: 650px) {
  .file-toolbar {
    align-items: flex-start;
  }

  .file-toolbar-actions {
    width: 100%;
  }

  .file-toolbar-actions button {
    flex: 1;
  }

  .file-manager-top {
    align-items: flex-start;
  }

  .file-manager-tools {
    width: 100%;
  }

  .file-manager-tools input {
    flex: 1;
    width: 100%;
  }

  .file-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================
   THC STORAGE MANAGER
===================================== */

.storage-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.storage-page-heading h2 { margin: 0 0 6px; }
.storage-page-heading p { margin: 0; }

.storage-drive-card {
  margin-bottom: 22px;
  padding: 25px;
}

.storage-drive-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.storage-drive-heading h3 { margin: 0 0 5px; }
.storage-drive-heading p {
  margin: 0;
  color: #8290a1;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.storage-drive-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eaf2fc;
  color: #174f91;
  font-size: 24px;
}

.storage-drive-heading .online-badge { margin-left: auto; }

.storage-capacity {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 18px;
}

.storage-capacity h1 {
  font-size: 34px;
  margin: 7px 0 0;
  color: #183653;
}

.capacity-total { text-align: right; }
.capacity-total h3 {
  font-size: 20px;
  margin: 7px 0 0;
  color: #183653;
}

.storage-track.large {
  height: 13px;
  background: #e8edf3;
  border-radius: 20px;
  overflow: hidden;
}

.storage-track.large > div {
  width: 0%;
  height: 100%;
  background: #2879c7;
  border-radius: 20px;
  transition: width .4s ease;
}

.storage-legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
  color: #65758a;
  font-size: 13px;
}

.storage-legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 5px;
}

.legend-used { background: #2879c7; }
.legend-free { background: #cbd5e1; }
.storage-legend strong { color: #263d56; }

.storage-updated {
  margin: 18px 0 0;
  font-size: 12px;
}

.storage-stats-grid { margin-bottom: 22px; }
.storage-information h3 { margin: 0 0 20px; }

@media (max-width: 600px) {
  .storage-drive-card { padding: 18px; }
  .storage-capacity {
    align-items: flex-start;
    flex-direction: column;
  }
  .capacity-total { text-align: left; }
  .storage-capacity h1 { font-size: 29px; }
  .storage-legend {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Storage Manager: separate physical HDD and cloud data */
.storage-section-label { margin: 24px 0 12px; }
.storage-section-label h3 { margin: 0 0 5px; color: #183653; }
.storage-section-label p { margin: 0; font-size: 13px; }
.storage-stats-grid .stat-card { min-width: 0; }
.storage-stats-grid .stat-card h2 { overflow-wrap: anywhere; }


/* Storage health monitoring and automatic refresh */
.storage-status-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  margin-left: auto;
}
.health-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.health-normal { color: #087a50; background: #e2f7ee; }
.health-warning { color: #946200; background: #fff3d3; }
.health-critical { color: #b42318; background: #fee8e7; }
.health-unknown { color: #596579; background: #edf1f5; }
.storage-health-notice {
  margin-top: 15px;
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.5;
}
.health-notice-normal { color: #087a50; background: #effaf5; }
.health-notice-warning { color: #805800; background: #fff8e6; }
.health-notice-critical { color: #a21b16; background: #fff0ef; }
.health-notice-unknown { color: #596579; background: #f1f4f8; }
.storage-auto-refresh { margin-top: 5px; font-size: 11px; }
@media (max-width: 640px) {
  .storage-status-stack { align-items: flex-start; margin-left: 0; }
}


/* =====================================
   BACKUP MANAGER
===================================== */
.backup-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}
.backup-heading h2{margin:0 0 7px;color:var(--navy)}
.backup-heading p{margin:0}
.backup-manual-badge{white-space:nowrap;background:#eaf4ff;color:#1765a5;border:1px solid #d5e9fb;border-radius:30px;padding:8px 13px;font-size:12px;font-weight:700}
.backup-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:20px;margin-bottom:20px}
.backup-destination-panel,.backup-includes-panel,.backup-history-panel{padding:22px}
.backup-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.backup-panel-title>div{display:flex;align-items:center;gap:10px}
.backup-panel-title h3,.backup-includes-panel h3{margin:0;color:var(--navy)}
.backup-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#eaf4ff;color:var(--blue);font-size:20px}
.backup-destination-panel>p{line-height:1.55;margin:0 0 20px}
.backup-destination-panel label{display:block;font-size:13px;font-weight:700;margin-bottom:8px}
.backup-select{width:100%;padding:12px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text)}
.backup-drive-details{font-size:12px;min-height:22px;margin-top:9px}
.backup-folder-info{display:flex;flex-direction:column;gap:6px;background:#f5f8fc;border:1px solid var(--border);border-radius:9px;padding:13px;margin:17px 0}
.backup-folder-info span{font-size:12px;color:var(--muted)}
.backup-folder-info strong{font-size:13px;overflow-wrap:anywhere;color:var(--navy)}
.primary-button,.secondary-button{border:0;border-radius:8px;padding:11px 15px;font-weight:700}
.primary-button{width:100%;background:var(--blue);color:#fff}
.primary-button:disabled{opacity:.5;cursor:not-allowed}
.secondary-button{background:#eef4fa;color:var(--navy);border:1px solid #dce7f1}
.backup-status{font-size:13px;line-height:1.5;margin-top:13px;min-height:20px}
.backup-status-success{color:#128253}.backup-status-warning{color:#a66b00}.backup-status-error{color:#c0392b}.backup-status-info{color:#486581}
.backup-include-row{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid var(--border)}
.backup-include-row:last-of-type{border-bottom:0}
.include-check{flex:0 0 25px;width:25px;height:25px;display:grid;place-items:center;background:#e8f7ef;color:#15945e;border-radius:50%;font-weight:800}
.backup-include-row strong,.backup-include-row small{display:block}
.backup-include-row strong{font-size:14px;margin-bottom:4px}
.backup-include-row small{font-size:12px;line-height:1.5;color:var(--muted)}
.backup-security-note{margin-top:13px;padding:12px;background:#fff8e8;border:1px solid #f5e4bd;border-radius:8px;font-size:12px;line-height:1.5;color:#765619}
.backup-history-panel{margin-bottom:20px}
.backup-table-wrap{overflow-x:auto}
.backup-table{width:100%;border-collapse:collapse;font-size:13px}
.backup-table th,.backup-table td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--border);vertical-align:top}
.backup-table th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.backup-table td:nth-child(2){max-width:460px;overflow-wrap:anywhere}
.backup-history-status{display:inline-block;border-radius:20px;padding:5px 9px;font-size:11px;font-weight:700}
.backup-history-status.done{background:#e8f7ef;color:#128253}.backup-history-status.failed{background:#fff0ef;color:#c0392b}.backup-history-status.pending{background:#fff8e8;color:#a66b00}
.backup-empty{padding:18px;text-align:center;color:var(--muted);font-size:13px}
.backup-restore-notice{padding:17px 19px;border:1px solid #f0dfb9;background:#fffaf0;border-radius:10px;margin-bottom:20px}
.backup-restore-notice strong{color:#795c20}
.backup-restore-notice p{margin:7px 0 0;color:#786b50;font-size:13px;line-height:1.6}
@media(max-width:850px){.backup-grid{grid-template-columns:1fr}.backup-heading{flex-direction:column}}
@media(max-width:520px){.backup-destination-panel,.backup-includes-panel,.backup-history-panel{padding:16px}.backup-panel-title{align-items:flex-start}.backup-table{min-width:520px}}


/* MULTI-STORAGE MANAGER V2 */
.multi-storage-panel { margin: 22px 0; padding: 22px; }
.multi-storage-toolbar { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin:14px 0; }
.storage-volumes-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:14px; margin:14px 0 22px; }
.storage-volume-card { border:1px solid var(--border-color,#e5eaf1); border-radius:12px; padding:16px; background:var(--card-bg,#fff); min-width:0; }
.storage-volume-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.storage-volume-card-top strong { display:block; color:var(--text-primary,#16304d); }
.storage-volume-card-top small { display:block; margin-top:5px; color:var(--text-muted,#71839a); overflow-wrap:anywhere; }
.offline-badge { background:#fff0ed!important; color:#c2410c!important; }
.storage-volume-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.storage-volume-actions button { font-size:12px; padding:8px 10px; }
.storage-legacy-note { display:inline-block; margin-top:8px; color:#0f766e; background:#e7f8f2; border-radius:20px; padding:5px 9px; font-size:11px; }
.storage-register-form { border-top:1px solid var(--border-color,#e5eaf1); padding-top:18px; }
.storage-register-form h4 { margin:0 0 12px; }
.storage-register-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); align-items:end; gap:12px; }
.storage-register-fields label { display:flex; flex-direction:column; gap:7px; color:var(--text-muted,#71839a); font-size:13px; }
.storage-register-fields input,.storage-register-fields select { min-height:42px; border:1px solid var(--border-color,#dbe3ed); border-radius:8px; padding:8px 10px; background:#fff; color:#17324f; width:100%; }
.storage-register-note { font-size:12px; line-height:1.6; margin-top:12px; }
@media(max-width:640px) {
  .multi-storage-panel { padding:14px; }
  .storage-volume-card-top { flex-direction:column; }
}
