
/*
 * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

 brx-spartacus-login-form {
  .LoginPageTemplate {
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--cx-page-width-max);
    padding-top: 3rem;
    padding-inline-end: 1.5rem;
    padding-bottom: 0;
    padding-inline-start: 1.5rem;
    margin: auto;

    .user-form {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    
      @include media-breakpoint-up(md) {
        width: 50%;
        --cx-max-width: 50%;
      }
    
      position: relative;
    
      form {
        display: contents;
    
        label {
          all: unset;
          flex: 100%;
          margin-bottom: 0.375rem;
        }
      }
    
      button,
      a {
        flex: 0 0 calc(50% - 10px);
        margin-top: 0.5rem;
      }

      cx-spinner {
        display: none;
      }
      button {
        flex: 100%;
      }
    }
  }
}