/*******************************************
 * HEADER
 *******************************************/
.fame-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    /* center the header title horizontally */
    height: 70px;
    background-color: #334F65;
    color: white;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Position logo on the left edge absolutely */
.fame-header-logo {
    position: absolute;
    left: 20px;
    /* tweak if you need more or less spacing from the edge */
}

.fame-header-title {
    font-size: 36px;
    font-family: Helvetica, Arial, sans-serif;
    /* no margin-left needed now */
}

/* On mobile, stack them vertically */
@media (max-width: 900px) {
    .fame-header {
        position: static;
        /* remove fixed for stacking to work more naturally */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        padding: 10px 20px;
    }

    .fame-header-logo {
        position: static;
        /* so it appears above the title */
        margin-bottom: 10px;
    }

    .fame-header-title {
        font-size: 28px;
        /* smaller text on mobile, if desired */
        text-align: center;
    }
}


/*******************************************
   * FOOTER
   *******************************************/
.fame-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    background-color: #334F65;
    color: white;
    text-align: center;
    font-size: 12px;
    z-index: 1000;

    /* Horizontal padding ensures text doesn't get clipped on narrow screens */
    padding: 10px 20px;
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif;
}

.fame-footer p {
    margin: 5px 0;
    /* Let text wrap naturally, no clipping on the right edge */
    word-wrap: break-word;
}

/*******************************************
   * MAIN PAGE LAYOUT
   *******************************************/
/*
   We use flex with flex-start and gap to evenly space content.
   Content adapts to viewport size, with scrolling when necessary.
*/
.main-container {
    margin-top: 70px;
    /* match header height */
    margin-bottom: 70px;
    /* match footer height */

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* start from top and use gap for spacing */
    align-items: center;
    gap: clamp(20px, 3vh, 40px);
    /* responsive gap: min 20px, max 40px, scales with viewport */

    padding: 20px;
    padding-bottom: 40px;
    /* extra padding at bottom to ensure content doesn't touch footer */
    width: 100%;
    background-color: #FFFFFF;
    box-sizing: border-box;

    /* Overall font size for the main page */
    font-size: 22px;
    font-family: Helvetica, Arial, sans-serif;
}

/* Full-width text, centered horizontally */
.full-width-center-text {
    width: 100%;
    text-align: center;
}

.main-container-success {
    margin-top: 70px;
    /* match header height */
    margin-bottom: 70px;
    /* match footer height */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* either use flex-start or omit justify-content entirely */
    justify-content: flex-start;
    padding: 20px;
    min-height: calc(100vh - 140px);
    width: 100%;
    background-color: #FFFFFF;
    box-sizing: border-box;
    font-size: 22px;
    font-family: Helvetica, Arial, sans-serif;
}

/* Control the vertical gap between your elements: */
.main-container-success h1 {
    margin-bottom: 20px;
}

.main-container-success p {
    margin-bottom: 20px;
}

.fame-screenshot {
    width: 600px;
    margin-top: 100px;
}

/*******************************************
   * FORM & BUTTON
   *******************************************/
.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Vertical gap between input and button */
.form-container input {
    margin-bottom: 20px;
}

/* Button styling */
.claim-button {
    background-color: #334F65;
    /* same color as header/footer */
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
}

.claim-button:hover {
    opacity: 0.8;
    /* optional hover effect */
}

/*******************************************
   * OTP Validation Message
   *******************************************/
.invalid-otp-message {
    color: red;
    text-align: center;
    margin-bottom: 20px;
}

/*******************************************
   * Misc.
   *******************************************/
.resend-otp {
    width: 100%;
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
}

/* Inputs & labels */
label {
    text-align: left;
    color: rgba(48, 48, 48, 0.8);
    width: 327px;
    height: 12px;
    margin-bottom: 6px;
}

input {
    width: 302px;
    height: 21px;
    border: none;
    outline: none;
    display: flex;
    align-items: flex-end;
    text-align: left !important;
}

input:focus::placeholder {
    color: transparent !important;
}

.enabled {
    color: rgba(48, 48, 48, 0.8);
    border: 1px solid #C4C5CA;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 10px 13px 9px 12px;
    width: 327px;
    height: 40px;
}

/*******************************************
   * TOP AND BOTTOM CONTENT SECTIONS
   *******************************************/
.top-content {
    flex-shrink: 0;
    /* prevent shrinking */
    width: 100%;
}

.bottom-content {
    width: 100%;
    text-align: center;
    flex-shrink: 0;
    /* prevent shrinking */
}

/*******************************************
   * FOOTNOTE & WALLET ICONS
   *******************************************/
.footnote {
    margin-bottom: 20px;
    font-size: 16px;
    margin-top: 0;
    /* remove fixed margin, let flexbox gap handle spacing */
    padding-bottom: 10px;
    /* ensure space below the image for smaller screens */
}

.wallet-info {
    margin-top: 20px;
    /* gap above icon rows */
}

.app-group {
    margin-bottom: 5px;
    /* space between first & second row of icons */
}

.icons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /* horizontal gap between icons */
}

.app-icon {
    height: auto;
    cursor: pointer;
    border: 3px solid #555;
}

.app-icon-sphereon {
    width: 40px;
}

.app-icon-paradym {
    width: 40px;
}

.store-icons-first {
    margin-top: 10px;
    height: auto;
}

.store-icons-second {
    margin-top: 7px;
    height: auto;
}

.store-icon {
    width: 75px;
}

/*******************************************
   * CONFIRMATION MODAL
   *******************************************/
.modal-overlay {
    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;
    z-index: 2000;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    text-align: center;
    font-family: Helvetica, Arial, sans-serif;
}

.modal-content h3 {
    color: #334F65;
    margin-bottom: 20px;
    font-size: 24px;
}

.modal-content p {
    color: rgba(48, 48, 48, 0.8);
    line-height: 1.5;
    margin-bottom: 30px;
    font-size: 18px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cancel-button, .confirm-button {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-family: Helvetica, Arial, sans-serif;
    transition: opacity 0.2s;
}

.cancel-button {
    background-color: #ccc;
    color: #333;
}

.cancel-button:hover {
    opacity: 0.8;
}

.confirm-button {
    background-color: #334F65;
    color: white;
}

.confirm-button:hover {
    opacity: 0.8;
}