/* Styles for public auth pages and public fixtures in Bayes Fevochi */

html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  background-color: #F8FAFC;
  color: #0F172A;
  -webkit-font-smoothing: antialiased;
}

.login-content {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: radial-gradient(circle at 10% 20%, rgba(30, 58, 138, 0.03) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(225, 29, 72, 0.02) 0%, transparent 40%),
              #F8FAFC;
}

.login-content .content-wrapper {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.login-full-center {
  min-height: 60vh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.login-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  padding: 40px 36px;
}

.form-container {
  max-width: 100%;
  margin: 0 auto;
}

.form-container h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem !important;
}

.form-container .form-control {
  height: 46px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.925rem;
  padding: 10px 14px;
  transition: all 0.18s ease;
  background-color: #FFFFFF;
}

.form-container .form-control:focus {
  border-color: #1E3A8A;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
  outline: none;
}

.form-container a {
  color: #1E3A8A;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.form-container a:hover {
  color: #172554;
  text-decoration: underline;
}

.form-container .btn-primary.submit {
  height: 46px;
  background-color: #1E3A8A;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25);
  transition: all 0.18s ease;
}

.form-container .btn-primary.submit:hover {
  background-color: #172554;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.35);
  transform: translateY(-1px);
}

.form-container-wide {
  max-width: 350px;
  margin: 0 auto;
}

.form-container-extra-wide {
  max-width: 400px;
  margin: 0 auto;
}

.logo-section img,
.login-logo {
  max-height: 95px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 24px;
}

.back-to-login {
  margin-top: 15px;
}

.back-to-login a {
  color: #6c757d;
  text-decoration: none;
  font-size: 14px;
}

.back-to-login a:hover {
  color: #007bff;
  text-decoration: underline;
}

.success-message {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.password-help {
  text-align: left;
  font-size: 13px;
  color: #6c757d;
  margin: 10px 0;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.password-req-list {
  margin: 5px 0 0 20px;
  padding: 0;
}

.password-req-sublist {
  margin: 5px 0 0 20px;
}

.verification-message {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  border-radius: 8px;
  margin-bottom: 20px;
}

.verification-icon {
  font-size: 48px;
  color: #f39c12;
  margin-bottom: 15px;
}

.email-info {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  margin: 15px 0;
  border-left: 4px solid #007bff;
}

.resend-btn {
  position: relative;
  overflow: hidden;
}

.resend-btn:disabled {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  cursor: not-allowed;
}

.countdown {
  font-weight: bold;
  color: #dc3545;
}

#btn-countdown {
  display: none;
}

.login-instruction-text {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 20px;
}

.login-dismiss-icon {
  font-size: 1.5em;
  float: right;
  cursor: pointer;
}

.login-footer {
  text-align: center;
  color: #7c8a96;
  margin-top: 20px;
}

.login-footer-support {
  font-size: 13px;
  margin-top: 12px;
}

.login-footer-schedule,
.login-footer-mail {
  font-size: 13px;
  margin-top: 2px;
}

/* Public competitions and fixture styling */
.competitions-sidebar {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  padding: 28px 24px;
}

.competitions-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
  text-align: left;
  letter-spacing: -0.015em;
}

.competition-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.competition-card.is-publica {
  cursor: pointer;
}

.competition-card-link {
  display: flex;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.competition-card-link:hover {
  color: #1E3A8A;
}

.liname-cal-btn,
.association-cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  color: #1E3A8A;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.775rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
  line-height: 1;
}

.liname-cal-btn:hover,
.association-cal-btn:hover {
  background: #1E3A8A;
  color: #FFFFFF;
  border-color: #1E3A8A;
  transform: translateY(-1px);
}

.liname-cal-btn:active,
.association-cal-btn:active {
  transform: scale(0.97);
}

.liname-cal-btn i,
.association-cal-btn i {
  font-size: 15px;
  line-height: 1;
}

.competition-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 0.875rem;
  color: #1E293B;
  font-weight: 600;
  line-height: 1.4;
}

.competition-card:hover {
  border-color: #1E3A8A;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
  transform: translateY(-2px);
  background-color: #FAFAFA;
}

.competition-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.empty-message {
  text-align: center;
  color: #999;
  padding: 20px;
  font-style: italic;
}

@media (max-width: 768px) {
  .login-content {
    min-height: auto;
    padding: 20px 10px;
  }
  .competitions-sidebar {
    margin-top: 30px;
  }
}

.cal-filter-btn {
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.15);
  background: transparent;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  color: #5a7a8c;
  transition: all .15s;
}

.cal-filter-btn.active {
  background: #185FA5;
  color: #E6F1FB;
  border-color: #185FA5;
}

.cal-day {
  border-radius: 8px;
  min-height: 90px;        
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  overflow: hidden;
}

.cal-day.cal-day-empty {   
  border-color: transparent;
  background: transparent;
}

.cal-day.cal-day-today {  
  border-color: #185FA5;
}

.cal-day-num {
  font-size: 14px;          
  font-weight: 500;
  color: #1e293b;
  line-height: 1;
  margin-bottom: 2px;
}

.cal-day.cal-day-today .cal-day-num {
  color: #185FA5;
}

