/* ===========================
   TRUE GLASS MORPHISM 3D
   =========================== */
:root {
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-bg-heavy: rgba(255, 255, 255, 0.20);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-blur: 30px;
  --glass-shadow: 0 0 60px rgba(0,0,0,0.35);
  --glass-round: 22px;

  /* Glow colors */
  --glow-1: rgba(194, 193, 194, 0.45);
  --glow-2: rgba(0, 150, 255, 0.45);
}

/* GLASS CONTAINER */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-round);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  padding: 28px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: visible;
}



/* ===============================
   GLASS FOLDER-TAB STYLE (FINAL)
   =============================== */

/* TAB WRAPPER */
.amk-tabs {
    margin-top: 20px;
}

/* Limit page width (reduce wide size) */
#amkProfileDashboardWrapper {
    max-width: 720px; 
    margin: 0 auto;
}

.amk-tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
    position: relative;
    z-index: 5;
}


/* Tab Buttons */
.amk-tab-btn {
    padding: 10px 26px;
    cursor: pointer;
    font-weight: 600;
    color: #fff;

    /* Glass */
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;

    /* Folder Shape */
    clip-path: polygon(
        0% 100%,
        0% 30%,
        10% 0%,
        90% 0%,
        100% 30%,
        100% 100%
    );

    /* Hover glow */
    transition: 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}



.amk-tab-btn:hover {
    background: rgba(255,255,255,0.28);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255,255,255,0.25);
}

/* ACTIVE TAB LOOK */

.amk-tab-btn:hover {
    background: rgba(255,255,255,0.28);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255,255,255,0.25);
}


/* Panel under tabs */
.amk-tab-contents {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.32);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: 0 18px 18px 18px;
    padding: 24px;
    margin-top: -1px;
    min-height: 260px;
    color: #fff;
}

#amkLocationBox {
    position: relative;
    width: 100%;
}

#amkStatesCol, #amkCitiesCol {
    max-height: 220px;
    overflow-y: auto;
}

.loc-item {
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    color: #000;
}

.loc-item:hover {
    background: rgba(255,255,255,0.55);
}

/* HIDE INACTIVE TABS */
.amk-tab-box { display: none; }
.amk-tab-box.active { display: block; }

/* FORM FIELDS */
.glass-input,
.amk-tab-contents input,
.amk-tab-contents select {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 10px 12px;
        width: 300px;   /* adjust like 250px / 350px */
    max-width: 100%;
    margin-bottom: 12px;
    color: #000;
}
#amkUpdateInfoForm input[type="text"],
#amkUpdateInfoForm input[type="email"] {
    width: 60%;
}

#amkProfileDashboardWrapper {
    max-width: 720px;
}


/* ✅ WRAPPER FIX */
.amk-login-wrapper {
    position: relative;
}

/* ✅ LOGIN BOX POSITION */
/* ✅ BUBBLE CONTAINER */
.login-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1; /* behind content */
}

/* ✅ KEEP CONTENT ABOVE */
.amk-glass-login > *:not(.login-bubbles) {
    position: relative;
    z-index: 5;
}

/* ✅ BUBBLE BASE */
.login-bubbles .bubble {
    position: absolute;
    border-radius: 50%;

    background: radial-gradient(
        circle at 30% 30%,
        rgba(180,220,255,0.9),
        rgba(0,120,255,0.25) 60%,
        rgba(0,0,0,0.2)
    );

    backdrop-filter: blur(10px);

    box-shadow:
        inset 0 0 20px rgba(255,255,255,0.4),
        0 0 40px rgba(0,150,255,0.3);

    opacity: 0.9;
}


/* ✅ TOP LEFT (outside) */
.b1 {
    width: 100px;
    height: 100px;
    top: -40px;
    left: -40px;
}

/* ✅ RIGHT MIDDLE (outside) */
.b2 {
    width: 90px;
    height: 90px;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
}

/* ✅ BOTTOM RIGHT (outside) */
.b3 {
    width: 110px;
    height: 110px;
    bottom: -50px;
    right: -40px;
}
@keyframes floatBubble {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.login-bubbles .bubble {
    animation: floatBubble 6s ease-in-out infinite;
}


/* ✅ KEEP LOGIN ABOVE */


.amk-glass-login {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(22px);
}
.glass-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.glass-links a {
    color: #eeeef7;
    font-weight: 600;
    
}

/* ✅ Login input text = white */
.amk-glass-login input {
    color: #ffffff !important;
}
/* ✅ Placeholder color */
.amk-glass-login input::placeholder {
    color: rgba(255,255,255,0.7) !important;
}
.glass-input-box {
    background: rgba(255,255,255,0.15);
}
.amk-glass-login input:focus {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255,255,255,0.6);
}

