
:root{
  --accent1: #7b4cff;
  --accent2: #c47bff;
  --muted: #6c757d;
}
.my-s{min-height:100vh;background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
a:hover{
  color: #c47bff;
}
.brand a{color: #fff;}
.ps-header { backdrop-filter: blur(6px); background: linear-gradient(90deg, rgba(11,6,32,0.5), rgba(27,18,51,0.1)); border-bottom:1px solid rgba(255,255,255,0.03);}
.ps-header .brand { font-weight:700; font-size:1.25rem; }
.ps-main-card { border-radius:0.75rem; box-shadow:0 8px 24px rgba(15,10,30,0.05); padding:8rem 2rem; background: linear-gradient(180deg, rgba(255,255,255,.7),rgba(255,255,255,1), rgba(255,255,255,0.7)); }
.btn-ps-primary { background: linear-gradient(90deg,var(--accent1),var(--accent2)); border: none; color: #fff; }
.btn-ps-ghost { background: transparent; color: var(--muted); border:1px solid rgba(0,0,0,0.05); }
.ps-lead { color: var(--muted); }
.ps-fade-in { animation: psFadeIn 0.45s ease both; }
@keyframes psFadeIn { from { opacity:0; transform: translateY(8px);} to {opacity:1; transform:none;} }
.ps-file-row { display:flex; gap:0.75rem; flex-wrap:wrap; }
.form-control.ps-input { padding: .75rem; border-radius: .5rem; }
@media (max-width: 575.98px){
  .ps-main-card { padding:1rem; }
  .ps-header .brand { font-size:1rem; }
}
img{
  max-width: 100%;
}
.dataTables_wrapper .dataTables_filter input { display: inline-block; margin-left: .5rem; }
.btn{
  padding:12px 18px;
  border-radius:12px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  border:none;
  font-weight:600;
}
.btn-primary{
  background: linear-gradient(90deg,var(--accent1),var(--accent2));
  color:white;
  box-shadow: 0 8px 20px rgba(124,78,255,0.2);
}
.btn-ghost{
  background:transparent;
  color:var(--muted);
  border:1px solid rgba(255,255,255,0.04);
  padding:10px 16px;
}
footer, footer a{color: #fff;}
.file-upload-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  border: 2px dashed #ccc;
  border-radius: 12px;
  background-color: #fafafa;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;

}

.file-upload-label:hover {
  border-color: #007bff;
  background-color: #f0f7ff;
}

.file-upload-label.drag-over {
  border-color: #28a745;
  background-color: #e8f5e9;
}



.file-upload-text {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  margin-bottom: 6px;
}

.file-upload-hint {
  font-size: 12px;
  color: #666;
}

.fileinput {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.file-upload-feedback {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  background-color: #e9f7ef;
  color: #28a745;
  font-size: 14px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.file-upload-feedback.error {
  background-color: #f8d7da;
  color: #721c24;
}

/* Базовый размер шрифта 
html {
  font-size: 16px;
}


@media (min-width: 1400px) {
  html {
    font-size: 18px;
  }
}


@media (min-width: 1800px) {
  html {
    font-size: 20px;
  }
}

@media (min-width: 1400px) {
  body {
    font-size: 2rem;
  }
}

/* На очень больших (от 1800px) ещё чуть больше 
@media (min-width: 1800px) {
  body {
    font-size: 3rem;
  }
}
*/
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


