.storage-management-page {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 28px 0 48px;
}

.storage-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.back-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 30px;
  line-height: 1;
  background: var(--card-background, rgba(255,255,255,.08));
  color: inherit;
}

.storage-header h1 {
  margin: 0 0 5px;
  font-size: 28px;
}

.storage-header p {
  margin: 0;
  opacity: .7;
}

.storage-card {
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 20px;
  background: var(--card-background, rgba(255,255,255,.06));
  border: 1px solid var(--border-color, rgba(255,255,255,.1));
}

.storage-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.storage-icon,
.section-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(127,127,127,.12);
  font-size: 22px;
}

.storage-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.storage-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: .65;
}

.storage-bar {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(127,127,127,.15);
}

.storage-bar-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-color, #4f8cff);
  transition: width .3s ease;
}

.storage-legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  opacity: .65;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0 0 4px;
}

.section-heading p {
  margin: 0;
}

.section-icon {
  width: 46px;
  height: 46px;
}

.storage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--border-color, rgba(255,255,255,.08));
}

.storage-row:first-of-type {
  border-top: 0;
}

.storage-row strong {
  font-size: 14px;
}

.storage-row small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  opacity: .6;
}

.storage-row > strong:last-child {
  flex: 0 0 auto;
  opacity: .8;
}

.danger-card {
  border-color: rgba(190,80,80,.25);
}

.danger-button {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  background: rgba(190,80,80,.14);
  color: inherit;
}

.danger-button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.storage-message {
  margin-top: 12px !important;
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(127,127,127,.1);
}

@media (max-width: 600px) {
  .storage-management-page {
    width: min(100% - 20px, 760px);
    padding-top: 18px;
  }

  .storage-header h1 {
    font-size: 24px;
  }

  .storage-card {
    padding: 16px;
  }

  .storage-legend {
    flex-direction: column;
    gap: 4px;
  }

  .storage-row {
    align-items: flex-start;
  }
}
