@font-face {
    font-family: 'Graphik';
    src: url('../fonts/Graphik-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('../fonts/Graphik-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('../fonts/Graphik-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

.graphik-regular { 
    font-family: 'Graphik', sans-serif; 
    font-weight: 400; 
}

.graphik-semibold { 
    font-family: 'Graphik', sans-serif; 
    font-weight: 600; 
}

.graphik-bold { 
    font-family: 'Graphik', sans-serif; 
    font-weight: 700; 
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Graphik', sans-serif;
    background-color: #f9f9f9;
}

@media (max-width: 1680px)  {
    .header-logo img {
        margin-left: 190px !important;
    }

    .upgrade {
        font-size: 14px !important;
    }

    .degrade {
        font-size: 14px !important;
    }
}

.header {
    background-color: #37AA6D; /* Green background */
    padding: 20px;
}

.header-content {
    display: flex;
    align-items: center;
    color: white;
}

.header-text h1 {
    font-size: 35px;
    margin-top: 73px;
    margin-left: 25px;
}

.header-logo img {
    height: 115px; /* Adjust as needed */
    width: auto;
    margin-left: 310px;
}

.cards {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 20px;
}

.card {
    border: 1px solid gray !important;
    padding: 20px;
    background-color: white;
    width: 315px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    height: 715px !important;
}

.popular-logo img {
    width: 198px;
    height: 49px;
    top: -10px;
    margin-left: -158px;
    margin-top: -35px;
}

.card h2 {
    font-size: 18px;
    margin: 15px 0;
}

.card .price {
    font-size: 35;
    color: #333;
    margin: 20px 0;
    font-weight: bold;
    font-family: graphikSemiBold;
}

.card .features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.card .features li {
    font-size: 14px;
    margin: 10px 0;
}

.card {
    background-color: #37AA6D;
    color: white;
    border: none;
    padding: 10px;
    margin: 15px 0;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.card,
.order-summary {
    flex: 1;
    max-width: 321px;
    margin: 20px 10px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 830px;
}

.order-summary h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.order-summary p {
    font-size: 14px;
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
}

.payment-form {
    margin-top: 15px;
}

.payment-form label {
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
    margin-top: 17px;
}

.payment-form input {
    width: 100%;
    padding: 19px;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 20px;
}

.secure-payment {
    width: 60%;
    background: #37AA6D;
    color: white;
    padding: 8px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    margin-left: 15px;
}

.secure-payment:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

.js-btn-cancel {
    width: 30%;
    padding: 8px;
    cursor: pointer;
    color: #37AA6D;
    font-size: 14px;
    border: 1px solid #37AA6D;
}

.applybtn {
    cursor: pointer;
    color: #37AA6D;
    font-size: 14px;
    border: 1px solid #37AA6D;
    padding: 7px;
}

input {
    border: 1px solid #ccc; /* Add a border */
    border-radius: 4px; /* Optional: Add rounded corners */
    padding: 10px; /* Optional: Add padding */
}

.selected {
    border: 3px solid #37AA6D !important; /* Green border for the selected card */
    border-radius: 10px !important; /* Optional: Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Subtle shadow effect */
    background-color: rgba(55, 170, 109, 0.2) !important;
}

.btn-selected, .next-btn {
    background-color: rgb(55, 170, 109);
    color: white;
    border: 2px solid rgb(55, 170, 109);
    padding: 10px;
    margin: 15px 0;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

/* When card is NOT selected */
.btn-unselected, .prev-btn {
    background-color: white;
    color: green;
    border: 2px solid green;
    padding: 10px;
    margin: 15px 0;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.pager-wrapper {
    display: flex;
    align-items: center;
    justify-content: center; /* default: center when single button */
    gap: 20px;               /* gap when both buttons shown */
    width: 100%;
    box-sizing: border-box;
    padding: 16px 0;
}

/* When both buttons are visible, use space-between layout */
.pager-wrapper.two-buttons {
    justify-content: space-between;
    max-width: 900px; /* optional: keep buttons reasonably close on large screens */
    margin: 0 31%;   /* center the wrapper */
}

.is-hidden {
    display: none !important;
}

select {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("/static/img/down.png");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    appearance: none;
}

.error-msg {
  color:#ff7979;
  font-size:12px;
  min-height:16px;
}

.payment-div {
    justify-content:center;
    align-items:center;
    margin-top: auto;
    margin-left: 10%;
}

.error-msg,
#card-errors,
#email-errors,
#card-name-errors
{
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #ff7979;
    min-height: 16px;
}

.StripeElement{
    border:1px solid #ced4da;
    padding:10px;
    border-radius:4px;
    transition:.2s;
}

.is-focused{
    border-color:#86b7fe !important;
    box-shadow:0 0 0 .25rem rgba(13,110,253,.25);
}

.remove-wrapper{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
}

.coupon_loading{
    position:absolute;
    display:none;
}