/* assets/css/styles.css — Player Section */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

:root {
--primary-color: #0077cc;
--secondary-color: #f5f5f5;
--text-color: #333;
--border-radius: 10px;
}

body {
margin: 0;
padding: 0;
background-color: #fafafa;
color: var(--text-color);
display: flex;
height: 100vh;
overflow: hidden;
font-family: 'Google Sans', sans-serif;
}

.header {
display: flex;
align-items: center;
padding: 1rem 1.5rem;
background-color: white;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
margin-bottom: 5px;
}

h1 {
margin: 0;
font-size: 1.5rem;
}

.primary-btn {
background-color: var(--primary-color);
color: white;
border: none;
border-radius: var(--border-radius);
padding: 0.6rem 1.2rem;
cursor: pointer;
transition: background 0.2s ease;
font-family: 'Google Sans', sans-serif;
}

.primary-btn:hover {
background-color: #005fa3;
}

.secondary-btn {
background-color: #ddd;
color: #333;
border: none;
border-radius: var(--border-radius);
padding: 0.6rem 1.2rem;
cursor: pointer;
transition: background 0.2s ease;
}

.secondary-btn:hover {
background-color: #ccc;
}

section {
padding: 1.5rem;
}

h2 {
margin-bottom: 1rem;
}

.sessions-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1rem;
}

.session-card {
background-color: white;
border-radius: var(--border-radius);
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
padding: 1rem;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.session-card a {
color: var(--primary-color);
text-decoration: none;
margin-right: 0.5rem;
}

.session-card a:hover {
text-decoration: underline;
}

.session-date {
font-weight: 600;
margin-bottom: 0.5rem;
}

.session-images {
margin-bottom: 0.5rem;
}

.session-balance {
font-weight: 500;
color: #222;
}

/* Modal */
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.4);
display: flex;
justify-content: center;
align-items: center;
z-index: 10;
}

.modal.hidden {
display: none;
}

.modal-content {
background-color: white;
border-radius: var(--border-radius);
width: 90%;
max-width: 400px;
padding: 1.5rem;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.modal-content h3 {
margin-top: 0;
margin-bottom: 1rem;
}

.modal-content label {
display: block;
margin-top: 0.5rem;
font-weight: 500;
}

.modal-content input[type="text"],
.modal-content input[type="url"],
.modal-content input[type="date"],
.modal-content input[type="number"] {
width: 100%;
padding: 0.5rem;
border-radius: var(--border-radius);
border: 1px solid #ccc;
margin-top: 0.2rem;
}

.modal-actions {
display: flex;
justify-content: flex-end;
margin-top: 1rem;
gap: 0.5rem;
}

@media (max-width: 600px) {
.session-card {
font-size: 0.9rem;
}
.primary-btn, .secondary-btn {
padding: 0.5rem 0.9rem;
}
}




.content {
  flex: 1;
  padding: 20px;
  background: #f8fafc;
  overflow-y: auto;
}


.sidebar {
  width: 250px;
  background: #1e293b;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

.sidebar-header {
  padding: 0 20px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar ul { list-style: none; padding: 0; margin: 0; flex: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar li { margin: 10px 0; }
.sidebar a {
  color: #cbd5e1;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  border-left: 3px solid transparent;
}
.sidebar a.active {
  background: #334155;
  border-left: 3px solid #3b82f6;
  color: #fff;
}

.sidebar a.active i {
  color: #d4f63b;
}

.sidebar a:hover {
    background: #475569;
    border-left: 3px solid #f6703b;
    color: #fff;
}

.sidebar .submenu {
  padding-left: 30px;
  background-color: #334155;
}

.sidebar .submenu li {
  margin: 5px 0;
}

.sidebar .submenu a {
  padding: 8px 20px;
  font-size: 14px;
}

.sidebar .submenu a.active {
  background: #475569;
  border-left: 3px solid #10b981;
  color: #fff;
}

.menu-toggle {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 999;
}

@media (max-width: 992px) {
  .menu-toggle {
    display: inline-block;
  }

  nav.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh;
    z-index: 1000;
    transition: left 0.2s ease;
  }

  nav.sidebar.open {
    left: 0;
  }

  .content {
    flex: 1;
    width: 100%;
  }
}


.sessions-table {
  width: 100%;
  border-collapse: collapse;
}

.sessions-table th, .sessions-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.sessions-table th {
  background-color: #f4f4f4;
  font-weight: 600;
}

.sessions-table tr:hover {
  background-color: #f9f9f9;
}

.positive {
  color: green;
}

.negative {
  color: red;
}

select, input { padding: 6px 10px; border-radius: 6px; border: 1px solid #ccc; font-size: 0.95em}


a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  text-decoration: none;
  color: var(--primary-color);
}

.user i {
  color: #035de4;
}

 .container {
    max-width: 80%;
    margin: 20px auto;
    margin-bottom: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  }

  .nick-badge {
    display: flex;
    align-items: center;
    background-color: #e0e7ff;
    color: #3730a3;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 1em;
    margin-left: 6px;
    font-family: monospace;
  }

  .nick-badge.inactive {
    background-color: #f3f4f6;
    color: #9ca3af;
  }

  .nick-badge img {
    margin-right: 6px;
  }

  .nicks-list { display:flex; flex-wrap: wrap; gap:6px; margin-top:6px; }

  .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot.online { background: #079b44; }
.status-dot.offline { background: #bdc3c7; }

@media (max-width: 768px) {
  .container {
    padding: 5px;
    margin: 0;
    margin-bottom: 10px;
    max-width: 100%;
  }

  .content {
    padding: 5px;
  }

  .header {
    padding-left: 0;
  }
}