body{
	
	background: linear-gradient(135deg, #3CAC3B 0%, #2A398D 50%, #E61D25 100%) !important;
}

.modal-header{
	background-color: #2A398D !important;
}

#tables-and-scores{
    max-width: 880px;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    margin: 24px 0px;
    padding: 10px 10px 20px 10px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
	box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.3);
}

.user-score{
    color: var(--wp--preset--color--white);
    display: flex;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    min-width: 155px;
}

.champ-container{
    color: var(--wp--preset--color--white);
    height: 55px;
    min-width: 70px;
    max-width: 70px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.flag-champ{
    /*border: solid 1px var(--wp--preset--color--white);*/
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 
    border-radius: 5px;
}

.match-container{
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.3);
    color: var(--wp--preset--color--black);
    padding: 10px;
    min-width: 200px;
    /*max-width: 900px;*/
}

.group-container{
    padding: 10px;
    min-width: 200px;
    /*max-width: 820px;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.next-matchs-container{
    color: var(--wp--preset--color--black);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
	margin-bottom: 10px;
}

.next-matchs{
    display: flex;
    flex-direction: column;
    align-items: center;
    /*box-shadow: 0 4px 8px 0 rgb(0 0 0 / 50%), 0 6px 20px 0 rgb(0 0 0 / 19%);*/
    /*margin: 10px 35px;*/
    padding: 0 5px 5px 5px;
    border-radius: 5px;
    cursur: 
}

.group, .next-match{
    background-color: #f3f3f3;
    padding: 5px;
    margin: 5px;
    border-radius: 8px;
    /*max-width: 200px;*/
    width: 190px;
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.next-match{
    /*width: 190px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}



.countries{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.group-name{
    margin: 0px 0 5px 0;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.next-match-date{
    width: 90px;
    margin: 0px 5px 0px 5px;
    text-align: center;
    font-size: 10px;
    /*background-color: #f3f3f3;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}

.all-next-match{
    display: flex;
}

.country-next{
    display: flex;
    padding-top: 5px;
}

.clickable-labels{
    cursor: pointer;
}


.country{
    display: flex;
    flex-direction: column;
    padding:0 2px 0 2px;
    align-items: center;
}

.flag{
    border: solid 1px #d3d3d3;
    border-radius: 20px;
    height: 26px;
}

.next-match-flag{
    height: 16px;
    width: 22px;
}

.countries-next{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    justify-content: space-between;
}

.country-name, .team-score{
    display:block;
    text-align: center;
    font-size: 14px;
    margin: 2px 0 0 0;
	min-width: 45px;
    max-width: 60px;
}

.country-name-next{
    display:block;
    text-align: center;
    font-size: 12px;
    margin: 2px 3px 0 0;
    max-width: 60px;
}

.final-matchs{
    padding: 0 0 5px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    
}

.final-matchs-item{
    background-color: #f3f3f3;
    border-radius: 8px;
    padding: 5px;
    margin: 5px 15px 5px 0;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    width: 820px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/*@media only screen and (max-width: 835px) {
  .final-matchs-item {
    width: 565px;
  }
}*/

@media only screen and (max-width: 960px) {
  .final-matchs-item {
    width: 400px;
  }
}

@media only screen and (max-width: 529px) {
  .final-matchs-item {
    width: 190px;
  }
}

/*Modal Popup*/
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  
}

/* Modal Content */
.modal-content, .cham-select-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  max-width: 800px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    justify-content: end;
    align-items: center;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 2px;
    /*background-color: #5cb85c;*/
    background-color: #d75d8d;
    color: white;
}
#popup-header, #cham-select-popup-header, #show-points-popup-header{
    font-size: 18px;
    padding: 0 10px 0 0;
    display: flex;
    justify-content: end;
    align-items: center;
}

#cham-select-counter{
    font-size: 14px;
    padding: 0 10px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-body, #cham-select-body, #show-points-body {
    padding: 2px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #c3c4c7;
    overflow-y: scroll;
    max-height: 450px;
    
}

.message{
  color: var(--wp--preset--color--black);
}

.modal-footer {
  padding: 2px;
  background-color: #5cb85c;
  color: white;
}

/*Modal Content*/
.match-container{
    
}

.predict-container{
    color: var(--wp--preset--color--black);
    display: flex;
    justify-content: center;
}

.match{
    background-color: #f3f3f3;
    padding: 5px;
    margin: 5px;
    border-radius: 8px;
    /*max-width: 200px;*/
    width: 190px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.match-date, .match-namew{
    padding: 0 0 5px 0;
    font-size: 12px;
}

.match-counter{
    font-size: 12px;
    direction: rtl;
}

.match-form{
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.submit-predict {
    height: max-content;
}

.select-cham-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.cntr{
    text-align: center;
}

.txtblack{
    color: black;
}

.pad5{
    padding: 5px;
}

.stage-1{
    background-color: #ffeca2;
}

.stage-2{
    background-color: #f4f4f4;
}

.stage-3{
    background-color: #ddbfad;
}

.stage-0{
    background-color: #fff;
}

.pad-more{
    margin: 5px;
    padding: 5px;
    width: 60px;
}

.my-champ{
    background-color: #fffe2f96;
}

.expired{
    cursor: not-allowed;
    opacity: 0.5;
}

div .link {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    /* color: blueviolet; */
    cursor: pointer;
    display: inline;
    padding: 5px 15px;
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* Help Modal Styles */
.help-link {
    margin-right: 15px;
    cursor: pointer;
}

.help-modal-content {
    max-width: 700px;
    width: 90%;
	color: black;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 15px;
}

.help-header {
    background: linear-gradient(135deg, #3CAC3B 0%, #2A398D 50%, #E61D25 100%);
    color: white;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}

.help-body {
    padding: 20px;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
}

.help-section {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.help-section h3 {
    color: #2A398D;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.help-section p {
    margin: 8px 0;
    line-height: 1.5;
    color: #333;
}

.points-table {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 10px;
}

.points-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
}

.points-row:last-child {
    border-bottom: none;
}

.points-condition {
    color: #333;
    font-weight: 500;
}

.points-value {
    font-weight: bold;
    color: #E61D25;
    font-size: 1.1em;
}

.example-box {
    background: #f9f9f9;
    border-right: 4px solid #3CAC3B;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
}

.example-score {
    font-family: monospace;
    font-weight: bold;
    color: #2A398D;
}

.score-20 {
    color: #3CAC3B;
    font-size: 1.1em;
}

.score-15 {
    color: #2A398D;
    font-size: 1.1em;
}

.score-10 {
    color: #E61D25;
    font-size: 1.1em;
}

.score-0 {
    color: #999;
    font-size: 1.1em;
}

.help-footer {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #3CAC3B 0%, #2A398D 50%, #E61D25 100%);
    color: white;
    border-radius: 10px;
    margin-top: 15px;
}

.help-footer .small-note {
    font-size: 0.8em;
    margin-top: 5px;
    opacity: 0.9;
}

.examples h3 {
    color: #E61D25;
}