* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative; /* Added for positioning the icon */
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.back-button:hover {
    background: #dd3c90;
    border-color: #dd3c90;
    color: #fff;
}

.icon-container {
    display: flex;
    align-items: center;
    position: absolute;
    top: 100px;
    left: 10px;
}

.icon {
    width: 0px; /* Adjust size as needed */
    margin-right: 1px;
}

.icon-text {121 321 321 312 31
    font-size: 14px; /* Adjust font size as needed */
    color: #333;
}

.logo {
    width: 250px;
    margin: 60px 0 0px; /* Increased margin-top to move logo down */
}

.model-profile-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 12px auto 8px;
    border: 2px solid #f0f0f0;
}

h1 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.price {
    font-size: 1.2em;
    margin: 10px 0;
}

.price span {
    font-size: 0.8em;
    color: #555;
}

.or-pay {
    margin: 10px 0;
    color: #555;
}

.subscription-form {
    width: 100%;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

/* Payment form labels (style similar to modern card forms) */
.emailtext,
.cardtext {
    font-size: 12px;
    font-weight: 500;
    color: #8f95a3;
    letter-spacing: 0.2px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.emailtext .bold-text,
.cardtext .bold-text {
    color: inherit;
    font-weight: inherit;
}

.input-group label {
    display: block;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-bottom: 5px;
}

.input-group input::placeholder {
    color: #888;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #007bff;
    outline: none;
}

.phone {
    margin-bottom: 20px;
}

.subscribe-button {
    width: 100%;
    padding: 10px;
    background-color: #dd3c90;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.subscribe-button:hover {
    background-color: #0056b3;
}

.disclaimer {
    font-size: 0.8em;
    color: #555;
    margin-top: 20px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

h1, h2 {
    text-align: center;
    margin: 10px 0;
}

h2 {
    font-size: 24px;
    color: #333;
}

h2 span {
    font-size: 16px;
    color: #888;
    display: block;
}

form {
    display: flex;
    flex-direction: column;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 10px;
}

.card-details {
    display: flex;
    justify-content: space-between;
}

.card-details input {
    width: 48%;
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

.terms {
    font-size: 12px;
    color: #555;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .card-details {
        flex-direction: column;
    }
    .card-details input {
        width: 100%;
    }
}

.bold-text {
    color: #888; /* Matches the placeholder color */
    font-weight: 400; /* Makes the text thinner */
}

.price {
    font-size: 40px;
}

/* ===== Inspired modern payment layout ===== */
body {
    min-height: 100vh;
    height: auto;
    align-items: flex-start;
    padding: 24px 16px;
    background: linear-gradient(180deg, #e8ebfa 0%, #f3f5fc 100%);
}

.container {
    max-width: 430px;
    border-radius: 22px;
    padding: 26px 22px 22px;
    box-shadow: 0 22px 45px rgba(47, 58, 124, 0.16);
    overflow: hidden;
}

.back-button {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    padding: 0;
    justify-content: center;
    border: 1px solid #dfe4f0;
}

.back-button span {
    display: none;
}

.logo {
    width: 170px;
    margin: 8px auto 0;
    display: block;
}

.logo-wrapper {
    background: #ffd8ea;
    border: 1px solid #ffc2df;
    border-radius: 0;
    padding: 12px 14px;
    margin: -26px -22px 12px;
    width: calc(100% + 44px);
    max-width: none;
}

.model-profile-photo {
    width: 88px;
    height: 88px;
    margin: 14px auto 10px;
    border: 2px solid #ffc2df;
}

.Subscribetext {
    margin-top: 4px;
    color: #2f3341;
}

.price {
    font-size: 34px;
    line-height: 1;
    margin-top: 8px;
}

.price span {
    font-size: inherit;
    color: #1f2430;
    font-weight: 700;
}

.price-sub {
    margin-top: -6px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #7b8397;
    line-height: 1;
}

.or-pay {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 18px;
    color: #737b8c;
    font-size: 14px;
    text-align: center;
}

.or-pay::before,
.or-pay::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d9deea;
}

.or-pay .bold-text {
    color: inherit;
    white-space: nowrap;
}

.subscription-form {
    display: block;
}

.input-group {
    margin-bottom: 14px;
}

.emailtext,
.cardtext {
    font-size: 13px;
    font-weight: 600;
    color: #6f7789;
    margin-bottom: 7px;
}

.field-wrap {
    position: relative;
}

.field-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #dd3c90;
    font-size: 15px;
    pointer-events: none;
}

.brand-icon {
    color: #dd3c90;
    font-size: 19px;
}

.input-group input,
.input-group select {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #dce1ec;
    background: #fff;
    color: #232a37;
    font-size: 18px;
    font-weight: 600;
    padding: 0 44px 0 14px;
    margin-bottom: 0;
}

#email,
#cardnumber,
#cardexpiry,
#cardcvc,
#cardname,
#country,
#phone {
    font-size: 15px;
    font-weight: 500;
}

.input-group input::placeholder,
.input-group select {
    color: #9aa2b3;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #dd3c90;
    box-shadow: 0 0 0 3px rgba(221, 60, 144, 0.18);
    outline: none;
}

.split-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.split-fields .half {
    margin-bottom: 14px;
}

.subscribe-button {
    margin-top: 8px;
    height: 52px;
    border-radius: 11px;
    background: #dd3c90;
    font-size: 17px;
    font-weight: 600;
    text-transform: none;
}

.subscribe-button:hover {
    background: #3147b4;
}

.subscribe-button:focus,
.subscribe-button:active {
    background: #3147b4;
    box-shadow: 0 0 0 3px rgba(49, 71, 180, 0.25);
}

.disclaimer {
    margin-top: 14px;
    color: #7f8798;
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 480px) {
    .split-fields {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* Decorative background behind payment card */
body {
    position: relative;
    isolation: isolate;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(8, 12, 26, 0.48), rgba(8, 12, 26, 0.48)),
      url("images/missmica-399721686560228hl7juzbnox.jpg");
    background-size: cover;
    background-position: center top;
    filter: brightness(0.56) saturate(0.9);
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 22, 42, 0.22) 0%, rgba(20, 27, 48, 0.30) 100%);
    z-index: -1;
}

.form-alert {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #f2b8d3;
    border-radius: 10px;
    background: rgba(255, 240, 248, 0.96);
    color: #b02d76;
    font-size: 13px;
    font-weight: 500;
}

.form-alert.show {
    display: flex;
}

.subscription-form .field-invalid,
.subscription-form .field-wrap.field-invalid input {
    border-color: #dd3c90 !important;
    box-shadow: 0 0 0 3px rgba(221, 60, 144, 0.12) !important;
}

.subscription-form .field-wrap.field-invalid .field-icon {
    color: #dd3c90;
}
 
