@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700|Poppins:400,500&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.bg-img {
    /* background: linear-gradient(-20deg, #343403 0%, #024566 100%); */
    /* background: linear-gradient(-20deg, #ffffc942 0%, #024566 100%); */
    background-image: url('https://www.islamicarchitecturalheritage.com/wp-content/uploads/2018/05/al-masjid-al-haram-2.jpg');
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 0 10px; /* Add padding to the sides */
}

.bg-img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(-20deg, #343403 0%, #024566 100%); */
    background-image: url('/static/main_app/assets/images/masjid-haram.jpg');
    z-index: -1;
    background: rgba(0, 0, 0, 0.6); /* Change this color as needed */
}

.content {
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 370px;
    background: #fff;
    box-shadow: -1px 4px 28px 0px rgba(0, 0, 0, 0.75);
    border-radius: 10px;
    z-index: 2;
    margin: 0 auto; /* Ensure the content is centered */
}

.content img {
    width: 60%;
    margin-bottom: 20px;
}

.content header {
    color: black;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}


input#save_credentials {
    float: left;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

label.check {
    float: left;
    margin-left: 10px;
    margin-top: -3px;
    color: black;
    cursor: pointer;
}


.field {
    position: relative;
    height: 45px;
    width: 100%;
    display: flex;
    align-items: center;
    background: #dad9d9f0;
    margin-bottom: 20px;
    border-radius: 5px;
    padding-left: 10px;
}

.field span {
    color: #466b40;
    margin-right: 10px;
    font-size: 15px;
    padding-top: 0px;
}

.field input {
    height: 100%;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #222;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.show {
    position: absolute;
    right: 13px;
    font-size: 13px;
    font-weight: 700;
    color: #222;
    display: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.pass-key:valid ~ .show {
    display: block;
}

.pass {
    text-align: center;
    margin: 10px 0;
}

.pass a {
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.pass:hover a {
    text-decoration: underline;
}

.btn-section button.btn {
    background-image: linear-gradient(to top, #3f5c34 0%, #1c4150 100%) !important;
    color: white;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    border: unset;
    padding: 12px;
    border-radius: 5px;
    margin-top: 15px;
}

.btn-section button[type="button"]:hover {
    background-image: linear-gradient(to top, #3f5c34 0%, #1c4150 100%) !important;
}

.space a {
    color: #fff;
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
}

.space a:hover {
    text-decoration: underline;
}


.login-userheading{
    padding-bottom: 15px;
}

.login-userheading b,p{
    color: #fff;
    font-size: 14px;
}

@media (max-width: 480px) {
  .bg-img {
    background: linear-gradient(-20deg, #343403 0%, #024566 100%);
    min-height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 0 10px; /* Add padding to the sides */
  }

  .bg-img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/main_app/assets/images/masjid-haram.jpg');
    z-index: -1;
  }

  .content {
    padding: 20px;
    width: 100%;
    box-shadow: none;
    background: #fff;
  }

    .content img {
        width: 70%;
        margin-bottom: 15px;
    }

    .content header {
        font-size: 18px;
    }

    .field {
        height: 40px;
    }

    .field span {
        font-size: 16px;
    }

    .field input {
        font-size: 14px;
    }

    .show {
        font-size: 12px;
    }

    .btn-section button.btn {
        font-size: 16px;
        padding: 10px;
    }

    .space a {
        font-size: 14px;
    }
}


h4.mb-3.f-w-400 {
    color: red;
}
