/* hello */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    box-sizing: border-box;
  }

html {
    overflow-y: scroll;
  }


body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-optical-sizing: auto;
    font-weight: 700;
    line-height: 160%;
    text-wrap: pretty;
    font-style: normal;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: start;
    margin: 0;
    padding: 0;
    width: 100%; 
    align-items: center;
    min-width: 320px;
    min-height: 100vh;
    color: #ebebeb;
}

[x-cloak] { display: none !important; }


.viewport {
    width: 100%;
    max-width: 600px;
    padding: 50px 30px;
    background-color: black;
    flex-direction: column;
    display: flex;
    align-items: left;
    box-sizing: border-box;
}

.top_panel {
    display: flex;
    flex-direction: row;
    width: 100%;
    box-sizing: border-box;
    align-items: center; 
    justify-content: space-between;
}

.text_16px_pink {
    width: 375px;
    text-align: center;
    font-size: 16px;
    color: #FF0367;
    margin-bottom: 20px;

}

a {
    font-family: inherit;
    font-weight: inherit;
    color: inherit;
}

@media (hover: hover) {
    a.button_black_large:hover {
        background: #ebebeb;
        color: black;
        cursor: pointer;
    }
}

button {
    font-family: inherit;
    font-weight: inherit;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

@media (hover: hover) {
    button:not(:disabled):hover {
        background: #ebebeb;
        color: black;
        cursor: pointer;
    }
}

.button_black_large {
    align-self: center;
    background: black;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #ebebeb;
    border-color: #ebebeb;
    border: 2px solid #ebebeb;
    padding: 12px 20px 13px;
    margin: 0px 0px;
    display: inline-block;
    text-decoration: none;
}

.button_pink_large {
    align-self: center;
    background: #FF0367;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #ebebeb;
    padding: 12px 20px 13px;
    margin: 0px 0px;
    display: flex;
    text-decoration: none;
    border: none;
}

@media (hover: hover) {
    button.button_pink_large:not(:disabled):hover {
        color: #ebebeb;
        background: #c70250;
    }
}

.button_black_small {
    align-self: center;
    background: black;
    border-radius: 12px;
    font-size: 16px;
    color: #ebebeb;
    border-color: #ebebeb;
    border: 2px solid #ebebeb;
    padding: 6px 20px 8px;
    margin: 0px 0px;
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
}

.spinner {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    border: 4px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #ebebeb;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

div.email_input {
    max-width: 375px;
    align-self: left;
    text-align: left;
}

input {
    border-radius: 0;
}

input.email_input {
    background-color: black;
    border: none;
    border-bottom: 2px solid #ebebeb;
    font: inherit;
    font-size: 18px;
    text-align: left;
    color: #ebebeb;  /* Assuming you would want the text color to be visible on a black background */
    width: 100%;  /* or specify a particular width */
    padding: 10px 0px; /* or any padding you prefer */
    margin-bottom: 20px;
}

input.email_input:focus {
    outline: none; 
}

input.email_input::placeholder {
    font-size: 20px;
}

div.code_input {
    max-width: 375px;
    display: block; 
}




input.code_input {
    background-color: transparent;
    letter-spacing: 30px;
    width: 100%;
    border: none;
    border-bottom: 2px solid #ebebeb;
    font-family: monospace;
    font-size: 24px;
    text-align: left;
    color: #ebebeb;  
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 20px;
    padding-left: 0px;
    text-align: left;
}

input.code_input:focus {
    outline: none; 
}

input.code_input::placeholder {
    font-size: 20px;
    letter-spacing: normal;
}

.text_16px_white {
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: #ebebeb;
    margin-bottom: 20px;

}

.text_16px_pink {
    width: 375px;
    text-align: left;
    font-size: 16px;
    color: #FF0367;
    margin-bottom: 20px;
    margin-left: 0px;

}

input[type="checkbox"] {
    vertical-align: middle;
    margin: 10px;
}

@keyframes blink {
    0% { color: inherit; }
    50% { color: #FF0367; }
    100% { color: inherit; }
}

.pseudo-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (hover: hover) {
    .pseudo-disabled:hover {
        background: inherit !important;
        color: inherit !important;
        opacity: 0.6;
        cursor: not-allowed !important;
    }
}

.blink-once {
    animation: blink 0.5s ease-in-out 1;
}

blockquote {
    border-left: 4px solid #ccc;
    margin-left: 0;
    padding-left: 10px;
    font-style: italic;
}


.header {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0px;
}

.logo {
    font-size: 42px; 
    font-weight: 700;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.logo_super {
    font-size: 16px; 
    font-weight: 400; 
    position: relative; 
    vertical-align: baseline; 
    top: -1.7em;
}

@media (hover: hover) {
    .close-btn:hover,
    .download-btn:hover,
    .nav-btn:hover {
        opacity: 0.8;
    }
}

.nav-btn {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50%;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin-top: 30px;
    gap: 0;
}

.text-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none; /* Removes the resize handle */
    font-size: 1rem;
    min-height: 2.5rem; /* Minimum height for single line */
    overflow: hidden; /* Removes scrollbar */
    line-height: 1.5;
    transition: height 0.1s ease;
    box-sizing: border-box;
}

.char-counter {
    font-size: 0.875rem;
    color: #666;
    text-align: right;
}

.text-red-500 {
    color: #ef4444;
}

.button_pink_large:disabled,
.button_black_large:disabled,
.button_black_small:disabled,
.button_pink_large:disabled.active,
.button_black_large:disabled.active,
.button_black_small:disabled.active {
    opacity: 0.5;
    cursor: not-allowed;
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.balance-section {
    margin-bottom: 20px;
}

.balance-section h3 {
    margin-bottom: 0px;
}

/* welcome section */

.welcome-section {
    font-size: 16px;
    font-optical-sizing: auto;
    font-weight: 400;
    line-height: 1.5rem;
    margin-bottom: 10px;
}

/* Preview Section */
.preview-section {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 20px;
    line-height: 0;
}

.img_loader {
    width: 100%; 
    aspect-ratio: 1; 
    display: flex; 
    justify-content: center; 
    align-items: center;
}

.single-preview img {
    width: 100%;
    height: auto;
    cursor: pointer;

}

.triple-preview {
    display: flex;
    gap: -px;
}

.triple-preview img {
    width: calc(33.333% - 1.333px);
    height: auto;
    cursor: pointer;
}

.five-preview {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.five-preview .top-row {
    display: flex;
    gap: 0px;
}

.five-preview .top-row img {
    width: calc(50%);
    height: auto;
    cursor: pointer;
}

.five-preview .bottom-row {
    display: flex;
    gap: 0px;
}

.five-preview .bottom-row img {
    width: calc(33.34%);
    height: auto;
    cursor: pointer;
}

/* Fullscreen Modal */

.no-scroll {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none; /* Remove focus outline */
}

.image-strip-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.image-strip {
    display: flex;
    height: 100%;
    transform: translateX(0);
    transition: transform 0.3s ease-out;
}

.image-strip > * {
    flex: 0 0 100%;
    width: 100%;
}

.image-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.download-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


/* Prompt Section */
.prompt-section {
    margin-bottom: 10px;
}

.form-container {
    width: 100%;
    margin: 0px;
}

.text-input {
    width: 100%;
    min-height: 60px;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #ebebeb;
    font-size: 16px;
    resize: none;
    margin-bottom: 0px;
}

.text-input:focus {
    outline: none;
    border-color: #ff69b4;
}

.char-counter {
    text-align: right;
    font-size: 14px;
    color: #666;
    margin-bottom: 0px;
    gap:0px;
}

.char-counter.warning {
    color: #ff69b4;
}

/* batch and size */

.batch-and-size {
    display: flex;
    flex-wrap: wrap;
}

/* Batch Section */
.batch-section {
    margin-bottom: 10px;
    margin-right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 20px;
}

.batch_size {
    margin: 0px 10px;
    font-family: monospace;
    font-size: 1.2rem;
}

/* Size Section */
.size-section {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 20px;
    min-width: 300px;
}

.size-section span {
    margin: 0px 5px;
    font-family: monospace;
}

.size-section button.active {
    background-color: #ebebeb;
    color: #1a1a1a;
    opacity: 1;
    cursor: auto;
}

.size-section button:nth-of-type(odd) {
    border-radius: 12px 0px 0px 12px;
    padding-left: 10px;
    padding-right: 5px;

}

.size-section button:nth-of-type(even) {
    border-radius: 0px 12px 12px 0px;
    padding-left: 5px;
    padding-right: 10px;

}


/* top up section */

.topup-section{
    margin-bottom: 20px;
}

.payment-methods {
    display: flex;
    margin-top: 20px;
}

.payment-methods button.active {
    background-color: #ebebeb;
    color: #1a1a1a;
    opacity: 1;
    cursor: auto;
}

.payment-methods button:nth-of-type(1) {
    border-radius: 12px 0px 0px 12px;

}

.payment-methods button:nth-of-type(2) {
    border-radius: 0px;
    border-width: 2px 0px;

}

.payment-methods button:nth-of-type(3) {
    border-radius: 0px 12px 12px 0px ;

}

.crypto-options {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.crypto-options button {
    align-self: flex-start;
  }

.crypto-options button {
    margin-top: 20px;
}

/* Telegram Section */
.telegram-section {
    margin: 20px 0;
}

.code_input {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #ebebeb;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Error Messages */
.error-message {
    color: #ff69b4;
    font-size: 14px;
    margin: 10px 0px;
    line-height: 1.1rem;
}

/* Success Messages */
.success-message {
    color: #7fff69;
    font-size: 14px;
    margin: 10px 0px;
    line-height: 1rem;
}

/* sign in form */

div.auth_email_input {
    max-width: 375px;
    align-self: left;
    text-align: left;
}
    
input.auth_email_input {
    background-color: black;
    border: none;
    border-bottom: 2px solid #ebebeb;
    font: inherit;
    font-size: 18px;
    text-align: left;
    color: #ebebeb;  /* Assuming you would want the text color to be visible on a black background */
    width: 100%;  /* or specify a particular width */
    padding: 10px 0px; /* or any padding you prefer */
    margin-bottom: 20px;
}

input.auth_email_input:focus {
    outline: none; 
}

input.auth_email_input::placeholder {
    font-size: 20px;
}

div.auth_code_input {
    max-width: 375px;
    display: block; 
}


input.auth_code_input {
    background-color: transparent;
    letter-spacing: 30px;
    width: 100%;
    border: none;
    border-bottom: 2px solid #ebebeb;
    font-family: monospace;
    font-size: 24px;
    text-align: left;
    color: #ebebeb;  
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 20px;
    padding-left: 0px;
    text-align: left;
}

input.auth_code_input:focus {
    outline: none; 
}

input.auth_code_input::placeholder {
    font-size: 20px;
    letter-spacing: normal;
}



/* Sign out */
.signout-section {
    margin-top: 50px;
}