/* ✅ FORCE BLUE-BLACK THEME (FINAL OVERRIDE) */
/* ✅ PURE GLASS SOCIAL BUTTON (FINAL) */
.amk-glass-login .glass-social-btn {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    padding: 12px;

    border-radius: 16px;

    /* ✅ PURE TRANSPARENT GLASS */
    background: rgba(255, 255, 255, 0.08) !important;

    backdrop-filter: blur(14px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;

    border: 1px solid rgba(255, 255, 255, 0.15) !important;

    color: #ffffff !important;

    /* ✅ soft depth (no heavy black) */
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.25),
        0 6px 18px rgba(0,0,0,0.35) !important;

    transition: all 0.25s ease;
}

/* ✅ REMOVE OLD GOOGLE / FACEBOOK COLORS */
.amk-glass-login .glass-social-btn.google,
.amk-glass-login .glass-social-btn.facebook {
    background: rgba(255,255,255,0.08) !important;
}



/* ✅ COMMON GLASS SOCIAL BUTTON */
.glass-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    padding: 12px;

    border-radius: 14px;

    /* ✅ BLUE‑BLACK GLASS BACKGROUND */
    background: linear-gradient(
        145deg,
        rgba(10, 18, 38, 0.85),
        rgba(16, 28, 55, 0.95)
    );

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.12);

    color: #ffffff;
    font-weight: 600;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.08);

    transition: all 0.25s ease;
}

/* ✅ HOVER EFFECT */
.glass-social-btn:hover {

    background: rgba(255,255,255,0.16) !important;

    transform: translateY(-2px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.35),
        0 10px 30px rgba(0,0,0,0.55),
        0 0 12px rgba(88,188,231,0.25);
}


.glass-social-btn img {
    width: 18px;
    height: 18px;
}



.glass-social-btn.facebook:hover {
    box-shadow:
        0 15px 40px rgba(0,0,0,0.7),
        0 0 16px rgba(24,119,242,0.5);
}

.glass-social-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: rgba(255,255,255,0.4);
}

/* BUTTON */
.glass-button {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    padding: 10px 16px;
    color: #000;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s ease;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.90);
}

.amk-glass-login {

    width: 360px;
    padding: 40px;
    border-radius: 28px;

    /* ✅ PURE GLASS (more transparent) */
    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);

    /* ✅ LIGHT BORDER */
    border: 1px solid rgba(255, 255, 255, 0.15);

    /* ✅ SOFT SHADOW (less dark) */
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);

    text-align: center;
}

.glass-or {
    margin: 18px 0;
    font-weight: 600;
    color: #333;
}

.glass-social a {
    display: block;
    margin-bottom: 10px;
    border-radius: 14px !important;
    overflow: hidden;
}

.glass-social img {
    border-radius: 14px;
}
/* OR text */
.glass-or {
    margin: 18px 0;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* Social buttons */
.glass-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}





/* =========================
   GLASS FORM
========================= */
.amk-glass-form {
    max-width: 420px;
}

/* FIELD WRAPPER */
.glass-field {
    position: relative;
    margin-bottom: 22px;
}

/* INPUT & SELECT */
.glass-field input,
.glass-field select,
.glass-field button {
    width: 100%;
    padding: 16px 14px;
    border-radius: 14px;
    border: 2px solid rgba(0,0,0,0.85);

    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    font-size: 16px;
    outline: none;

    /* 🔵 LIGHT BLUE TEXT */
    color: #030a2c;
}

/* PLACEHOLDER COLOR */
.glass-field input::placeholder {
    color: rgba(58, 160, 255, 0.315);
}

/* READ-ONLY */
.glass-field input:disabled {
    opacity: 0.7;
}

/* FLOATING LABEL */
.glass-field label {
    pointer-events: none;
    position: absolute;
    top: -10px;
    left: 14px;
    padding: 0 6px;
    font-size: 14px;
    font-weight: 700;

    background: rgba(255, 255, 255, 0.61);
    border-radius: 6px;

    /* 🔵 LABEL BLUE */
    color: #04275289;
}

/* LOCATION PANEL */


/* SHOW PANEL */
#amkLocPanel.open {
    display: block;
}

