.d-icon{
    width: 40px;
    aspect-ratio: 1;
}

.update-type{
    padding: 2px 10px;
    border-radius: 10px;
    margin-right: 20px;
    width: fit-content;
    font-size: x-small;
    font-weight: normal;
}
.type-new{
    background: #0f0;
    color: black;
}
.type-update{
    background: rgba(0, 174, 255, 0.364);
}
.subscribe{
    background: rgb(0, 0, 0);
    padding: 2px 10px;
    border-radius: 10px;
    height: fit-content;
    width: fit-content;
    color: white;
    outline: 2px solid black;
    border: 2px solid white;
    &:hover{
        background: #444;
    }
    &:active{
        scale: 0.95;
    }
}
.formGroup{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    justify-content: flex-start;
    align-items:flex-start;
    padding: 10px;

}
#email, #username {
    padding: 5px 12px 12px 45px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: #444;
    color: #ffffff;
    width: 100%;
    max-width: 400px;
    outline: none;
    font-size: 15px;
    transition: background 5000000s ease-in-out, border-color 0.2s ease;
    -webkit-text-fill-color: #ffffff;
}

#email:placeholder-shown, 
#username:placeholder-shown {
    color: rgba(235, 235, 235, 0.7) !important;
    -webkit-text-fill-color: #ffffff6e;

}

#email::placeholder, 
#username::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#email:focus, 
#username:focus {
    border-bottom: 2px solid #00e676;
    background: #111b27;
}
.inpIcon{
    position: absolute;
    top: 20%;
    left: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.31);
    padding-right: 10px;
}
.inpGroup{
    position: relative;
    width: 100%;
    margin: auto;
}
#win-subscribe{
    max-width: 400px;
    max-height:450px;
}
#subscriptionForm{
    padding:30px  20px;
    width: 100%;
    color: white;

    hr{
        border: 1px solid rgba(255, 255, 255, 0.063);
        margin-bottom: 10px;
        background: #0000;
        padding: 0;
    }
}
#subscriptionForm button{
    background: #0f0;
    padding: 5px 10px;
    color: #444;
    margin: auto;
    &:disabled{
        background: grey;
        color: #333;
    }
}
#subscriptionForm p{
    font-size: small;
    text-align: center;
    width: 100%;
    margin-top: 20px;
}
.win-actions button{
    display: flex;
    justify-content: center;
    align-items: center;
    img{
        width: 15px;
        height: 15px;
    }
}
.sysNotif{
    position: fixed;
    z-index: 300000;
    right: 5px;
    bottom: 60px;
    background: black;
    min-height: 150px;
    color: white;
    width: 300px;
    transform: translateX(200%);
    transition: all 1s ease-in-out;
    cursor: pointer;
    &:active{
        right: 10px;
    }
    
}
.sysNotif.err .sysNotifHeader{
    background: rgba(255, 0, 0, 0.496);
}
.sysNotif.ok .sysNotifHeader{
    background: rgba(85, 255, 0, 0.496);
}
.sysNotif.shown{
    transform: translateX(0);
}
.sysNotifHeader{
    background: #444;
    padding:5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sysNotifHeader button{
    padding:2px 5px;
    &:hover{
    background: red;
    color: black;
    }
}
.sysNotifIcon{
    min-width: 50px;
    max-width: 50px;
    background: rgb(0, 255, 153);
    border-radius: 50%;
    padding: 5px;
}
.sysNotifContent{
    padding: 10px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}
.sysNotifText{
    display: flex;
    flex-wrap: wrap;
    font-size: small;
    user-select:none;
    border-left: 1px solid rgba(255, 255, 255, 0.623);
    height:100%;
    flex-grow: 1;
    padding-left: 10px;

}
.refresh {
    position: fixed;
    padding: 12px 20px;
    cursor: pointer;
    z-index: 4000000000;
    transition: top 0.15s ease, left 0.15s ease;
}
#gallery{
    width: 100%;
    height: 100%;
    display: flex;
    overflow: auto;
    padding: 20px;
    flex-wrap: wrap;
    flex-direction: row;
    background: #000000;
    gap: 5px;
    &::-webkit-scrollbar{
        display: block;
    }
    &::-webkit-scrollbar-thumb{
        background: #0f0;
    }
    .img-holder{
        height: 300px;
        width: 300px;
        cursor: pointer;
        flex-grow: 1;
        max-width: 400px;
        background: #ffffff30;
        img{
            object-fit: cover !important;
            width: 100%;
            height: 80%;
        }
        &:active{
            scale: 0.98;
        }
    }
}

.camera-controls{
    display: flex;
    z-index: 20;
    bottom: 0;
    position: fixed;
    right: 0%;
    left: 00%;
    background: rgba(255, 255, 255, 0.173);
    backdrop-filter: blur(5px);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    button{
        width: 50px;
        height: 50px;
        border-radius: 50%;
        padding: 10px;
        justify-content: center;
        align-items: center;
        display: flex;
        background: white;
        &:active{
            scale: 0.95;
        }
        &:hover{
            background: rgba(255, 255, 255, 0.571);
        }
        img{
            width: 20px;
            height: 20px;
        }
    }

}
.canvasOverlay{
        position: absolute;
        top: 50px;
        content: '';
        right: 0;
        left: 0;
        z-index: 200;
        height: 100%;
        width: 100%;
        background: rgb(255, 255, 255);
        display: none;

}
.canvasOverlay.seen{
    display: block;
}
.galleryBtn{
    background: #0f0 !important;
}
.zoomer{
    display: flex;
    flex-direction: column;
    gap: 5px;
    button{
        display: flex;
        background: rgba(255, 255, 255, 0);
        width: 40px;
        height: 30px;
        border-radius: 0;
        justify-content: center;
        align-items: center;
        padding: 10px !important;
        
    }
}