/* CSS for IICA Tabel Soccer Registeration */
body{
    background-image: url('image/image_1754411107128.jpeg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
.Header{
    text-align: center;
    width: auto;
    height: 65px;
    border-radius: 20px;
    color: antiquewhite;
    font-size: 20px;
    animation: MoveHeader 5s ease-in-out infinite;
    font-family: 'yekan';
}
/*------- فرم دهی هدر و فوتر ------*/
.iicalogo{
    margin: 0 auto;
    display: block;
    height: max-content;
    width: max-content; 
}
.iicafooter{
    font-family: 'yekan';
    font-size: 12px;
    padding:10px auto;
    margin:0px auto;
    color: rgb(rgb(80, 104, 215), green, blue);
    direction: rtl;
    text-align:center;
    display: block;
    color: white;
}
/*------- فرم دهی هدر و فوتر ------*/
.RegisterForm{
    text-align: center;
    font-family: 'yekan';
    margin:3px auto;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(13, 47, 213, 0.507);
    font-size: 1.8rem;;
    
}
/* .regulation {
  font-family: 'Yekan';
  color: rgb(0, 0, 0);
  font-size: 1rem;
  text-decoration: none;
  display: block;
  text-align: center;
  background-color: rgb(255, 255, 255);
  border-radius: 5px;
  max-width: max-content;
  margin: 0 auto; /* این خط باعث وسط‌چین شدن می‌شود */
  /* padding: 0.5rem 1rem;
  animation: blink 4s infinite;
} */

.regulation {
  font-family: 'Yekan', sans-serif;
  font-size: 1rem;
  color: white;
  background-color: #ff0000;
  text-decoration: none;
  padding: 0.6rem 2rem;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
  margin: 0rem auto;
  box-shadow: 0 0 10px rgba(241, 89, 72, 0.5);
  animation: fadeInBounce 1.5s ease-out;
  transition: transform 0.3s ease;
}

.regulation:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(4, 245, 20, 0.7);
  background-color: #04ff00;
}

@keyframes fadeInBounce {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  60% {
    opacity: 1;
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);}
  }