/* GLASS BUTTON */
.glass-button {
    margin-top: 18px;
    width: 100%;
    padding: 14px;
    border-radius: 16px;
    border: none;

    background: linear-gradient(145deg, #0d1833, #091022);

    /* 🔵 CHANGE FROM WHITE TO BLUE */
    color: #0cb6d4a6;

    font-weight: 700;
    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.glass-button:hover {
    transform: translateY(-2px);
    color: #0a72c1; /* optional hover white */
}

/* DELETE */
.glass-danger {
    background: linear-gradient(145deg, #b30000, #7a0000);
    margin-top: 26px;

    /* keep readable */
    color: #ffffff;
}


/* ===============================
   3D GLASS LOCATION PANEL
=============================== */
/* Two columns */
.amkStatesCol,
.amkCitiesCol {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 6px;
}

/* Scrollbar (optional) */
.amkStatesCol::-webkit-scrollbar,
.amkCitiesCol::-webkit-scrollbar {
    width: 6px;
}
.amkStatesCol::-webkit-scrollbar-thumb,
.amkCitiesCol::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.4);
    border-radius: 6px;
}

/* ===============================
   STATE / CITY ITEM (3D GLASS)
=============================== */

.amk-loc-item {
    padding: 10px 14px;
    margin-bottom: 6px;
    border-radius: 12px;

    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(14px);

    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #111;

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.7),
        inset 0 -2px 6px rgba(0,0,0,0.18),
        0 4px 12px rgba(0,0,0,0.2);

    transition: all 0.2s ease;
}

/* Hover = raised glass */
.amk-loc-item:hover {
    background: rgba(255,255,255,0.75);
    transform: translateY(-2px);
    box-shadow:
        0 8px 22px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

/* Active click */
.amk-loc-item:active {
    transform: translateY(0);
    box-shadow:
        inset 0 2px 6px rgba(0,0,0,0.35);
}

/* ===============================
   LOCATION BUTTON (MATCH GLASS)
=============================== */

.amkLocBtn {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: 2px solid rgba(0,0,0,0.85);

    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(18px);

    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.7),
        inset 0 -2px 6px rgba(0,0,0,0.2);
}

/* ===============================
   LOCATION FIELD
=============================== */
.glass-field.amk-location {
    position: relative;
    z-index: 10;
}

.glass-field label {
    pointer-events: none;
}

/* ===============================
   LOCATION PANEL (GLASS)
=============================== */
.amkLocPanel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    z-index: 9999;

    padding: 14px;
    border-radius: 18px;

    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.35),
        rgba(255,255,255,0.15)
    );
    backdrop-filter: blur(26px) saturate(180%);
    box-shadow: 0 20px 45px rgba(0,0,0,0.45);
}

/* ===============================
   TWO COLUMN LAYOUT
=============================== */
.amkLocCols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* ===============================
   STATES COLUMN
=============================== */
.amkStatesCol {
    position: relative;
}

/* Sticky search */
.amkStateSearch {
    position: sticky;
    top: 0;
    z-index: 2;

    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: none;

    background: rgba(255, 255, 255, 0.356);
    backdrop-filter: blur(10px);

    font-size: 14px;
    outline: none;
}

/* States list scrolls */
.amkStatesList {
    max-height: 220px;
    overflow-y: auto;
    margin-top: 8px;
}

/* ===============================
   STATE / CITY ITEMS
=============================== */
.amk-loc-item {
    padding: 10px 14px;
    margin-bottom: 6px;
    border-radius: 12px;
    cursor: pointer;

    background: rgba(255,255,255,0.55);
    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.6),
        0 4px 12px rgba(0,0,0,0.2);

    transition: all 0.2s ease;
}

/* State item layout */
.amk-state {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Arrow */
.amk-state-arrow {
    font-size: 14px;
    opacity: 0.6;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hover */
.amk-state:hover .amk-state-arrow {
    transform: translateX(4px);
    opacity: 1;
}

.amk-state:hover {
    background: rgba(88,188,231,0.55);
}

/* City hover */
.amk-city:hover {
    background: rgba(120,200,255,0.75);
}

/* ===============================
   PREVENT SEARCH CLICK BUG
=============================== */
.amkStateSearch:focus ~ .amkStatesList .amk-state:hover {
    background: rgba(255,255,255,0.55);
    transform: none;
}
.amkLocBtn {
    cursor: pointer;
    user-select: none;
}
/* SOLD BADGE (3D GLASS) */
.amk-sold-badge {
    position: absolute;
    top: 14px;
    left: 14px;

    padding: 6px 14px;
    border-radius: 14px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;

    background: linear-gradient(
        145deg,
        rgba(255,0,0,0.85),
        rgba(180,0,0,0.85)
    );

    backdrop-filter: blur(10px);
    box-shadow:
        0 6px 20px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.3);

    z-index: 5;
}
.amk-mark-sold-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 12px;
    background: green;
    color: #fff;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
}

.amk-mark-sold-btn:hover {
    background: darkgreen;
}


.pass-wrap {
    position: relative;
}

.toggle-pass {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    opacity: 0.7;
}

.toggle-pass:hover {
    opacity: 1;
}




.glass-panel {
    overflow: visible !important;
    box-shadow: none !important;
}

