@font-face {
    font-family: 'Roboto-Regular';
    src: url('files/fonts/Roboto/Roboto-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Edwardian';
    src: url('files/fonts/edwardianscriptitc.ttf') format('truetype');
}

:root {
    /* Brand Colors */
    --color-pink: rgb(214, 18, 134);
    --color-green: rgb(0, 196, 140);
    /* Greys and Neutrals */
    --color-grey-light: #f2f2f2;
    --color-grey: #ccc;
    --color-dark: #222;
    /* Text and Backgrounds */
    --color-text: #000;
    --color-text-light: #666;
    --color-bg: #fff;
    --color-bg-muted: #210505;
    /* Elements */
    --color-border: #000;
}


html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;  
}

.red {
    color: red;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: 100vh;*/
    height: 100%;
    font-family: 'Roboto-Regular', sans-serif;
    font-weight: 500;
    letter-spacing: 0.4px;
}

h1 {
    font-size: 40px;
    font-weight: 500;
    color: black;
    letter-spacing: 0.2px;
    margin-top: 0;
    margin-bottom: 5px;
}

h2 {
    font-size: 45px;
    font-family: 'Edwardian', sans-serif;
    line-height: 80px;
    color: var(--color-pink);
    margin-top: 0;
    margin-bottom: 35px;
}

h3 {
    font-size: 35px;
    margin-top: 0px;
    margin-bottom: 35px;
    font-weight: 500;
}

h4 {
    font-size: 30px;
    margin-top: 0px;
    margin-bottom: 20px;
    font-weight: 500;
}

p {
    font-size: 22px;
    margin-top: 0px;
    margin-bottom: 20px;
}

.italic-pink {
    font-family: 'Edwardian', sans-serif;
    color: var(--color-pink); /* pink */
    font-weight: bold;
    line-height: 55px;
}
.pink-bold {
    color: var(--color-pink); /* pink */
    font-weight: bold;
}
.pink {
    color: var(--color-pink); /* pink */
}

.mb-10 {
    margin-bottom: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-60 {
    margin-bottom: 60px;
}

.font-60 {
    font-size: 50px;
}

.sub-headline {
    font-size: 60px;
    line-height: 60px;
}

.home-headline {
    font-size: 90px;
}

.justify-between {
    justify-content: space-between !important;
}

.d-none {
    display: none;
}

.phone-frame {
    background-image: url(images/bg.png);
    background-size: cover;
    /* aspect-ratio: 9 / 16; */
    position: relative;
    overflow: scroll;
    scrollbar-width: none;
    display: flex;
    align-items: flex-start;
    border: 16px solid var(--color-border);
    border-radius: 36px;
    padding: 0;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /*height: 650px;*/
    height: 100%;
    width: 375px;
}

.content {
    width: 100%;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    align-content: space-around;
    /*justify-content: space-around;*/
    flex-direction: column;
    padding: 75px 30px;
    padding-top: 3px;
    box-sizing: border-box;
    text-align: center;
}

.go-btn {
    width: 51px;
    height: 51px;
    background-image: url(images/go-arrow.svg);
    background-size: cover;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.tick-btn {
    width: 50px;
    height: 50px;
    background-color: var(--color-pink);
    border: none;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

    .tick-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 8px;
        border-left: 7px solid rgb(219,219,219);
        border-bottom: 7px solid rgb(219,219,219);
        transform: translate(-50%, -50%) rotate(-45deg);
    }

.back-btn-container {
    display: flex;
    justify-content: center;
    border-radius: 50%;
}

.back-btn {
    width: 51px;
    height: 51px;
    background-image: url(images/back-arrow.svg);
    background-size: cover;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.tick-back-btn-container {
    display: flex;
    justify-content: space-between;
    width: 200px;
    padding-bottom: 50px;
}

.center {
    text-align: center;
    align-items: center;
    justify-content: center;
}

.headline {
    margin-top: 10px;
}

.people-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 35px;
}

/* Slider Styles */

.snap-container {
    position: relative;
    width: 100%;
    min-height: 100px;
    overflow-x: hidden;
    overflow-y: visible;
}

.snap-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;   
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 10px rgb(0 0 0);
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(70px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
}

    .snap-slide.active-slide {
        opacity: 1;
        visibility: visible;
        z-index: 2;
        display: block;
        transform: translateX(0);
        position: relative;
    }

.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.slide-title {
    font-weight: bold;
    color: #d21689;
}

.slide-counter {
    font-size: 14px;
    color: #555;
}

.slide-content {
    margin: auto 0;
}

    .slide-content p {
        margin: 0;
        padding: 0;
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
    }

/* Slider scroll */
.snap-container::-webkit-scrollbar {
    height: 10px;
}

.snap-container::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 10px;
}

.snap-container::-webkit-scrollbar-thumb {
    background: #d21689;
    border-radius: 10px;
    border: 2px solid white;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
}

    .snap-container::-webkit-scrollbar-thumb:hover {
        background: #d21689;
    }

.prev, .next {
    cursor: pointer;
    top: 50%;
    color: #d21689;
    font-size: 30px;
    font-weight: bold;
    padding: 0 10px;
    z-index: 10;
}

.controls-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
    align-items: center;
    width: 100%;
}

