/* files-list.css — стили страницы списка файлов */
/* Автор: Борис Гусев (bgus.ru), Версия: 1.0.0 */

:root {
  --glass-bg: rgba(255,255,255,0.75);
  --accent: linear-gradient(90deg,#007bff,#6f42c1,#d63384);
  --text-dark: #111;
  --radius: 24px;
}

body {
  background: linear-gradient(135deg,#f7f8fa,#e9ecef);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Display","Inter","Segoe UI",sans-serif;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.card-modern {
  border: none;
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(25px) saturate(180%);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  max-width: 600px;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.card-modern {
  animation: cardFadeIn 0.6s ease both;
}
@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.card-modern h4 {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.card-modern p {
  color: #555;
  margin-bottom: 2rem;
}

/* Универсальный стиль кнопок */
.btn-lg {
  border-radius: 100px; /* круглые */
  font-weight: 350;
  letter-spacing: 0.2px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform .15s ease, box-shadow .3s ease;
  transition: all 0.3s ease;
}

.btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Неактивные кнопки */
.btn[disabled] {
  position: relative;
  overflow: visible !important;
  opacity: 0.8;
  filter: grayscale(0.2);
}

/* Маленький бейдж “OFF” */
.btn[disabled]::after {
  content: "Временно недоступен";
  position: absolute;
  top: -5px;
  right: -10px;
  background: #dc3545;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 350;
  letter-spacing: 0.3px;
  padding: 2px 5px;
  border-radius: 30px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Градиентные */
.btn-gradient {
  background: var(--accent);
  color: #fff !important;
  border: none;
  background-size: 200% 100%;
  background-position: left center;
  transition: background-position .3s ease, transform .15s ease, box-shadow .3s ease;
}
.btn-gradient:hover {
  background-position: right center;
  box-shadow: 0 0 16px rgba(111,66,193,.35);
}

/* Тёмные */
.btn-dark {
  background: #001F33;
  color: #fff !important;
  border: none;
}
.btn-dark:hover {
  background: #3295D1;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(0,0,0,0.25);
}

.btn-dark:hover {
  background: #3295D1;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(0,0,0,0.25);
}

/* Светлая кнопка */
.btn-light {
  background: rgba(245,245,245,0.85);
  color: #222;
  border: none;
}
.btn-light:hover {
  background: rgba(255,255,255,1);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* Серый */
.btn-secondary {
  background: rgba(235,235,235,0.9);
  color: #333 !important;
  border: none;
}
.btn-secondary:hover {
  background: rgba(245,245,245,1);
}

/* Контурная */
.btn-outline-modern {
  border: 1px solid #001F33;
  color: #001F33;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1.4rem;
}
.btn-outline-modern:hover {
  border: 1px solid #001F33;
  background: rgba(255,255,255,0.3);
  color: #001F33;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  padding: 0.4rem 1.4rem;
}

footer {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px) saturate(140%);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

footer a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.6;
}

footer .text-muted {
  opacity: 0.4;
}