.cal-event-pill {
  border-radius: 4px;
  padding: 3px 6px;         
  font-size: 10px;          
  font-weight: 500;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cal-event-cats {
  font-size: 9px;           
  opacity: .85;
}

.ph-clasificatorio, .cal-ph-clasificatorio { background: #DBEAFE; color: #1e40af; }
.ph-regular1, .cal-ph-regular1             { background: #D1FAE5; color: #065f46; }
.ph-regular2, .cal-ph-regular2             { background: #FEF9C3; color: #854d0e; }
.ph-regular3, .cal-ph-regular3             { background: #FDE8D0; color: #9a3412; }
.ph-final, .cal-ph-final                   { background: #FCE7F3; color: #831843; }

.cal-ph-clasificatorio.leg-dot,
.cal-ph-regular1.leg-dot,
.cal-ph-regular2.leg-dot,
.cal-ph-regular3.leg-dot,
.cal-ph-final.leg-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.grouptable {
  padding: 0px;
  border: 1px solid black;
  border-collapse: collapse;
}

.grouptd {
  padding: 0px;
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
}

.verybigmodal {
  max-width: 85%;
}

.matchdetail {
  color: black;
  transition: background-color 0.1s;
}

.toggle-icon {
  font-size: 1.5rem;
  color: #ffffff;
  vertical-align: middle;
  transition: transform 0.3s ease, color 0.3s ease;
}

.toggle-header:hover .toggle-icon {
  color: #ffcc00;
}

.fase2-section {
  transition: opacity 0.3s ease;
}

.fase2-section.hidden {
  display: none !important;
}

.matchdetail:nth-child(even) {
  background-color: #ebeaea;
}

.matchdetail:nth-child(odd) {
  background-color: #ffffff;
}

.matchdetail:hover {
  background-color: rgb(153, 153, 153);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  background-color: transparent;
  width: 2rem;
  height: 2rem;
}

#modal-grupos.cruce-view table thead th:not(:first-child),
#modal-grupos.cruce-view table tbody td:not(:first-child) {
  display: none !important;
}

#modal-grupos.cruce-view table thead th:first-child,
#modal-grupos.cruce-view table tbody td:first-child {
  width: 100%;
}

.club-name-wrap {
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-align: center;
}

.nav-pills .nav-link .venue-name-pill {
  color: #6c757d;
}

.nav-pills .nav-link.active .venue-name-pill {
  color: #ffffff;
}

/* LINAME Calendar Modal classes */
#liname-cal-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1055;
  background: rgba(0, 0, 0, 0.45);
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.cal-modal-box {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  overflow: hidden;
}

.cal-modal-header {
  background: #185FA5;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#cal-modal-title {
  color: #E6F1FB;
  font-size: 16px;
  font-weight: 500;
}

#cal-modal-subtitle {
  color: #85B7EB;
  font-size: 12px;
}

#cal-modal-close {
  background: transparent;
  border: none;
  color: #B5D4F4;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 8px;
}

.cal-filters-bar {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8f9fa;
}

.cal-filter-sep {
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, 0.12);
}

#cal-cat-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cal-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#cal-prev, #cal-next {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 6px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

#cal-month-label {
  font-size: 18px;
  font-weight: 500;
}

.cal-grid-wrapper {
  padding: 16px 20px;
}

#cal-dow-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 6px;
}

#cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

#cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 20px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Match details modal classes */
.header-toggle-blue {
  background: #4980af;
  color: #fff;
  cursor: pointer;
}

.select-w-180 {
  width: 180px;
}

.select-w-180-min {
  width: 180px;
  min-width: 180px;
}

#liname-tabs-container {
  display: none;
}

.card.fase2-section {
  display: none;
}

.match-detail-header-blue {
  background: #4980af;
}

.match-detail-flex-col {
  flex: 1;
}

.match-detail-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: none;
  border-radius: 50%;
  border: 0.5px solid var(--bs-border-color);
}

.match-detail-avatar-eq1 {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e6f1fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: #185fa5;
  border: 0.5px solid #b5d4f4;
}

.match-detail-avatar-eq2 {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e1f5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: #0f6e56;
  border: 0.5px solid #9fe1cb;
}

.match-detail-team-name {
  font-size: 13px;
}

.match-detail-center-vs {
  min-width: 70px;
}

.match-detail-vs-label {
  font-size: 11px;
}

.match-detail-marcador {
  background: #4980af;
  color: #fff;
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
}

.match-detail-sets-label {
  font-size: 10px;
}

.match-detail-status-pill {
  background: #eaf3de;
  color: #3b6d11;
  font-size: 11px;
  padding: 3px 12px;
  border-radius: 20px;
  border: 0.5px solid #c0dd97;
}

.match-detail-info-badge {
  background: var(--bs-secondary-bg);
  border: 0.5px solid var(--bs-border-color);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.table-match-sets {
  font-size: 0.85rem;
}

.table-match-sets-header {
  background: var(--bs-secondary-bg);
}

.table-match-sets-th {
  width: 15%;
  color: var(--bs-secondary-color);
}

#fila_set_4,
#fila_set_5 {
  display: none;
}

.table-match-sets-total-tr {
  background: #4980af;
}

.table-match-sets-total-th {
  color: #fff;
}

.podio-header-gold {
  background: linear-gradient(135deg, #f6c23e 0%, #e0a800 100%);
}

.podio-header-icon {
  font-size: 1.25rem;
}

#podioReadonlyContent {
  display: none;
}

.podio-th-pos {
  width: 12%;
}

.podio-th-club {
  width: 48%;
}