.prev, .next {
    cursor: pointer;
}

.dot-container {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

    .dot.active-dot {
        background-color: #d21689;
    }

/* Page 2 */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

label {
    font-size: 24px;
}

.profile-input {
    width: 40%;
    min-width: 170px;
}

input[type="text"], input[type="email"], input[type="date"] {
    width: 250px;
    padding: 5px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-size: 16px;
    height: 30px;
    margin-bottom: 15px;
}

.dob-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.calendar-icon {
    width: 40px;
    height: 40px;
    margin: 0 0px 5px 10px;
}

/* Gender Toggle Begin */
.gender-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 15px;
}

    .gender-container input[type="radio"] {
        display: none;
    }

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-wrapper {
    position: relative;
    width: 50px;
    height: 24px;
}

.toggle-input {
    display: none;
}

.toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(119, 117, 127);
    height: 20px;
    border-radius: 24px;
    transition: .4s;
}

    .toggle:before {
        position: absolute;
        content: "";
        height: 13.2px;
        width: 13.2px;
        left: 0;
        bottom: 0;
        background-color: rgb(226, 0, 147); /* Pink woman side */
        border: 3.5px solid rgb(169, 168, 174);
        border-radius: 50%;
        transition: .4s;
    }

.toggle-input:checked + .toggle {
    background-color: rgb(119, 117, 127);
}

    .toggle-input:checked + .toggle:before {
        transform: translateX(31px);
        background-color: rgb(0, 85, 212); /* Blue man side */
    }


/* Share Icons */
.share-icons {
    /* max-width: 200px; */
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

    .share-icons img {
        width: 50px;
        height: 50px;
    }

#share-qr-img {
    width: 55px;
    height: 45px;
}

.profile-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.profile-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-left: 20px;
}

/* Avatar selection */
.avatar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-options {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 280px;
}

.avatar-choice {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    cursor: pointer;
}

.avatar-choice-select {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    width: 100%;
}

.avatar-choice-select input[type="radio"] {
    margin: 4px 0 0;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: #7a7a7a;
    cursor: pointer;
}

.avatar-choice-select label {
    font-size: 14px;
    line-height: 1.25;
    color: #222;
    margin: 0;
    cursor: pointer;
    text-align: left;
}

/* Page 3 */
.invite-title {
    margin-bottom: 10px;
}

.last-invites {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 5px;
    margin-bottom: 100px;
}

    .last-invites img {
        width: 80px;
        height: 90px;
    }

.avatar-container {
    position: relative;
    width: 90px;
    /*height: 90px;*/
    overflow: hidden;
    border-radius: 10px;
}

#avatar-container-list {
    height: 90px;
}

.avatar-container img {
    width: 70px;
    height: 70px;
/*object-fit: cover;*/
}

.avatar-container[class*="match-"]::after {
    position: absolute;
    bottom: 5px;
    left: 40%;
    transform: translateX(-50%) rotate(-10deg);
    padding: 2px 6px;
    color: var(--color-pink);
    background-color: white;
    font-size: 14px;
    font-weight: bold;
    border: solid 2px var(--color-pink);
    border-radius: 5px;
    text-transform: uppercase
}
/* Specific for Each Match Label */
.match-1::after {
    content: "bad";
}

.match-2::after {
    content: "not ideal";
}

.match-3::after {
    content: "match";
}

