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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: #000;
    color: #fff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    align-items: center;
}

.signup-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100%;
    background: #171717;
    border-right: 1px solid #494949;
    position: relative;
}

.back-btn {
    position: absolute;
    left: 20px;
    top: 20px;
}

.back-arrow {
    background: #242424;
    padding: 8px;
    border: 1px solid #404040;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-arrow:hover {
    background: #3a3a3a;
    border-color: #555555;
}

#signupForm {
    width: 80%;
    max-width: 800px;
    margin-bottom: 30px;
}

h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 8px;
}

.subtitle {
    color: #888;
    margin-bottom: 32px;
    font-size: 15px;
}

.subtitle a {
    color: #888;
    text-decoration: none;
    transition: color 0.1s;
}

.subtitle a:hover {
    color: #fff;
    text-decoration: underline;
}

.form-group {
    margin-bottom: 20px;
}

.row-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.altert-text {
    font-size: 12px;
    font-weight: 600;
    color: #bb0b0b;
}

.row-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

#tooltipUsername,
.tooltipPassword {
    fill: #666;
    transition: all 0.2s ease;
    cursor: pointer;
}

#tooltipUsername:hover,
.tooltipPassword:hover {
    fill: #fff;
    cursor: pointer;
}

.tooltip-wrapper {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip-content {
    visibility: hidden;
    width: 220px;
    background-color: #333;
    color: #eee;
    text-align: left;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.4;
    position: absolute;
    z-index: 10;
    bottom: 30px;
    left: -8px;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    white-space: normal;
}

.tooltip-wrapper:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

.tooltip-content::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 10px;
    margin-top: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 44px;
}

.password-wrapper svg {
    fill: #999;
}

.toggle-repeat-password,
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    padding: 0;
}

.toggle-repeat-password:hover,
.toggle-password:hover {
    background: rgba(255, 255, 255, 0.05);
}

.toggle-repeat-password:focus,
.toggle-password:focus {
    outline: none;
}

input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    caret-color: #fff;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    outline: none;
}

input::placeholder {
    color: #666;
}

input:hover {
    border-color: #0bbb95;
}

input:focus {
    border-color: #0eddb0;
}

input:-webkit-autofill {
    -webkit-text-fill-color: #fff;
    transition: background-color 5000s ease-in-out 0s;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.create-btn {
    width: 100%;
    padding: 14px;
    background: #0b9779;
    border: 1px solid #0bbb95;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 12px;
}

.create-btn:hover {
    background: #0a775f;
}

.create-btn:active {
    transform: translateY(1px);
}

.terms {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 20px;
}

.terms a {
    color: #888;
    text-decoration: underline;
    transition: color 0.3s;
}

.terms a:hover {
    color: #fff;
}

.preview-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100%;
    background: #202020;
    position: relative;
    overflow: hidden;
}

.baground-motif {
    position: absolute;
    bottom: -300px;
    height: 50%;
    transform: scale(2.5);
    z-index: 1;
}

.user-card-main {
    background: rgba(40, 40, 40, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 14px;
    padding: 15px;
    text-align: center;
    width: 100%;
    height: 90%;
    max-height: 600px;
    max-width: 420px;
    z-index: 2;
}

.user-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(40, 40, 40, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    border-radius: 10px;
    padding: 48px 40px;
    text-align: center;
    width: 100%;
    height: 100%;
}

.wrapper-chard {
    margin: 0 auto 24px;
    position: relative;
}

.rope-hanger {
    background: rgba(148, 148, 148, 0.2);
    border: 1px solid rgba(102, 102, 102, 0.6);
    border-radius: 6px;
    height: 100vh;
    width: 45px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}


.hole-chard {
    width: 50px;
    height: 10px;
    border-radius: 10px;
    background: #000;
}

.avatar-upload {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    position: relative;
    cursor: pointer;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(40, 40, 40, 0.6);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.avatar-upload:hover .avatar-placeholder {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(50, 50, 50, 0.6);
}

.plus-icon {
    font-size: 32px;
    color: #666;
    margin-bottom: 4px;
}

.avatar-text {
    font-size: 11px;
    color: #666;
}

.avatar-size {
    font-size: 10px;
    color: #555;
}

.user-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #666;
}

.user-dots {
    color: #333;
    font-size: 20px;
    letter-spacing: 4px;
    line-height: 20px;
    margin-bottom: 32px;
}

.user-id-container {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
}

.barcode {
    height: 40px;
    margin-bottom: 12px;
    box-shadow: 0 0 8px rgba(5, 187, 102, 0.2);
    background: repeating-linear-gradient(
        90deg,
        #0bbb80,
        #0ec25f 2px,
        transparent 2px,
        transparent 4px,
        #0bbb80 4px,
        #0ec25f 6px,
        transparent 6px,
        transparent 10px,
        #0bbb95 10px,
        #0ec25f 11px,
        transparent 11px,
        transparent 13px
    );
    opacity: 0.6;
}

.user-id {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #666;
    letter-spacing: 1px;
}

.container-warapper-footer {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 70px;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    display: flex;
    gap: 6px;
}

.footer-icon {
    width: 20px;
    height: 20px;
}

.wrapper-support {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

/* Popup */
#signupSuccessModal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(3px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.container-success {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border: 1px solid #383838;
    border-radius: 16px;
    padding: 40px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    animation: slideUp 0.4s ease;
    position: relative;
    overflow: hidden;
}

.icon-success {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #0eddb0 0%, #0bbb95 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(14, 221, 176, 0.2);
    animation: scaleIn 0.5s ease 0.2s backwards;
    position: relative;
    z-index: 1;
}

.icon-success svg {
    margin: 3px 0 0 4px;
}

.title-success {
    color: #0eddb0; 
    font-size: 24px; 
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.text-success {
    color: #b3b3b3; 
    margin-bottom: 32px;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

#loginRedirectBtn {
    background: #0b9779;
    color: white;
    border: 1px solid #0bbb95;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {  transform: translateY(30px); opacity: 0; }
    to {  transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
    from {  transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 1px;
    width: 0%;
    background: #0bbb95;
    z-index: 200;
    transition: width 0.4s ease;
}

/* ===== IN ===== */
.fade-up {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

#deviceBlocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #111;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    z-index: 999999;
    padding: 20px;
}
