/* =============================================
   COPA ELITE - admin.css  (Base pou tout paj)
   ============================================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap");

:root {
  --primary:    #007bff;
  --secondary:  #6c757d;
  --bg:         #0f172a;
  --card-bg:    #1e293b;
  --text:       #f8fafc;
  --danger:     #ef4444;
  --success:    #10b981;
  --warning:    #f59e0b;
  --radius:     12px;
}

/* === BACKGROUND === */
body {
  font-family: "Inter", sans-serif;
  background-color: transparent;
  color: var(--text);
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("img/logo copa elite.jpeg") center/cover no-repeat;
  filter: blur(7px);
  transform: scale(1.05);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 38, 0.72);
  z-index: -1;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 660px;
}

/* === LOGO HEADER === */
.page-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 4px;
}

.page-header h1 {
  margin: 0;
}

.logo-round {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(0, 123, 255, 0.6);
}

/* === TIPOGRAFI === */
h1 {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

h2 {
  width: 100%;
  border-left: 4px solid var(--primary);
  padding-left: 15px;
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--text);
}

p {
  color: var(--secondary);
  margin-bottom: 20px;
}

/* === SEKSYON (CARDS) === */
section {
  background: var(--card-bg);
  padding: 25px;
  border-radius: var(--radius);
  width: 100%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

/* === FÒMILÈ === */
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #334155;
  background: var(--bg);
  color: white;
  border-radius: 8px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-family: "Inter", sans-serif;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

/* === BOUTON YO === */
button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  width: 100%;
  transition: transform 0.2s, background-color 0.3s;
  margin: 6px 0;
}

button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

/* Varyan koulè */
.btn-danger  { background-color: var(--danger);  }
.btn-danger:hover  { background-color: #dc2626; }

.btn-success { background-color: var(--success); }
.btn-success:hover { background-color: #059669; }

.btn-warning { background-color: var(--warning); }
.btn-warning:hover { background-color: #d97706; }

.btn-secondary { background-color: var(--secondary); }
.btn-secondary:hover { background-color: #5a6475; }

/* Itilite */
.btn-auto { width: auto; }
.btn-sm   { padding: 5px 12px; font-size: 0.82rem; width: auto; }

/* === LIS ITILIZATÈ (Admin) === */
.user-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #334155;
}

.user-list-item:last-child {
  border-bottom: none;
}

.efase-btn {
  background-color: var(--danger);
  width: auto;
  padding: 5px 15px;
  font-size: 0.8rem;
}

.efase-btn:hover { background-color: #dc2626; }

span.role {
  font-size: 0.75rem;
  background: #334155;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 10px;
}

/* === RESPONSIVE TELEFÒN === */
@media (max-width: 768px) {
  body  { padding: 8px; }
  h1    { font-size: 1.1rem; letter-spacing: 1px; }
  h2    { font-size: 1rem; }

  .container { max-width: 100%; }

  section { padding: 14px; }

  input, select, textarea {
    font-size: 16px; /* Anpeche zoom otomatik sou iOS */
    padding: 10px;
  }

  button { padding: 11px 14px; font-size: 0.9rem; }

  .user-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  table { font-size: 0.78rem; }
  th, td { padding: 6px 4px; }

  .btn-auto, .btn-sm { width: 100%; }
}