/* ✅ FULL PAGE BACKGROUND */
body {
    background: radial-gradient(circle at center, #020617, #000000);
    overflow: hidden;
}

/* ✅ BUBBLE CONTAINER */
.bubble-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

/* ✅ BUBBLE STYLE */
.bubble {
    position: absolute;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    box-shadow:
        inset 0 0 20px rgba(255,255,255,0.3),
        0 0 30px rgba(0,150,255,0.3);
    animation: riseBubble 20s infinite ease-in;
}

/* ✅ DIFFERENT SIZES */
.bubble:nth-child(1) { width: 80px; height: 80px; left: 10%; animation-duration: 18s; }
.bubble:nth-child(2) { width: 120px; height: 120px; left: 25%; animation-duration: 22s; }
.bubble:nth-child(3) { width: 60px; height: 60px; left: 40%; animation-duration: 15s; }
.bubble:nth-child(4) { width: 140px; height: 140px; left: 60%; animation-duration: 25s; }
.bubble:nth-child(5) { width: 90px; height: 90px; left: 75%; animation-duration: 20s; }
.bubble:nth-child(6) { width: 110px; height: 110px; left: 90%; animation-duration: 23s; }

/* ✅ ANIMATION */
@keyframes riseBubble {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-110vh) scale(1.1);
        opacity: 0;
    }
}


.bubble-bg {
    z-index: 0;
}


/* FULL SCREEN CENTER WRAPPER */
.amk-login-wrapper {
    position: relative;   /* 🔥 MUST */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
/* ✅ BUBBLE CONTAINER */
/* ✅ BUBBLE CONTAINER */
.login-bubbles {
    position: absolute;
    inset: 0;
    z-index: 2;           /* 🔥 above background */
    pointer-events: none;
}

/* ✅ EACH BUBBLE */
.login-bubbles .bubble {
    position: absolute;
    border-radius: 50%;

    background: radial-gradient(
        circle at 30% 30%,
        rgba(120, 200, 255, 0.8),
        rgba(0, 130, 255, 0.25) 60%,
        rgba(0, 0, 0, 0.25) 100%
    );

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        inset 0 0 25px rgba(255,255,255,0.4),
        0 0 50px rgba(0,150,255,0.35);

    opacity: 0.85;
}

/* ✅ LEFT TOP */
.b1 {
    width: 120px;
    height: 120px;
    top: 60px;
    left: 40px;
}

/* ✅ RIGHT SIDE */
.b2 {
    width: 90px;
    height: 90px;
    top: 180px;
    right: 60px;
}

/* ✅ LEFT BOTTOM */
.b3 {
    width: 140px;
    height: 140px;
    bottom: 80px;
    left: 60px;
}

/* ✅ RIGHT BOTTOM */
.b4 {
    width: 110px;
    height: 110px;
    bottom: 40px;
    right: 40px;
}

.amk-glass-login {
    position: relative;
    z-index: 5;
}

@keyframes floatBubble {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.login-bubbles .bubble {
    animation: floatBubble 6s ease-in-out infinite;
}

.bubble::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6), transparent);
}

/* ✅ REMOVE OLD SHAPES COMPLETELY */
.glass-panel::before,
.glass-panel::after,
.amk-glass-login::before,
.amk-glass-login::after {
    content: none !important;
    display: none !important;
}

/* ✅ FULL SCREEN BACKGROUND */
body {
    margin: 0;
    background: radial-gradient(circle at top, #6fd4ff 0%, #0b3a7a 60%, #02132e 100%);
    overflow: hidden;
}

/* ✅ SPHERE CONTAINER */
.sphere-bg {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

/* ✅ 3D GLASS SPHERE */
.sphere {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    position: relative;

    background: radial-gradient(
        circle at 30% 25%,
        rgba(255,255,255,0.9) 0%,
        rgba(255,255,255,0.1) 35%,
        rgba(0,80,160,0.4) 70%,
        rgba(0,20,60,0.9) 100%
    );

    box-shadow:
        0 25px 45px rgba(0,0,0,0.45),
        0 0 40px rgba(0,180,255,0.35) inset;

    backdrop-filter: blur(6px);
}

/* ✅ TOP HIGHLIGHT */
.sphere::before {
    content: "";
    position: absolute;
    top: 12%;
    left: 18%;
    width: 55%;
    height: 35%;
    border-radius: 50%;

    background: radial-gradient(
        circle at 30% 20%,
        rgba(255,255,255,0.95) 0%,
        rgba(255,255,255,0.2) 55%,
        transparent 100%
    );
}

/* ✅ BOTTOM REFLECTION */
.sphere::after {
    content: "";
    position: absolute;
    bottom: 8%;
    right: 18%;
    width: 45%;
    height: 30%;
    border-radius: 50%;

    background: radial-gradient(
        circle at 70% 80%,
        rgba(255,255,255,0.4) 0%,
        transparent 70%
    );
}



/* ============================================================
   REGISTER PAGE — 3D GLASS MORPHISM + FLOATING LABELS
   ============================================================ */

/* ── PAGE WRAPPER ─────────────────────────────────────────── */
.amk-reg-page-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 16px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* ── DEEP BACKGROUND ORBS ─────────────────────────────────── */
.reg-bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.reg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: regOrbPulse 12s ease-in-out infinite;
}

.reg-orb-1 {
    width: 500px; height: 500px;
    top: -120px; left: -100px;
    background: radial-gradient(circle, rgba(0,160,255,0.6), transparent 70%);
    animation-delay: 0s;
}
.reg-orb-2 {
    width: 400px; height: 400px;
    bottom: -80px; right: -80px;
    background: radial-gradient(circle, rgba(80,40,200,0.5), transparent 70%);
    animation-delay: 4s;
}
.reg-orb-3 {
    width: 300px; height: 300px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0,220,180,0.3), transparent 70%);
    animation-delay: 7s;
}

