/**
 * Theme 1: Classic Vertical Card
 *
 * @package Pricing_Table_Free
 */


/* ---------------------------------------------------------
 * Card
 * --------------------------------------------------------- */

.ptw-theme-1 .ptw-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.ptw-theme-1 .ptw-plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}


/* ---------------------------------------------------------
 * Header
 * --------------------------------------------------------- */

.ptw-theme-1 .ptw-plan__header {
    padding: 0 20px 30px;
    background: var(--ptw-header-bg, #f7f7f7);
}


/* ---------------------------------------------------------
 * Title
 * --------------------------------------------------------- */

.ptw-theme-1 .ptw-plan__title {
    margin: 0 -20px;
    padding: 18px 20px;

    background: var(--ptw-header-bg, #4f46e5);
    color: var(--ptw-header-color, #ffffff);

    font-size: var(--ptw-title-size, 18px);
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
 * Subtitle
 * --------------------------------------------------------- */

.ptw-theme-1 .ptw-plan__subtitle {
    color: var(--ptw-subtitle-color, #888888);
    font-size: var(--ptw-subtitle-size, 14px);
}


/* ---------------------------------------------------------
 * Price
 * --------------------------------------------------------- */

.ptw-theme-1 .ptw-plan__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    padding-top: 25px;

    color: var(--ptw-price-color, #474747);
    font-size: var(--ptw-price-size, 32px);

    line-height: 1;
}

.ptw-theme-1 .ptw-plan__currency {
    margin-right: 4px;

    font-size: 24px;
    font-weight: 700;
}

.ptw-theme-1 .ptw-plan__amount {
    font-size: var(--ptw-price-size, 56px);
    font-weight: 700;
    line-height: 1;
}


/* ---------------------------------------------------------
 * Features
 * --------------------------------------------------------- */

.ptw-theme-1 .ptw-plan__features {
    flex: 1;

    background: var(--ptw-features-bg, #ffffff);
    color: var(--ptw-features-color, #444444);
    font-size: var(--ptw-features-size, 15px);
}

.ptw-theme-1 .ptw-plan__features ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ptw-theme-1 .ptw-plan__features li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 13px 20px;

    border-top: 1px solid #e6e6e6;

    background: var(--ptw-features-bg, #f7fff7);
    color: var(--ptw-features-color, #555555);
    font-size: var(--ptw-features-size, 15px);

    line-height: 1.5;
    text-align: left;
}

.ptw-theme-1 .ptw-plan__features li:nth-child(odd) {
    background: var(--ptw-features-bg, #ffffff);
}


/* ---------------------------------------------------------
 * Feature icon
 * --------------------------------------------------------- */

.ptw-theme-1 .ptw-plan__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 50%;

    background: #82b440;
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.ptw-theme-1 .ptw-plan__feature-text {
    flex: 1;
}


/* ---------------------------------------------------------
 * Footer
 * --------------------------------------------------------- */

.ptw-theme-1 .ptw-plan__footer {
    padding: 25px 20px;
    background: #ffffff;
}


/* ---------------------------------------------------------
 * Button
 * --------------------------------------------------------- */

.ptw-theme-1 .ptw-plan__button {
    display: block;
    padding: 12px 20px;

    border: 0;
    border-radius: 5px;

    background: var(--ptw-btn-bg, #82b440);
    color: var(--ptw-btn-color, #ffffff);

    font-size: var(--ptw-btn-size, 14px);
    font-weight: 700;
    line-height: 1.4;

    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.ptw-theme-1 .ptw-plan__button:hover,
.ptw-theme-1 .ptw-plan__button:focus {
    background: var(--ptw-btn-bg, #6f9c36);
    color: var(--ptw-btn-color, #ffffff);
    text-decoration: none;
}

.ptw-theme-1 .ptw-plan__button:focus {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}


/* ---------------------------------------------------------
 * Featured plan
 * --------------------------------------------------------- */

.ptw-theme-1 .ptw-plan--featured {
    border-color: #82b440;
}

.ptw-theme-1 .ptw-plan--featured .ptw-plan__title {
    /*
     * IMPORTANT:
     * Do not override the Design Tab header color here.
     */
    background: var(--ptw-header-bg, #6f9c36);
    color: var(--ptw-header-color, #ffffff);
}


/* ---------------------------------------------------------
 * Featured badge
 * --------------------------------------------------------- */

.ptw-theme-1 .ptw-plan__badge {
    /*position: absolute;*/
    /*top: 12px;*/
    /*right: 12px;*/
    /*z-index: 2;*/

    padding: 5px 10px;
    border-radius: 20px;

    background: #ffffff;
    color: #82b440;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;

    text-transform: uppercase;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}


/* ---------------------------------------------------------
 * Responsive
 * --------------------------------------------------------- */

@media (max-width: 991px) {

    .ptw-theme-1 .ptw-plan__amount {
        font-size: 48px;
    }

    .ptw-theme-1 .ptw-plan__currency {
        font-size: 20px;
    }

    .ptw-theme-1 .ptw-plan__header {
        padding-bottom: 25px;
    }
}


@media (max-width: 767px) {

    .ptw-theme-1 .ptw-plan {
        margin-bottom: 30px;
    }

    .ptw-theme-1 .ptw-plan:hover {
        transform: none;
    }

    .ptw-theme-1 .ptw-plan__amount {
        font-size: 52px;
    }
}