@import url(https://fonts.googleapis.com/css?family=Fira+Sans:200,400,500,600,700);

body{
    color:#0f0101;
    margin:0;
    overflow-x: hidden;
    font-family:'Fira Sans', sans-serif;
    background-color:rgb(29, 66, 35);
    &::-webkit-scrollbar {
        width: 8px;
    }
    &::-webkit-scrollbar-track {
    background: rgb(7, 20, 4); 
    }
    &::-webkit-scrollbar-thumb {
    background:#454545; 
    border-radius:3px;
    }
    &::-webkit-scrollbar-thumb:hover {
    background: grey;
    }
}
.page-title{
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: normal;
}

.settings-page{
    background-color: black;
    width: 100%;
    min-height: 90vh;
    .settings-container{
        width: 100%;
        max-width: 850px;
        margin:auto;
        padding: 20px;
        padding-top:40px;
        .settings-title{
            color: #ffffff;
            text-transform: uppercase;
            font-weight: normal;
            font-size: 20px;
        }
        .settings-section {
            width:100%;
            border-top: 2px solid #fffdfd;
            padding-top: 10px;
            margin-bottom: 20px;

            .my-form{
                max-width:400px;
                width:100%;
                margin:30px auto;
                .form-submit.right{
                    justify-content: flex-end;
                }
                .form-submit{
                    display: flex;
                    .btn{
                        width:50%;
                    }
                }
                .form-group.editable .input-group{
                    display: flex;
                    align-items: center;
                    margin-bottom: 0.5rem;
                    .form-control{
                        margin-bottom: 0;
                    }
                    .btn{
                        height: 38px;
                        margin: 0 10px;
                        background-color: #141313;
                        transition: all .5s;
                        &:hover{
                            color:#ffffff;
                            background-color: #fffefe;
                        }
                    }
                    i{
                        cursor:pointer;
                        color: #ffffff;
                        transition: all .5s;
                        &:hover{
                            color:#ffffff;
                        }
                    }
                }
            }
            .non-active-form{
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 0.5rem;
                p{
                    padding: 7px 15px;
                    margin-bottom: 0;
                    font-size: 1rem;
                    cursor:default;
                }
                i {
                    cursor:pointer;
                    color: #fffefe;
                    transition: all .5s;
                    margin-right: 10px;
                    &:hover{
                        color:#ffffff;
                        transform: scale(1.1);
                    }
                }
            }
        }
    }
}

.img-upload-container {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom:1em;
    label{
        margin-bottom: 20px;
        position: relative;
        border-radius: 0.25rem;
        height: 80px;
        min-width: 80px;
        cursor: pointer;
        overflow: hidden;
        background-color: grey;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right:20px;
        background-size: contain;
    }
    h4 {
        text-align: left;
        font-size: 16px;
        color:rgb(248, 245, 245);
        cursor:pointer;
        transition: all .5s;
        &:hover{
            color:white;
        }
    }
    .img-preview-container {
        position: absolute;
        border-radius:0.25rem;
        overflow:hidden;
    }

    .img-preview {
        background: center center no-repeat;
        background-size: cover;
        height:80px;
        width:80px;
        border-radius: 0.25rem;
        cursor:pointer;
    }

    .img-upload {
        margin-bottom: 0;
    }
    input {
        display: none;
    }

    .alert {
        margin-top: 10px;
        position: absolute;
        bottom: 0px;
        background-color: transparent;
        border: 0;
        color: #ffffff;
    }
}

.my-form {
    visibility:visible;
    .form-group{
        .input-group{
            border-radius: 0.25rem;
            overflow: hidden;
            input.form-control {
                border:none;
                padding: 10px 15px;
                background-color: #ffffff;
                color:#E5DADA;
                font-family:'Fira Sans', sans-serif;
            }
        }
        .alert-input{
            color:#ffffff;
            font-weight: 100;
            font-size: 13px;
        }
    }

    .form-submit{
        width: 100%;
        .btn {
            width:100%;
            border-radius: 0.25rem;
            background-color: rgb(0, 0, 0);
            color:#030303;
            cursor:default;
            &:disabled{
                opacity: 0.75;
            }
            &:not(:disabled):not(.disabled) {
                background-color: #ffffff;
            }
        }
    }
}


/* Increased padding for inputs */
input.form-control {
    border: none;
    padding: 12px 18px !important; /* Vertical and horizontal padding */
    background-color: #2e2e2e;
    color: #E5DADA;
    font-family: 'Fira Sans', sans-serif;
    width: 100%;
    margin-bottom: 15px !important; /* Margin between fields */
    display: block;
}

/* Spacing for the form group container */
.form-group {
    margin-bottom: 25px !important; /* Push next field down */
}

/* Ensure the submit button has its own margin */
.form-submit {
    margin-top: 30px !important;
}