@keyframes regOrbPulse {
    0%, 100% { transform: scale(1); opacity: 0.35; }
    50%       { transform: scale(1.12); opacity: 0.50; }
}
.reg-orb-3 { animation-name: regOrb3Pulse; }
@keyframes regOrb3Pulse {
    0%, 100% { transform: translate(-50%,-50%) scale(1);    opacity: 0.30; }
    50%       { transform: translate(-50%,-50%) scale(1.15); opacity: 0.45; }
}

/* ── RISING BACKGROUND BUBBLES ────────────────────────────── */
.reg-rise-bubbles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.reg-rb {
    position: absolute;
    bottom: -160px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 32% 28%,
        rgba(160, 220, 255, 0.65),
        rgba(0, 130, 255, 0.15) 55%,
        transparent 100%
    );
    box-shadow: inset 0 0 18px rgba(255,255,255,0.35), 0 0 30px rgba(0,150,255,0.2);
    backdrop-filter: blur(6px);
    animation: regRise linear infinite;
    opacity: 0;
}

.reg-rb::before {
    content: "";
    position: absolute;
    top: 12%; left: 16%;
    width: 38%; height: 24%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.85) 0%, transparent 100%);
}

.reg-rb-1 { width: 70px;  height: 70px;  left: 8%;  animation-duration: 18s; animation-delay: 0s;   }
.reg-rb-2 { width: 45px;  height: 45px;  left: 22%; animation-duration: 14s; animation-delay: 3s;   }
.reg-rb-3 { width: 100px; height: 100px; left: 38%; animation-duration: 22s; animation-delay: 6s;   }
.reg-rb-4 { width: 55px;  height: 55px;  left: 58%; animation-duration: 16s; animation-delay: 1.5s; }
.reg-rb-5 { width: 80px;  height: 80px;  left: 74%; animation-duration: 20s; animation-delay: 9s;   }
.reg-rb-6 { width: 40px;  height: 40px;  left: 90%; animation-duration: 13s; animation-delay: 4.5s; }

@keyframes regRise {
    0%   { transform: translateY(0)      scale(0.85); opacity: 0;    }
    10%  {                                             opacity: 0.65; }
    85%  {                                             opacity: 0.55; }
    100% { transform: translateY(-110vh) scale(1.05); opacity: 0;    }
}

/* ── MODAL CARD — 3D LAYERED GLASS ───────────────────────── */
.amk-reg-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: 32px;
    z-index: 5;

    /* 3D outer shell */
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.13) 0%,
        rgba(255,255,255,0.05) 60%,
        rgba(0,80,160,0.10) 100%
    );
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);

    border-top:    1px solid rgba(255,255,255,0.40);
    border-left:   1px solid rgba(255,255,255,0.28);
    border-right:  1px solid rgba(255,255,255,0.10);
    border-bottom: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 2px  0   rgba(255,255,255,0.30) inset, /* top highlight rim */
        0 40px 80px rgba(0,0,0,0.55),
        0 8px  32px rgba(0,120,255,0.18),
        0 0    0  2px rgba(255,255,255,0.06);

    /* subtle 3D tilt feel */
    transform: perspective(900px) rotateX(1.5deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: visible; /* allows overlay bubbles to bleed out */
}

.amk-reg-card:hover {
    transform: perspective(900px) rotateX(0deg) translateY(-4px);
    box-shadow:
        0 2px 0   rgba(255,255,255,0.35) inset,
        0 52px 90px rgba(0,0,0,0.60),
        0 12px 40px rgba(0,140,255,0.25),
        0 0    0  2px rgba(255,255,255,0.10);
}

