@charset "UTF-8";
/* === Reset / Podstawy === */
body {
  font-family: Arial, sans-serif;
  background: #f8f9fa url(/assets/logo.webp) center center/25% no-repeat;
  background-blend-mode: soft-light;
  color: #333;
  margin: 30px;
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  padding-left: 320px;
  box-sizing: border-box;
  margin: 0;
  padding-right: 40px;
  padding-top: 20px;
}
body.login_body {
  padding-left: 0;
}

h1,
h2,
h3 {
  color: #222;
}

a {
  color: #007BFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

input,
input[type=text],
input[type=password],
input[type=number],
input[type=date],
input[type=datetime-local],
select,
textarea {
  width: 100%;
  padding: 8px;
  margin-top: 6px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

textarea {
  min-height: 60px;
}

input[type=checkbox],
input[type=radio] {
  width: auto;
}

button,
input[type=submit] {
  background-color: #007BFF;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover,
input[type=submit]:hover {
  background-color: #0056b3;
}

.button-green {
  display: inline-block;
  background: #28a745;
  color: #fff;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* === Logowanie === */
.login-box {
  max-width: 400px;
  margin: 100px auto;
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.login-box img {
  display: block;
  margin: 0 auto 20px;
  width: 100px;
  height: auto;
}
.login-box h1 {
  text-align: center;
  margin-bottom: 20px;
}
.login-box label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}
.login-box input[type=text],
.login-box input[type=password] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.login-box button {
  width: 100%;
  padding: 12px;
  background-color: #28a745;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.login-box button:hover {
  background-color: #218838;
}
.login-box .error {
  color: #dc3545;
  text-align: center;
  margin-bottom: 15px;
}

/* === Formularze === */
form {
  background: #fff;
  padding: 15px 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 30px;
  max-width: 500px;
}
form.no_style {
  background: none;
  padding: 0;
  border: none;
  border-radius: 0;
  margin-bottom: 30px;
  max-width: unset;
}

/* === typowanie meczy === */
.matches_type_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.matches_type_list .single_match {
  background: #fff;
  padding: 15px 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 30px;
  max-width: 300px;
  text-align: center;
}
.matches_type_list .single_match .types_row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.matches_type_list .single_match .types_row input {
  margin: 0;
}
.matches_type_list .single_match .match_date {
  color: #ff6a00;
}

/* === Tabele === */
table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 15px;
  background: #fff;
  border: 1px solid #ccc;
}
table th,
table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}
table tr:nth-child(even) {
  background-color: #f2f2f2;
}
table tr:hover {
  background-color: #e9f1ff;
}
table tr[style*="font-weight: bold"] {
  background-color: #dbefff;
}
table.long_table tr.head_row {
  position: sticky;
  top: 0;
}
table.long_table tr.head_row th {
  background: #fff;
}

.table-wrapper {
  overflow-x: auto;
  max-width: 100%;
}
.table-wrapper .sticky-table {
  border-collapse: collapse;
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
}
.table-wrapper .sticky-table th,
.table-wrapper .sticky-table td {
  background: #fff;
  white-space: nowrap;
}
.table-wrapper .sticky-table .sticky-col {
  position: sticky;
  background: #e1e1e1;
  z-index: 2;
}
.table-wrapper .sticky-table .sticky-col.left {
  left: 0;
}
.table-wrapper .sticky-table .sticky-col.right {
  right: 0;
}

/* === Komunikaty === */
.success {
  color: #155724;
  background-color: #d4edda;
  padding: 10px;
  border-left: 5px solid #28a745;
  margin-bottom: 20px;
}

.error {
  color: #721c24;
  background-color: #f8d7da;
  padding: 10px;
  border-left: 5px solid #dc3545;
  margin-bottom: 20px;
}

/* === Lista linków === */
ul {
  list-style: none;
  padding: 0;
}
ul li {
  margin-bottom: 8px;
}

/* === Pasek nawigacyjny === */
.menu-toggle {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  display: none;
  color: #000;
  width: 100%;
  text-align: right;
}

.navbar {
  background-color: #343a40;
  color: white;
  padding: 12px 20px;
  margin: 0;
  position: fixed;
  top: 0;
  z-index: 1000;
  left: 0;
  width: 250px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: auto;
  box-sizing: border-box;
}
.navbar #menuClose {
  display: none;
}
.navbar.visible #menuClose {
  display: inline-block;
  color: #fff;
  padding: 15px;
  font-size: 30px;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 45px;
  height: 45px;
  background: none;
}
.navbar .logo {
  text-align: center;
}
.navbar .logo img {
  height: 140px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 20px;
}
.navbar .nav-links {
  display: flex;
  flex-direction: column;
}
.navbar .nav-links .expand_title {
  cursor: pointer;
}
.navbar .nav-links .menu_list {
  display: flex;
  flex-direction: column;
}
.navbar .nav-links a {
  color: #f8f9fa;
  margin-left: 15px;
  font-weight: bold;
}
.navbar .nav-links a:hover {
  text-decoration: underline;
}
.navbar .nav-links a span.open_count {
  display: inline-flex;
  background: #f00;
  width: 25px;
  height: 25px;
  text-align: center;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
}

/* === Dasboard === */
.dasboard_top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.frame_box {
  border: 2px solid #343a40;
  border-radius: 5px;
}
.frame_box .title {
  padding: 10px 15px;
  background: #002e5f;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.frame_box .content {
  padding: 15px;
}

/* === Kafelki szybkich akcji === */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.quick-actions a {
  display: block;
  background-color: #007BFF;
  color: white;
  text-align: center;
  padding: 20px 10px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s;
}
.quick-actions a:hover {
  background-color: #0056b3;
}

/* FullCalendar kolorowanie */
.fc-event.green {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}

.fc-event.yellow {
  background-color: #ffc107 !important;
  border-color: #ffc107 !important;
  color: #212529 !important;
}

.fc-event.red {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
}

.fc-event.gray {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
}

.fc-daygrid-event {
  color: #fff;
}

/* === Mobile === */
@media (max-width: 768px) {
  body {
    padding: 15px;
  }
  body .menu-toggle {
    display: inline-block;
  }
  body .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100vw;
    transition: 0.3s all;
  }
  body .navbar.visible {
    left: 0;
  }
  body .dasboard_top {
    grid-template-columns: 1fr;
  }
  body .matches_type_list {
    grid-template-columns: 1fr 1fr !important;
    -moz-column-gap: 10px;
         column-gap: 10px;
  }
  body table {
    font-size: 12px;
  }
  body .table-wrapper .sticky-table {
    font-size: 12px;
  }
  body #calendar {
    font-size: 12px;
  }
}/*# sourceMappingURL=style.css.map */