﻿/* ≡ SA - Meine eigenen TOOLS */

:root {
  --bg: linear-gradient(180deg, rgba(245,248,250,1) 0%, rgba(230,242,246,1) 100%);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255,255,255,0.6);
  --accent: #9052F2;	/* Diesen Wert ändern */
  --accent-2: #55AA55;
  --muted: #6b7280;
  --glass-blur: 8px;
  --radius: 12px;
  --card-padding: 18px;
  --shadow: 0 8px 24px rgba(40,40,50,0.08);
}

/* Page */
* {box-sizing: border-box; font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;}
html,body {height:100%; margin:0; background:var(--bg); color:#0b1220; -webkit-font-smoothing:antialiased;}
body {padding:28px;}

/* Header */
h1 {
  font-size:20px;
  margin:0 0 18px 0;
  display:flex;
  align-items:baseline;
  gap:10px;
}
h1 span {font-weight:600;}
h1 .red {color:#e12b2b}
h1 .blue {color:var(--accent)}

/* Sections as glass cards */
#WinExeSection, #SourceSection, p {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: var(--card-padding);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow);
  margin-bottom:18px;
}

/* Headings inside cards */
#WinExeSection h2, #SourceSection h2, #MISCSection h2 {
  margin:0 0 12px 0;
  color: #072033;
  font-size:16px;
}

/* Link style */
a { color: var(--accent); text-decoration: none; font-weight:600; }
a:hover { text-decoration: underline; }

/* Table base */
table { width:100%; border-collapse:collapse; background:transparent; }
th, td {
  padding:12px 14px;
  text-align:left;
  border-bottom: 1px solid rgba(11,18,32,0.06);
  vertical-align:middle;
  font-size:13px;
  color: #072033;
}
thead th {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
  position:sticky;
  top:0;
  z-index:1;
  color:#fff;
  font-weight:600;
}

/* insolvency purple table (modernized) */
.table-insolvencyPurple {
  border: none;
  border-radius:10px;
  overflow:hidden;
  box-shadow:none;
}
.table-insolvencyPurple thead th {
  background: linear-gradient(180deg, #9052F2, #8A4BF1); /* Diese beiden Werte ändern */
  color:white;
  padding:12px 14px;
}
.table-insolvencyPurple tbody tr {
  transition: background 160ms ease, transform 160ms ease;
}
.table-insolvencyPurple tbody tr:hover {
  background: linear-gradient(90deg, rgba(75,170,198,0.07), rgba(255,255,255,0.02));
  transform: translateY(-2px);
}

/* Row striping subtle */
.table-insolvencyPurple tbody tr:nth-child(odd) td {
  background: rgba(34, 64, 78, 0.08);
}
.table-insolvencyPurple tbody tr:nth-child(even) td {
  background: rgba(255,255,255,0.5);
}

/* Cell accents */
.table-insolvencyPurple td.filename { font-weight:600; color:#023047; }
.table-insolvencyPurple td.file-size { text-align:right; color:var(--muted); white-space:nowrap; }
.table-insolvencyPurple td.date-updated { color:var(--muted); white-space:nowrap; }

/* Small utility */
.small { font-size:12px; color:var(--muted); }
.hidden { display:none; }

/* Responsive */
@media (max-width:820px) {
  body { padding:14px; }
  th,td { padding:10px 8px; font-size:13px; }
  h1 { font-size:18px; gap:6px; }
}

/* Optional: glass accent header pill for filename */
.filename-pill {
  display:inline-block;
  padding:6px 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.55), rgba(255,255,255,0.35));
  border:1px solid rgba(255,255,255,0.5);
  border-radius:999px;
  font-size:12px;
  color:#023047;
}

/* Reduce heavy older rules — comment out if conflicts */
/* original simple coloring removed to avoid clashes */