#myForm{
    padding: 20px;
    border: 1px solid black;
    border-radius: 10px;
    width: max-content;
    margin: 15px auto 0px auto;
    direction: rtl;
    background-color: rgba(77, 77, 165, 0.527);
    font-family: 'yekan';
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.37);
}
#Container{
    gap: 90px;
    display: flex;
    flex-wrap: wrap;
}
.Column{
    display: flex;
    flex-direction: column;
    flex: 1;
}
.Column2{
    margin: 5px auto;
    align-items: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.Label , .Label1{
    font-size: 18px;
    font-weight: bold;
    margin: 7px 0px 5px 0px;
    font-family: 'yekan';
    color:#ddd;
}
.Input{
    border: none;
    border-radius: 10px;
    padding: 7px;
    font-size: 18px;
    text-align: center;
    width: 300px;
    transition: all 0.5s ease-out;
    font-family: 'yekan';
    color: #000000;
}
#tbllogin{
    border-spacing: 0.5rem;
}
.Input::placeholder{
    font-size: 1rem;
    color: rgb(126, 125, 125);
}
.title{
    font-family: 'yekan';
    font-size: 26px;
    color: antiquewhite;
    box-shadow: #285096;
}
.ball{
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-left: 5px;
}
#count{
    text-align: center;
    margin-bottom: 0px;
    margin-top: 23px;
}
#RemainingNum{
    font-family: 'yekan';
    font-size: 22px;
    color: white;
    animation: MoveHeader 5s ease-in-out infinite;

}
@keyframes ChangeSize{
    0%{transform: translateY(-5px);}
    50%{transform: translateY(5px);}
    100%{transform: translateY(-5px);}
}
#spn{
    font-size: x-large;
    font-weight: bolder;
    color: rgb(255, 0, 0);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.5);
    padding: 1px 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
}
.Input:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.37);
}
#btn_Box{
    width: max-content;
    margin: 25px auto 5px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.MatchTitle{
    width: max-content;
    color: #ddd;
    text-align: center;
    font-size: 30px;
    font-family: 'yekan';
  
    /* اضافه‌شده برای وسط‌چین کردن کل عنصر */
    margin: 25px auto; /* بالا و پایین 25px، چپ و راست auto */
    display: block;
  
}
.btn{
    padding: 7px;
    width: 150px;
    height: max-content;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.5s ease-in-out;
    background: #031535;
    font-family: 'yekan';
    color: white;
}
.btn:hover{
    transform: scale(1.05);
    background-color: #0070FA;
    box-shadow: 0px 4px 10px #285096;
}
#preview{
    border-radius: 15px;
    background:rgba(223, 222, 222, 0.44);
    box-shadow: 3px 3px 10px #285096, -3px -3px 10px #28509681;
    width: max-content;
    height: max-content;
    padding: 30px;
    margin: 25px auto 0 auto;
    transition: all 0.7s ease-in-out;
    font-family: 'yekan';
    font-weight: bold;
    font-size: 20px;
    direction: rtl;
    text-align: center;
}
.Status{
    border-radius: 15px;
    background:rgba(223, 222, 222, 0.44);
    box-shadow: 3px 3px 10px #285096, -3px -3px 10px #28509681;
    max-width: max-content;
    height: max-content;
    padding: 30px;
    margin: 1rem auto;
    transition: all 0.7s ease-in-out;
    font-family: 'yekan';
    font-weight: bold;
    font-size: 16px;
    animation: MoveBox 5s ease-in-out infinite;
    text-align: center;
    direction: rtl;
}
.Title{
    text-align: right;
}
.Data{
    text-align: center;
}
.info-item {
  margin-bottom: 1.2rem;
}
.info-label {
  font-weight: bold;
  color: #000000;
  margin-bottom: 0.3rem;
  display: block;
  text-align: right;
}
.info-value {
  padding: 0.3rem;
  background-color: white;
  border-radius: 8px;
  border: 1px solid #ddd;
  color: #285096;
  text-align: center;
}
.info-label , .info-value{
  font-family: 'yekan';
  width: 20rem;
}
.BackBtn{
    border: none;
    width: 150px;
    height: max-content;
    margin-top: 20px;
    padding: 7px;
    border-radius: 10px;
    font-family: 'yekan';
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    background-color: #285096;
    font-size: 16px;
    color: white;
}
.BackBtn:hover{
    transform: scale(1.05);
    background-color: #0070FA;
    box-shadow: 0px 4px 10px #285096;
}
@keyframes MoveHeader{
    0%{transform: translateY(-5px);}
    50%{transform: translateY(5px);}
    100%{transform: translateY(-5px);}
}
/* @keyframes blink {
  0% { opacity: 1;color: navy; }
  50% { opacity: 0;color: white; }
  100% { opacity: 1;color: navy; }
} */
/* @keyframes blink {
  0%   { text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 20px #00ffff; }
  50%  { text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff; }
  100% { text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 20px #00ffff; }
} */

/* @keyframes blink {
  0% {
    text-shadow: 0 0 5px #0f19aa, 0 0 10px #0f19aa;
  }
  50% {
    text-shadow: 0 0 20px #0f19aa, 0 0 30px #0f19aa;
  }
  100% {
    text-shadow: 0 0 5px #0f19aa, 0 0 10px #0f19aa;
  }
} */


@media screen and (max-width: 768px){
    .MatchTitle{
        font-size: medium;
        max-width: 80%;
        flex-direction: column;
        gap: 0px;
    }
    .RegisterForm{
        font-size: 1.5rem;
    }
    #myForm , #preview{
        width: 85%;
    }
    #Container{
        flex-direction: column;
        gap: 0px;
    }
    .Label , #Header{
        font-size: 11px;
    }
    .Label1{
        font-size: 16px;
    }
    .Column {
        flex: 1 1 100%;
    }
    .btn{
        width: 130px;
    }
    .Input{
        width: 90%;
        margin-right: 10px;
    }
    h3{
     font-size: 1em;
     font-family: 'yekan';   
    }
}