/* ── INNER DEPTH LAYER ────────────────────────────────────── */
.amk-reg-inner {
    position: relative;
    z-index: 3;
    padding: 44px 38px 36px;
    border-radius: 32px;

    /* secondary glass layer for depth illusion */
    background: linear-gradient(
        160deg,
        rgba(255,255,255,0.06) 0%,
        rgba(0,40,100,0.04)  100%
    );
}

/* ── OVERLAY BUBBLES (bleed over modal edges) ─────────────── */
.reg-modal-bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 6; /* above card, below nothing */

    background: radial-gradient(
        circle at 32% 28%,
        rgba(180, 235, 255, 0.82),
        rgba(0, 150, 255, 0.22) 55%,
        rgba(0, 10, 60, 0.18) 100%
    );
    box-shadow:
        inset 0 0 24px rgba(255,255,255,0.50),
        0 0 44px rgba(0,160,255,0.32);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.reg-modal-bubble::before {
    content: "";
    position: absolute;
    top: 11%; left: 14%;
    width: 40%; height: 26%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.92) 0%, transparent 100%);
}

/* Position: each bubble overlaps a corner / edge of the card */
.rmb-1 {
    width: 110px; height: 110px;
    top: -48px; left: -42px;
    animation: rmbFloat 7.0s 0.0s ease-in-out infinite;
}
.rmb-2 {
    width: 75px; height: 75px;
    top: -28px; right: -30px;
    animation: rmbFloat 5.5s 1.5s ease-in-out infinite;
}
.rmb-3 {
    width: 90px; height: 90px;
    bottom: -38px; left: -36px;
    animation: rmbFloat 6.5s 3.0s ease-in-out infinite;
}
.rmb-4 {
    width: 60px; height: 60px;
    bottom: -22px; right: -24px;
    animation: rmbFloat 4.8s 2.0s ease-in-out infinite;
}

@keyframes rmbFloat {
    0%, 100% { transform: translateY(0px)   scale(1.00); }
    50%       { transform: translateY(-14px) scale(1.05); }
}

/* ── HEADER ────────────────────────────────────────────────── */
.amk-reg-header {
    text-align: center;
    margin-bottom: 32px;
}

.amk-reg-icon {
    font-size: 28px;
    color: rgba(100,200,255,0.9);
    text-shadow: 0 0 20px rgba(0,180,255,0.8);
    margin-bottom: 10px;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(0,180,255,0.8); }
    50%       { text-shadow: 0 0 36px rgba(0,220,255,1.0); }
}

.amk-reg-title {
    font-family: 'Georgia', 'Palatino Linotype', serif;
    font-size: 1.85rem;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: 0.04em;

    background: linear-gradient(135deg, #ffffff 0%, #a0d8ff 60%, #60b8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.amk-reg-sub {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(180, 220, 255, 0.65);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── FLOATING LABEL FIELDS ─────────────────────────────────── */
.amk-reg-fields {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 28px;
}

.amk-fl-field {
    position: relative;
}

/* The input */
.amk-fl-input {
    width: 100%;
    box-sizing: border-box;
    padding: 26px 16px 8px;   /* ← top padding tall enough for floated label */
    height: 62px;              /* ← fixed height gives room for label + text */
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.18);
    outline: none;
    font-size: 0.97rem;
    color: #ffffff;
    letter-spacing: 0.02em;

    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset 0 -1px 0 rgba(0,0,0,0.20),
        0 4px 16px rgba(0,0,0,0.20);

    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* password field: extra right padding for the eye button */
.amk-fl-field--pw .amk-fl-input {
    padding-right: 48px;
}

.amk-fl-input::placeholder {
    color: transparent; /* hidden — label acts as placeholder */
}

/* Focus & filled state */
.amk-fl-input:focus,
.amk-fl-input:not(:placeholder-shown) {
    border-color: rgba(0, 180, 255, 0.55);
    background: rgba(255,255,255,0.10);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 -1px 0 rgba(0,0,0,0.15),
        0 0 0 3px rgba(0,160,255,0.14),
        0 6px 20px rgba(0,0,0,0.25);
}

/* ── EYE TOGGLE BUTTON ─────────────────────────────────────── */
.amk-pw-eye {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: rgba(160, 210, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: color 0.2s ease;
}
.amk-pw-eye:hover { color: rgba(80, 195, 255, 0.95); }
.eye-icon { width: 20px; height: 20px; display: block; }

/* The floating label */
.amk-fl-label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(180, 220, 255, 0.65);
    pointer-events: none;
    transition:
        top        0.22s cubic-bezier(0.4, 0, 0.2, 1),
        transform  0.22s cubic-bezier(0.4, 0, 0.2, 1),
        font-size  0.22s cubic-bezier(0.4, 0, 0.2, 1),
        color      0.22s cubic-bezier(0.4, 0, 0.2, 1),
        letter-spacing 0.22s ease;
    transform-origin: left center;
    z-index: 2;
}

/* Float UP — CSS-only (when :placeholder-shown works) */
.amk-fl-input:focus          ~ .amk-fl-label,
.amk-fl-input:not(:placeholder-shown) ~ .amk-fl-label,
/* Float UP — JS class (bulletproof fallback for any theme) */
.amk-fl-field.amk-fl--active .amk-fl-label {
    top: 9px !important;
    transform: translateY(0) scale(0.76) !important;
    color: rgba(80, 195, 255, 0.95) !important;
    letter-spacing: 0.05em !important;
    font-weight: 600 !important;
}

/* Animated underline bar */
.amk-fl-bar {
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #00b4ff, #0070e0);
    transform: scaleX(0);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.amk-fl-input:focus ~ .amk-fl-bar,
.amk-fl-field.amk-fl--active .amk-fl-bar {
    transform: scaleX(1);
}

/* ── REGISTER BUTTON ──────────────────────────────────────── */
.amk-reg-btn {
    position: relative;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #0070e0 0%,
        #0099ff 50%,
        #00c8ff 100%
    );

    box-shadow:
        0 8px 24px rgba(0,130,255,0.45),
        inset 0 1px 0 rgba(255,255,255,0.30);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amk-reg-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 36px rgba(0,140,255,0.60),
        inset 0 1px 0 rgba(255,255,255,0.40);
}

.amk-reg-btn:active {
    transform: translateY(0);
}

/* Shine sweep on hover */
.amk-reg-btn__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.28) 50%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: transform 0.45s ease;
}

