/* Copyright (C) 2019 Monomax Software Pty Ltd
 *
 * This file is part of Dnote.
 *
 * Dnote is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Dnote is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Dnote.  If not, see <https://www.gnu.org/licenses/>.
 */

@import '../../App/responsive';
@import '../../App/theme';
@import '../../App/rem';
@import '../../App/font';

.wrapper {
  @include breakpoint(md) {
    width: rem(360px);
  }

  &:first-child {
    margin-top: rem(40px);

    @include breakpoint(md) {
      margin-top: 0;
    }
  }

  &:not(:first-child) {
    margin-left: 0;

    @include breakpoint(md) {
      margin-left: rem(40px);
    }
  }
}

.header {
  border: 1px solid $border-color;
  border-top: 8px solid $gray;
  padding: rem(16px) rem(32px);
  border-radius: rem(2px);

  &.pro {
    border-top: 8px solid $third;
  }
}
.header-body {
  margin-top: rem(32px);
}

.name {
  color: $black;
  margin-bottom: 0;
  @include font-size('2x-large');
  font-weight: 600;
}

.price-wrapper {
  @include font-size('large');
  font-weight: 600;
  margin-top: rem(12px);
}

.price {
  display: inline-block;
  font-weight: 600;
}

.interval {
  display: inline-block;
}

.desc {
  margin-top: rem(20px);
  @include font-size('regular');
}

.cta-wrapper {
  margin-top: rem(24px);
}

.feature-list {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
  padding-top: rem(12px);
}

.feature-bold {
  font-weight: 600;
}
