.calendar {
  background-color: #333333;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px #000;
  font-weight: bold;
}

.calendar header {
  z-index: 8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar header h2 {
  margin: 0 10px;
  flex-grow: 1;
  text-align: center;
}

.calendar header a {
  background-color: #636363;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.3s;
}

.calendar header a:hover {
  background-color: #4a4a4a;
}

.calendar .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar .day,
.calendar .weekday {
  background-color: #636363;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 4px;
}

.calendar .weekday {
  font-weight: bold;
  background-color: #444;
}

.calendar .day a {
  color: #fff;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  line-height: 30px;
  text-align: center;
}

.calendar .day a:hover {
  text-decoration: none;
}

.calendar .today {
  background-color: #00b894;
}

.calendar .selected {
  background-color: #ff4d4d !important;
}

.news-post {
  background-color: #333333;
  border-left: 6px solid #636363;
  border-radius: 10px;
  padding: 20px;
  margin: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.news-post h2 {
  color: #ffffff;
  margin-top: 0;
}

.news-post .meta {
  font-size: 14px;
  color: #aaaaaa;
  margin-bottom: 10px;
}

.news-post p {
  line-height: 1.6;
  color: #dddddd;
}

.news-post a.read-more {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 14px;
  background-color: #636363;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.news-post a.read-more:hover {
  background-color: #505050;
}

.image-post {
  background-color: #333333;
  border-left: 6px solid #636363;
  border-radius: 10px;
  padding: 20px;
  margin: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.image-post h2 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 10px;
}

.image-post .meta {
  font-size: 14px;
  color: #aaaaaa;
  margin-bottom: 15px;
}

.thumbnails {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.thumbnails img {
  width: 32%;
  cursor: pointer;
  border-radius: 6px;
  border: 2px solid #636363;
  transition: transform 0.3s;
}

.thumbnails img:hover {
  transform: scale(1.03);
}

.image-post p {
  line-height: 1.6;
  color: #dddddd;
}

.image-post a.read-more {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 14px;
  background-color: #636363;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.image-post a.read-more:hover {
  background-color: #505050;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #333333;
  padding: 10px;
  border-radius: 10px;
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 6px;
  border: 2px solid #636363;
}

.modal .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

.banner-container {
  max-height: 600px;
  overflow: hidden;
  position: relative;
  border: 5px solid #636363;
  border-radius: 12px;
  background-color: #333333;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.total-container {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  color: #fff;
}

.filtro {
  width: 100%;
  padding: 6px;
  margin-bottom: 8px;
  border: none;
  border-radius: 4px;
}


.container2 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  align-items: center;
}

.container2>div {
  width: 100%;
  max-width: 400px;
}

.label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.lista {
  list-style: none;
  padding: 0;
  background-color: #636363;
  border-radius: 5px;
  max-height: 270px;
  /* altura para ~6 itens (45px cada) */
  overflow-y: auto;
}

.item {
  padding: 10px;
  border-bottom: 1px solid #444;
  cursor: pointer;
}

.item:hover {
  background-color: #4a4a4a;
}


.btn-container2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.input-file-custom {
  width: 150px;
  opacity: 1;
  /* garante visibilidade */
  color: transparent;
  /* oculta nome original, se desejar */
  position: relative;
  z-index: 2;
}

.filename {
  display: block;
  margin-top: 10px;
  color: #00ffcc;
  font-weight: bold;
  padding-left: 10px;
}


.btn2 {
  padding: 10px 20px;
  background-color: #636363;
  color: white;
  border: none;
  cursor: pointer;
}

.btn2:hover {
  background-color: #4a4a4a;
}

.scrollable-div {
  max-height: 600px;
  overflow-y: auto;
  /* white-space: nowrap; */
}

.scrollable-div-active {
  max-height: 1500px;
  overflow-y: auto;
  /* white-space: nowrap; */
}

.next-matches-div {
  height: 35px;
  display: left;
  /* align-items: center; */
  /* justify-content: center; */
  font-size: 16px;
  line-height: 15px;
}

.groupdata img {
  width: 1150px;
  height: auto;
  /* mantém proporção */
}

.text-success {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}

.text-info {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important;
}

.text-warning {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important;
}

.text-danger {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}

.text-light {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
}

.text-dark {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
}

.text-black {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-black-rgb), var(--bs-text-opacity)) !important;
}

.text-white {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
}

.progressWrapper {
  width: 100%;
  background: #ddd;
  height: 20px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.progressFill {
  height: 100%;
  width: 0%;
  background: #4caf50;
}

.progressText {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  color: black;
}