.match-4::after {
    content: "high match";
}

.match-5::after {
    content: "super match";
}

/* Step 4 */

.top-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

    .top-bar h2 {
        margin: 0;
        padding-bottom: 5px;
        font-weight: bold;
    }

.coin-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.coin-count {
    cursor: pointer;
    font-size: 20px;
    font-weight: normal;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

    .coin-count:hover {
        text-shadow: 0 0 6px rgba(72, 72, 72, 0.306); /* soft gray glow */
        color: #000;
    }

.coin-icon {
    width: 18px;
    height: 23px;
}

.profile-icon-list {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin: 0;
    border: 2px solid transparent;
    transition: border-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

    .profile-icon-list:hover {
        cursor: pointer;
        border-color: var(--color-pink);
        box-shadow: 0 0 8px rgba(214, 18, 134, 0.6);
        margin: 0;
    }

.review-and-name {
    display: flex;
    flex-direction: column;
    min-width: 205px;
    max-width: 210px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.matching-results {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 22px;
    align-content: center;
    align-items: center;
}

.matching-results-blurred {
    cursor: pointer;
    filter: blur(4px);
}

.matching-result {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .matching-result img.profile {
        width: 70px;
        height: 70px;
    }

    .matching-result img.match-type {
        width: 70px;
        height: 40px;
    }

    .matching-result p {
        margin: 0;
        padding: 0 10px;
        flex-grow: 1;
        text-align: left;
    }

    .matching-result .stars {
        display: flex;
        margin-bottom: 5px;
        gap: 3px;
        margin-left: 10px;
    }

        .matching-result .stars img {
            width: 30px;
            height: 30px;
        }

    .matching-result .info-icon {
        width: 20px;
        height: 20px;
    }

.invite-icons {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

    .invite-icons img {
        width: 40px;
        height: 40px;
    }

.unlock-text-list {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: flex-end;
    margin-left: 1px;
}

.unlock-text-coin {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    margin-left: 5px;
    margin-bottom: 1px;
}

.inline-icon {
    height: 20px;
}

.unlock-button {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin: 10px 0;
    padding: 10px 12px;
    border: 3px solid var(--color-pink);
    border-radius: 10px;
    background-color: var(--color-bg);
    color: var(--color-pink);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    outline: none;
    align-content: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    font-size: 16px;
}

.unlock-left {
    display: flex;
    align-items: center;
    /* gap: 5px; */
    flex-wrap: wrap;
    white-space: nowrap;
    justify-content: center;
}

.unlock-text {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    text-align: center;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
}

.unlock-text1, .unlock-text2 {
    margin-right: 5px;
    white-space: nowrap;
}

.unlock-text3 {
    display: flex;
    align-items: flex-end;
    white-space: nowrap;
}

.btn-lock {
    height: 20px;
    width: 20px;
    vertical-align: middle;
    margin-left: 8.5px;
}

.btn-lock-list {
    margin-left: 8.5px;
    margin-right: 0;
}

.btn-coin {
    width: 20px !important;
    height: 20px !important;
    margin-left: 6px;
    vertical-align: middle;
    margin-bottom: 1px;
}

/* Unlock Pop Up */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .popup-overlay.active {
        display: flex;
    }

.popup-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('images/popup-bg.png');
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    border: 3px solid var(--color-pink);
}

.popup-buttons {
    margin-top: 15px;
    display: flex;
    gap: 60px;
    justify-content: center;
}

    .popup-buttons button {
        padding: 8px 16px;
        border: 2px solid var(--color-pink);
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
        width: 60px;
        display: flex;
        align-content: center;
        justify-content: center;
    }

.confirm {
    background: var(--color-pink);
    color: white;
}

.cancel {
    background: none;
    color: var(--color-pink);
}

.popup-box::before,
.popup-box::after {
    content: none !important;
}

/* Step 5 */
.margin-p5 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.details-text {
    font-size: 20px;
    text-align: left;
}

.width-80 {
    width: 95%;
}

#lock-icon-5 {
    margin-right: 8.5px;
    margin-left: 0;
}

.details-text p {
    margin: 5px 0;
}

.details-list {
    list-style: disc;
    text-align: left;
    padding-left: 0;
    margin: 25px 0;
}

.list-title {
    list-style: none;
}

.list-accent {
    font-weight: bold;
    color: var(--color-pink);
}

.details-text ul li {
    margin-bottom: 5px;
}

.matching-interests {
    text-align: left;
    margin-bottom: 60px;
}

    .matching-interests label {
        display: block;
        font-size: 20px;
        margin-bottom: 5px;
    }

.interests-list input[type="checkbox"] {
    appearance: none;
    width: 15px;
    height: 15px;
    padding: 8px;
    background: var(--color-bg);
    border: 1px solid var(--color-text);
    position: relative;
    cursor: pointer;
    transform: translate(0, 23%);
}

    .interests-list input[type="checkbox"]:checked::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 10px;
        height: 3px;
        border-left: 3px solid var(--color-border);
        border-bottom: 3px solid var(--color-border);
        transform: translate(-50%, -65%) rotate(-45deg);
    }

/* Tabs */
.tab {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.tablinks {
    text-align: start;
    font-size: 16px;
    font-weight: bold;
    height: 35px;
    background-color: #ffffff00;
    border: none;
    cursor: pointer;
}

.tabcontent {
    display: none;
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.tab button.active {
    background-color: #d21689;
    color: white;
}

#tab-lq {
    margin-top: -25px;
}

#tab-mm {
    margin-top: -48px;
}

/* Page 6 */
.clock-image {
    width: 100px;
    height: auto;
    margin-bottom: 25px;
}

.progress-msg p {
    margin-top: 10px;
}

.position-msg p, .estimate-msg p, .preview-msg p {
    margin-bottom: 5px;
}

.invitation-preview p {
    margin-bottom: 10px;
}

.position-msg {
    margin-bottom: 15px;
}

.position-number, .estimated-number {
    font-size: 35px;
    color: var(--color-pink); /* pink */
    margin: 0;
    font-weight: bold;
}

.estimate-msg {
    margin-bottom: 30px;
}

.preview-msg {
    max-width: 260px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.invitation-preview {
    border: 2px solid #a3a3a3;
    padding: 10px;
    background-color: white;
    text-align: start;
}

.preview-msg + .share-icons {
    margin-bottom: 60px;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background-color: #eee;
    border-radius: 6px;
    margin: 12px auto;
    overflow: hidden;
    position: relative;
    padding-bottom: 3px;
}

.progress-bar {
    height: 100%;
    width: 70%;
    background-image: repeating-linear-gradient( -45deg, #d21689 0, #d21689 12px, #fff 12px, #fff 24px );
    background-size: 32px 32px;
    animation: loading-stripes 1s linear infinite;
    border-radius: 6px 0 0 6px;
    border-right: 2px solid gray;
    border: 2px solid #474747;
}

@keyframes loading-stripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 32px 0;
    }
}


/* Page 7 */
.content-pg7 {
    margin-top: 250px;
}

    .content-pg7 .share-icons {
        margin-bottom: 90px;
    }

/* Profile Page Start */

.profile-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile {
    width: 100%;
    max-width: 100%;
    padding: 20px 0;
}

.profile-fields {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.profile-input-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 10px 0;
}

.form-label {
    font-weight: 500;
}

.profile-field {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.profile-input-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 15px;
}

/* --- SIMPLE PROFILE IMAGE CHOICE --- */
.profile-avatar-title {
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 8px 0 20px;
}

.profile-avatar-options {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 60px;
    width: 100%;
    margin: 10px 0 28px 0;
}

.profile-avatar-card {
    flex: 1 1 0;
    max-width: 140px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 16px 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    font-family: inherit;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.profile-avatar-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.72);
}

.profile-avatar-card.active {
    background: rgba(255, 224, 239, 0.72);
    border-color: var(--color-pink);
    box-shadow: 0 10px 24px rgba(214, 18, 134, 0.14);
}

.avatar-img,
.avatar-photo-btn {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-bottom: 14px;
}

.avatar-img {
    display: block;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.avatar-photo-btn {
    position: relative;
    border: 4px solid #fff;
    background: var(--color-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.avatar-photo-btn::before {
    content: "";
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

.avatar-photo-btn #profile_pic_src {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.profile-avatar-label {
    font-size: 15px;
    line-height: 1.2;
    color: var(--color-pink);
    font-weight: 700;
    text-decoration: underline;
    margin-bottom: 8px;
}

.profile-avatar-subtext {
    font-size: 13px;
    line-height: 1.35;
    color: #333;
    margin-bottom: 16px;
    min-height: 36px;
}

.profile-avatar-btn,
.profile-avatar-btn-secondary {
    margin-top: auto;
    width: 100%;
    padding: 12px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    color: #222;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid rgba(214, 18, 134, 0.08);
}

/* modal avatar images only */
.avatar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-options {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 280px;
}

.avatar-options .avatar-choice,
#avatar-icons-m .avatar-choice,
#avatar-icons-f .avatar-choice {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    cursor: pointer;
}

/* form controls */
.pencil-btn {
    background: none;
    border: none;
    padding: 0;
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.pencil-icon {
    width: 20px;
    height: 20px;
    margin-left: 4px;
    vertical-align: middle;
}

.hint {
    margin: 0px auto 20px;
    display: block;
    text-align: center;
    line-height: 1.35;
    max-width: 260px;
}

.readonly-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 260px;
    z-index: 1;
}

.readonly-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(200, 200, 200, 0.6);
    border-radius: 5px;
    pointer-events: all;
    cursor: not-allowed;
    z-index: 999;
    height: 64%;
    top: 1px;
    left: 1px;
    width: 99.5%;
}

.readonly-wrapper input {
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.form-input-readonly {
    background-color: #f3f3f3;
    color: #666;
}

.gender-container .profile-input-column > .form-label {
    margin-top: 12px;
}

.card-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.card-actions button {
    padding: 10px 20px;
    border: 2px solid var(--color-pink);
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100px;
    display: flex;
    align-content: center;
    justify-content: center;
}

.comfirm {
    background: var(--color-pink);
    color: #fff;
}

.cancel {
    background: none;
    color: #D61286;
}

@media (max-width: 768px) {
    .readonly-wrapper {
        max-width: 260px;
    }

    .hint {
        font-size: 12px;
        max-width: 260px;
    }
}

@media (max-width: 420px) {
    .profile-avatar-options {
        gap: 10px;
    }

    .profile-avatar-card {
        max-width: 132px;
        padding: 14px 10px 16px;
    }

    .avatar-img,
    .avatar-photo-btn {
        width: 78px;
        height: 78px;
    }

    .profile-avatar-label {
        font-size: 14px;
    }

    .profile-avatar-subtext {
        font-size: 12px;
        min-height: 34px;
    }

    .profile-avatar-btn,
    .profile-avatar-btn-secondary {
        font-size: 13px;
        padding: 10px 8px;
    }

    .readonly-wrapper {
        max-width: 240px;
    }

    .hint {
        font-size: 13px;
        max-width: 240px;
    }
}

@media (max-width: 360px) {
    .readonly-wrapper {
        max-width: 210px;
    }

    .hint {
        font-size: 12px;
        max-width: 210px;
    }

    .pencil-icon {
        width: 18px;
        height: 18px;
    }
}

/* Profile Page End */

/* Coins Page */

.coin-info-view {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

    .coin-info-view .coin-icon {
        width: 35px;
        height: 45px;
    }

    .coin-info-view .coin-count {
        font-size: 40px;
    }

.coin-buy-section {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 80px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.coins-section-title {
    font-size: 40px;
    margin-bottom: 12px;
}

.coin-buy-tagline {
    font-size: 18px;
    margin-bottom: 18px;
    color: #333;
    font-weight: 500;
}

.coin-buy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    text-align: start;
}

    .coin-buy-list li {
        font-size: 15px;
        margin-bottom: 8px;
        color: #444;
    }

.buy-coins-button {
    display: inline-block;
    background: var(--color-pink);
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s ease;
}

    .buy-coins-button:hover {
        background: var(--color-pink)
    }

.invite-section {
    text-align: center;
    border-radius: 20px;
}

.invite-title-coins {
    font-family: 'Brush Script MT', cursive;
    color: var(--color-pink);
    margin-bottom: 20px;
    font-size: 40px;
}

.invite-visual {
    max-width: 250px;
    margin-bottom: 20px;
}

.shared-contacts-section {
    margin: 60px 0;
}

.shared-contacts-title {
    font-family: 'Brush Script MT', cursive;
    color: #d61286;
    margin-bottom: 20px;
    font-size: 40px;
}

.invited-user {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.invite-description {
    font-size: 16px;
    color: #222;
    margin-bottom: 20px;
    padding: 0 10px;
}

.invite-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.invite-btn {
    background-color: var(--color-pink);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

    .invite-btn img {
        width: 20px;
        height: 20px;
    }

    .invite-btn:hover {
        background-color: #b0106f;
    }

#back-btn-coins {
    display: flex;
    justify-content: center;
}

/* Vouchers Pahe */
.voucher-icon {
	width:25px;
	height:25px;
	margin-left: 25px;
	vertical-align: top;
}
.voucher-list {
    list-style: none;
    padding-left: 0;
    font-size: 18px;
}

.popup-link {
    font-size: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    color: #000;
    transition: background 0.2s;
}

.popup-link-title {
    text-decoration: underline;
    transition: background 0.2s, color 0.2s;
}

    .popup-link-title:hover {
        color: var(--color-pink);
    }

.popup-trigger {
    background: #eee;
    padding: 4px 10px;
    border: #444 solid 1px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
    text-underline-offset: 2px;
    color: #444;
}

.popup-link:hover .popup-trigger {
    background: var(--color-pink);
    color: white;
}

.gift-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.buy-external-button {
    width: 100%;
    padding: 14px;
    background-color: var(--color-pink);
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Vouchers Page */
/* Info links (popups) */
.voucher-info-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.info-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 2px solid rgb(214,18,134);
    background: #fff;
    color: rgb(214,18,134);
    font-weight: 700;
    cursor: pointer;
}

.info-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgb(214,18,134);
    color: #fff;
    font-weight: 800;
}

/* Cards grid */
.voucher-cards {
    display: flex;
    gap: 20px;
    margin: 20px 0 18px;
    flex-direction: column;
}

@media (min-width: 420px) {
    .voucher-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.voucher-card {
    position: relative;
    background: #fff;
    border: 2px solid rgba(214,18,134,.35);
    border-radius: 16px;
    padding: 14px 14px 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

    .voucher-card.highlight {
        border-color: rgb(214,18,134);
        box-shadow: 0 10px 22px rgba(214,18,134,.18);
    }

.badge-popular {
    position: absolute;
    top: -10px;
    left: 12px;
    background: rgb(214,18,134);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(214,18,134,.35);
}

.voucher-head {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
    padding-left: 13px;
    padding-top: 13px;
}

.voucher-illustration {
    width: 36px;
    height: 36px;
}

.voucher-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.voucher-points {
    margin: 5px 15px 10px;
    padding: 5px;
}

    .voucher-points li {
        margin: 4px 0;
        text-align: start;
    }

.voucher-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.voucher-price {
    font-weight: 800;
    color: #111;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    border: 2px solid rgb(214,18,134);
    color: rgb(214,18,134);
    background: #fff;
}

    .btn.buy {
        background: rgb(214,18,134);
        color: #fff;
        border-color: rgb(214,18,134);
    }

    .btn.secondary {
        background: #fff;
        color: rgb(214,18,134);
    }

    .btn.full {
        width: 100%;
        margin-top: 10px;
    }

    .btn.pink {
        background: rgb(214,18,134);
        color: #fff;
        border-color: rgb(214,18,134);
    }

/* My vouchers */
.section-title {
    margin: 6px 0 8px;
    font-size: 18px;
}

.voucher-empty {
    opacity: .8;
    margin-bottom: 10px;
}

.voucher-pill {
    display: inline-block;
    margin: 4px 6px 0 0;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 999px;
    line-height: 25px;
}
.voucher-pill a {text-decoration: none;}

/* Gift */
.gift-card {
    background: #fff;
    border: 2px solid rgba(214,18,134,.3);
    border-radius: 16px;
    padding: 14px;
    margin-top: 10px;
}

.gift-row {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

/* End Of Pages */
/* Media Query */
@media only screen and (max-width: 767px) {
    .phone-frame {
        display: flex;
        position: relative;
        align-items: center;
        border: none;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        width: 100%;
        height: 100%;
        max-height: unset;
    }

    .content {
        height: 100%;
        overflow-x: hidden;
    }

    .avatar-options {
        max-width: 70%;
    }

    .review-and-name {
        display: flex;
        flex-direction: column;
        max-width: 190px
    }
}
