/* Made with love by Mutiullah Samim*/

@import url('https://fonts.googleapis.com/css?family=Numans');

html,body{
    background-image: url('/img/sfondo1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment:fixed;
    min-height:100vh;
    font-family: 'Numans', sans-serif;
}

.container{
    height: 100%;
    align-content: center;
    padding-bottom:80px;
}

.card{
    height: auto;
    margin-top: auto;
    margin-bottom: auto;
    width: 400px;
    background-color: rgba(0,0,0,0.5) !important;
}

.social_icon span{
    font-size: 60px;
    margin-left: 5px;
    color: #27ae60;
}

.social_icon span:hover{
    color: #db2d2e;
    cursor: pointer;
}

.card-header h3{
    color: white;
}

.social_icon{
    position: absolute;
    right: 20px;
    bottom: 15px;
}

.input-group-prepend span{
    width: 50px;
    background-color: #FFC312;
    color: black;
    border:0 !important;
}

input:focus{
    outline: 0 0 0 0  !important;
    box-shadow: 0 0 0 0 !important;
}

.remember{
    color: white;
}

.remember input
{
    width: 20px;
    height: 20px;
    margin-left: 15px;
    margin-right: 5px;
}

.login_btn{
    color: black;
    background-color: #db2d2e;
    width: 100px;
}

.login_btn:hover{
    color: black;
    background-color: #FFC312;
}

.register_btn {
    background-color:#FFC312;
    color:#fff;
}

.register_btn:hover{
    color: black;
    background-color: #db2d2e;
}

.links{
    color: white;
}

.links a{
    margin-left: 4px;
}

.social-wrapper span {
    font-size: 36px;
    margin: 0 8px;
    color: #2ecc71;
    transition: 0.3s;
    cursor:pointer;
}

.social-wrapper span:hover {
    color: #db2d2e;
    transform: scale(1.2);
}

.logo-wrapper img {
    max-width: 140px;
    margin-top: 10px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-btn.active {
    background: #ffc107;
    color: #000;
}

.feedback {
    display:block;
    font-size:13px;
    margin-top:4px;
}

.ok {
    color: #28a745;
}

.error {
    color: #dc3545;
}

.warning {
    color: orange;
}

@media(max-width:576px){
    .social-wrapper{
        display:none;
    }
}

.squadre-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(90px,1fr));
    gap:15px;
    margin-top:15px;
}

.squadra-card{
    border:2px solid #ddd;
    border-radius:15px;
    padding:10px;
    text-align:center;
    cursor:pointer;
    transition:0.3s;
    background:#fff;
}

.squadra-card:hover{
    transform:translateY(-3px);
    border-color:#ff003c;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.squadra-card img{
    width:55px;
    height:55px;
    object-fit:contain;
    margin-bottom:8px;
}

.squadra-card span{
    display:block;
    font-size:13px;
    font-weight:600;
    color:#333;
}

.squadra-card input{
    display:none;
}

.squadra-card.selected{
    border-color:#ff003c;
    background:#fff5f7;
    box-shadow:0 0 15px rgba(255,0,60,0.25);
}

.password-wrapper{
    width:100%;
}

.password-field{
    position:relative;
}

.password-field input{
    padding-right:55px;
}

.toggle-password{
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    font-size:20px;
    color:#555;
}

.password-rules{
    margin-top:10px;
    padding:12px 15px;
    border-radius:12px;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.08);
    font-size:14px;
    color:#ccc;
}

.password-rules div{
    margin-bottom:6px;
    transition:0.3s;
}

.password-valid{
    color:#28c76f !important;
}

.password-invalid{
    color:#ff4d4f !important;
}