﻿body:has(.no-header), .main-wrap:has(.no-header), main:has(.no-header) {
    margin: 0;
    padding: 0;
    height: 100%;
}

.category-accordion-container-wrap {
    display: none !important;
}

.main-container.center {
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .main-container.center:not(.no-header) {
        height: calc(100vh - var(--height-header));
        min-height: calc(100vh - var(--height-header));
    }

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: auto;
    border: 1px solid var(--color-light);
    padding: 40px;
}

    form input.form-control {
        display: block;
        width: 340px;
        margin-bottom: 4px;
    }

    .form-group > label {
        display: inline-block;
        margin-bottom: 4px;
        color: #666;
        font-size: 12px;
    }

form span {
    line-height: 18px;
}

.text-danger {
    font-size: 0.75em;
    display: block;
}

button[type=submit] {
    border-radius: 30px;
    width: 100%;
    margin-top: 20px;
    padding: 12px 0;
}

form a {
    display: inline-block;
    font-size: 12px;
    margin-top: 12px;
}


@media (max-width: 600px) {
    form {
        width: 90%;
    }

        form .form-group:has(input.form-control) {
            width: 100%;
        }

        form input.form-control {
            width: 100%;
        }

        form span {
            line-height: 16px;
        }

    /*.form-group {
        width: 100%;
    }*/
}


@media (max-width: 450px) {
    form {
        padding: 40px 20px;;
    }
}