.amk-reg-btn:hover .amk-reg-btn__shine {
    transform: translateX(100%);
}

/* ── FOOTER LINK ──────────────────────────────────────────── */
.amk-reg-footer {
    text-align: center;
    margin-top: 20px;
}

.amk-reg-footer a {
    color: rgba(160, 210, 255, 0.75);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.amk-reg-footer a strong {
    color: rgba(100, 195, 255, 0.95);
}

.amk-reg-footer a:hover {
    color: #ffffff;
}

/* ============================================================
   FORGOT PASSWORD — compact card override
   Reuses all .amk-reg-* styles; just narrows the card
   ============================================================ */
.amk-forgot-wrap {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.amk-forgot-card {
    max-width: 400px;
}

/* Hide WooCommerce / WP default "My account" title & lost-password prose
   that appears above the shortcode on the lost-password page */
.woocommerce-account .woocommerce > h2,
.lost_password > p,
body.lost-password .entry-title,
body.lost-password .page-title,
.lost_password .woocommerce-form-row label,
.woocommerce-ResetPassword p:first-of-type {
    display: none !important;
}


/* =========================================================
   3D GLASS MORPHISM BUBBLES — MY ADS + ALL TABS
   ========================================================= */

/* Main tab wrapper */
.amk-tabs,
.amk-tab-contents,
.amk-tab-box {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* =========================
   GLOBAL TAB BUBBLES
========================= */

.amk-tab-contents::before,
.amk-tab-contents::after,
.amk-tab-box::before,
.amk-tab-box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    animation: amkFloatBubble 8s ease-in-out infinite;

    background: radial-gradient(
        circle at 30% 30%,
        rgba(180,220,255,0.95),
        rgba(0,140,255,0.18) 55%,
        rgba(0,0,0,0.18) 100%
    );

    box-shadow:
        inset 0 0 25px rgba(255,255,255,0.45),
        0 0 45px rgba(0,150,255,0.28),
        0 12px 30px rgba(0,0,0,0.35);
}

/* TOP LEFT */
.amk-tab-contents::before {
    width: 150px;
    height: 150px;
    top: -55px;
    left: -45px;
    animation-delay: 0s;
}

/* BOTTOM RIGHT */
.amk-tab-contents::after {
    width: 180px;
    height: 180px;
    bottom: -70px;
    right: -60px;
    animation-delay: 2s;
}

/* CENTER RIGHT */
.amk-tab-box::before {
    width: 110px;
    height: 110px;
    top: 35%;
    right: -40px;
    animation-delay: 1s;
}

/* LOWER LEFT */
.amk-tab-box::after {
    width: 90px;
    height: 90px;
    bottom: 25px;
    left: -30px;
    animation-delay: 3s;
}

/* =========================
   INNER LIGHT REFLECTION
========================= */

.amk-tab-contents::before,
.amk-tab-contents::after,
.amk-tab-box::before,
.amk-tab-box::after {
    overflow: hidden;
}

.amk-tab-contents::before {
    position: absolute;
}

/* Bubble glossy highlight */
.amk-tab-contents::before,
.amk-tab-contents::after,
.amk-tab-box::before,
.amk-tab-box::after {
    background-image:
        radial-gradient(
            circle at 28% 26%,
            rgba(255,255,255,0.78),
            rgba(255,255,255,0.08) 35%,
            transparent 60%
        ),
        radial-gradient(
            circle at center,
            rgba(0,140,255,0.20),
            rgba(0,0,0,0.10)
        );
}

/* =========================
   KEEP CONTENT ABOVE
========================= */

.amk-tab-contents > *,
.amk-tab-box > * {
    position: relative;
    z-index: 2;
}

/* =========================
   GLOWING ORBS
========================= */

.amk-tabs::before,
.amk-tabs::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(70px);
    opacity: 0.45;
    pointer-events: none;
}

/* BLUE ORB */
.amk-tabs::before {
    width: 320px;
    height: 320px;
    top: -120px;
    left: -120px;

    background:
        radial-gradient(circle,
        rgba(0,180,255,0.45),
        transparent 70%);

    animation: amkOrbPulse 10s ease-in-out infinite;
}

/* PURPLE ORB */
.amk-tabs::after {
    width: 260px;
    height: 260px;
    bottom: -100px;
    right: -90px;

    background:
        radial-gradient(circle,
        rgba(120,80,255,0.35),
        transparent 70%);

    animation: amkOrbPulse 12s ease-in-out infinite reverse;
}

/* =========================
   FLOAT ANIMATION
========================= */

@keyframes amkFloatBubble {

    0% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    25% {
        transform: translateY(-10px) translateX(6px) scale(1.03);
    }

    50% {
        transform: translateY(-18px) translateX(-6px) scale(1.06);
    }

    75% {
        transform: translateY(-8px) translateX(4px) scale(1.02);
    }

    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
}

/* =========================
   ORB PULSE
========================= */

@keyframes amkOrbPulse {

    0% {
        transform: scale(1);
        opacity: 0.35;
    }

    50% {
        transform: scale(1.12);
        opacity: 0.55;
    }

    100% {
        transform: scale(1);
        opacity: 0.35;
    }
}

/* =========================
   EXTRA DEPTH GLASS
========================= */

.amk-tab-contents {
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.12),
            rgba(255,255,255,0.05)
        ) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -1px 0 rgba(255,255,255,0.05),
        0 15px 35px rgba(0,0,0,0.35),
        0 0 30px rgba(0,140,255,0.12);
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 768px) {

    .amk-tab-contents::before {
        width: 100px;
        height: 100px;
    }

    .amk-tab-contents::after {
        width: 120px;
        height: 120px;
    }

    .amk-tab-box::before {
        width: 70px;
        height: 70px;
    }

    .amk-tab-box::after {
        width: 60px;
        height: 60px;
    }
}

