/*  The checkout pages: /join, /login, /account, /thanks.

    Loaded after style.css, so the sidebar, the fonts and .home-hero,
    .home-kicker, .home-statement, .home-lead and .home-cta are the home
    page's own. Everything here is scoped under body.ybs-checkout. */

.ybs-checkout .ybs-shell {
    max-width: 960px;
}
.ybs-checkout .ybs-intro {
    margin-bottom: 40px;
}
.ybs-checkout .home-lead a {
    color: #121212;
    text-decoration: underline;
}

.ybs-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-start;
}
.ybs-cards .ybs-panel { flex: 1 1 340px; }

.ybs-panel {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-top: 3px solid #ffb400;
    padding: 30px;
    margin-bottom: 28px;
}
.ybs-panel-narrow { max-width: 540px; }

.ybs-checkout .ybs-h2 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 18px;
    line-height: 26px;
    color: #121212;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
}

.ybs-price {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    line-height: 48px;
    color: #121212;
    margin: 0 0 18px;
}
.ybs-price span {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    color: #7a7a7a;
}

.ybs-help {
    font-size: 16px;
    line-height: 27px;
    color: #545454;
    margin: 12px 0;
}
.ybs-help a { color: #121212; text-decoration: underline; }
.ybs-center { text-align: center; }

.ybs-receipt {
    border-top: 1px solid #ececec;
    margin: 0 0 20px;
}
.ybs-receipt > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
    font-size: 16px;
    line-height: 24px;
}
.ybs-receipt > div > span:last-child {
    color: #7a7a7a;
    text-align: right;
    word-break: break-all;
}
.ybs-receipt-total { font-weight: 700; }
.ybs-receipt-total > span:last-child { color: #121212 !important; }

/*  .home-cta is an inline yellow outline. Full width here, and a filled
    version for the one action each panel is for. */
.ybs-checkout .ybs-btn-wide {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin: 12px 0 0;
    cursor: pointer;
    background: transparent;
}
.ybs-checkout .ybs-btn-solid { background: #ffb400; }
.ybs-checkout .ybs-btn-solid:hover { background: #e6a200; }
.ybs-checkout .ybs-btn-solid[disabled] { opacity: .55; cursor: default; }
.ybs-checkout .ybs-btn-quiet { margin-top: 6px; }

.ybs-form label {
    display: block;
    font-weight: 500;
    font-size: 15px;
    margin: 16px 0 6px;
    color: #121212;
}
.ybs-form input[type=text],
.ybs-form input[type=email],
.ybs-form input[type=password] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    padding: 10px 12px;
    border: 1px solid #cfcfcf;
    color: #121212;
}

.ybs-error,
.ybs-note,
.ybs-flash {
    border: 1px solid #c0392b;
    background: #fdf1ef;
    color: #7a1d14;
    padding: 14px 18px;
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 24px;
}
.ybs-note,
.ybs-flash-success {
    border-color: #ffb400;
    background: #fff8e6;
    color: #4a3800;
}

.ybs-steps {
    padding-left: 22px;
    font-size: 16px;
    line-height: 27px;
}
.ybs-steps li { margin-bottom: 8px; }

@media screen and (max-width: 768px) {
    .ybs-panel { padding: 22px 18px; }
    .ybs-price { font-size: 32px; line-height: 40px; }
}
