
* {
    box-sizing: border-box;
}

html, body {
    min-width: 100%;
    min-height: 100%;
    height: 100%;
    background-color: #fff;
    color: #655547;
    font-family: "Playwrite DE Grund", cursive;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* prevents sideways scroll */
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden; /* ← Add this */
}

body {
    background: linear-gradient(0deg, rgb(255 255 255 / 41%), rgb(174 174 174)), url(/assets/frontend/login-bg-min.jpg);
    background-size: cover;
    background-blend-mode: multiply;
    background-attachment: fixed;
}
.ADMIN-LOGIN-BODY{
    background-image: unset!important;
    background-color: #d99cab;
}

.header{
    width: 100%;
    height: 75px;
    /*background-color: #0000007d;*/
}

#niceError{
    text-align: center;
    color:#fb698d;
}

.logo-container{
    width: 150px;
    margin: auto;
    padding-top: 10px;
}

.logo-container img{
    width: 100%;
    height: 100%;
}

#template_inject_container-atmosphere{
    position: relative;
}
#template_inject_container{
    background-color: #ffffffb3;
    width: 400px;
    margin: auto;
    border-radius: 5px;
    box-shadow: 0px 11px 35px 2px rgb(0 0 0 / 14%);
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 100px);
    padding: 30px;
}
.ADMIN-LOGIN-BODY #template_inject_container{
    border: 10px solid #45484a;
}

#template_inject_container p,#template_inject_container label{
    font-size: 1.1em;
    color: #5a5a5a;
}



.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    padding-top: 4px;
    cursor: pointer;
    font-size: 13px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #757575;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.sign {
    padding-top: 40px;
    color: #e05577;
    font-weight: bold;
    font-size: 23px;
    text-align: center;
}

.form-group {
    margin-bottom: unset;
}

input:not([type="checkbox"]){
    width: 76%;
    color: rgb(38, 50, 56);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    background: rgba(136, 126, 126, 0.04);
    padding: 10px 20px;
    border-radius: 20px;
    outline: none;
    box-sizing: border-box;
    border: 2px solid rgba(0, 0, 0, 0.02);
    margin-left: 46px;
    text-align: center;
    margin-bottom: 27px;
}



.btn-container{
    width: 76%;
    margin: auto;
}

button{
    width: 100%;
    color: rgb(38, 50, 56);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 10px 20px;
    text-align: center;
}

form {
    padding-top: 40px;
}

.btn-container{
    width: 50%;
}

.ADMIN-LOGIN-BODY .btn-container{
    width: 100%;
}


.button {
    cursor: pointer;
    border-radius: 5em;
    color: #fff;
    background: #e05577;
    border: 0;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 10px;
    padding-top: 10px;
    font-size: 13px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.04);
    min-width: 130px;
}

main {
    flex: 1;
    overflow-y: auto; /* ← Allows content scroll inside main, not body */
}

footer {
    margin-top: auto;
    background: #d99cab;
    padding: 15px 20px;
    text-align: center;
}

.page-wrapper .main-footer{
    background-color: transparent;

}

.main-footer > small{
    color: #fff;
}

a,span {
    color:#757575
}

.main-footer {
    text-align: center;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    border-top: unset;
    background-color: #f8f2ed;
}

.main-footer .child {
    flex: 1;
    min-width: 150px;
    margin: 10px 0;
}

.main-footer .copy {
    text-align: left;
}

.main-footer nav {
    height: 100%;
}

.main-footer small {
    font-size: 0.8em;
    color: #fff;
}

.main-footer small a{
    color: #fff;
    text-decoration: underline;
}

.main-footer li {
    font-size: 0.8em;
    color: #655547;
}


@media (max-width: 768px) {
    .content-wrapper{
        margin-top: 0px!important;
    }
    .main-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .main-footer .copy {
        text-align: center;
    }

    .main-footer .child {
        width: 100%;
    }

    .main-footer nav .footer-links {
        justify-content: center;
    }

    .main-footer li {
        font-size: 0.9em;
    }

    .main-footer small {
        font-size: 0.75em;
    }
}


.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: right;
    gap: 15px;
}


.footer-links li {
    display: inline;
}
.footer-links a {
    text-decoration: none;
    color: #fff;
    font-size: 1em;
}
.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .main {
        border-radius: 0px;
    }
}

@media (max-width: 767px) {
    body{
        background:#fff!important;
    }
    .header{
        background-color: #d99cab;
    }
    #template_inject_container, .ADMIN-LOGIN-BODY #template_inject_container{
        width: 100%;
        box-shadow:unset;
        border: unset;
    }
    .page-wrapper .main-footer{
        background-color: #d99cab;

    }
    .footer-links a {

        font-size: .8em;
    }

}