/* ───── FORCE OTP STYLE FIX ───── */

#amkOtpBox {
    text-align: center; /* center container */
}

/* STRONG PRIORITY FIX */
#amkOtpBox #amkRegOtp {
    display: block !important;
    margin: 15px auto !important;

    width: 220px !important;
    padding: 14px !important;

    text-align: center !important;
    letter-spacing: 8px;

    font-size: 24px !important;
    font-weight: 900 !important;
    color: #ff2e2e !important;

    border-radius: 14px;
    border: 1px solid rgba(255,50,50,0.5) !important;

    background: linear-gradient(145deg, #0c1426, #1a2236) !important;

    box-shadow:
        inset 2px 2px 8px rgba(0,0,0,0.9),
        inset -2px -2px 6px rgba(80,110,180,0.15),
        0 0 12px rgba(255,50,50,0.8),
        0 0 25px rgba(255,50,50,0.4) !important;

    transition: all 0.3s ease;
}

/* FOCUS EFFECT */
#amkOtpBox #amkRegOtp:focus {
    outline: none;
    transform: scale(1.08);

    box-shadow:
        0 0 18px rgba(255,40,40,1),
        0 0 35px rgba(255,40,40,0.7),
        inset 0 1px 2px rgba(255,255,255,0.2) !important;
}

/* ANIMATION */
@keyframes amkOtpPulse {
    0%, 100% {
        box-shadow:
            0 0 10px rgba(255,50,50,0.6),
            0 0 20px rgba(255,50,50,0.3);
    }
    50% {
        box-shadow:
            0 0 20px rgba(255,50,50,1),
            0 0 40px rgba(255,50,50,0.7);
    }
}

#amkOtpBox #amkRegOtp {
    animation: amkOtpPulse 2s infinite;
}
#amkOtpBox {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.amk-catdd_panel {
    display: none;
}

.amk-catdd_panel.active {
    display: block;
}