/* =====================================================
   NameByes Skin 2 — Mint Liquid-Glass Theme
   Part 1 of 4
   ===================================================== */

:root {
    --ink: #173c31;
    --muted: #668176;
    --green: #238b66;
    --green2: #55b88f;
    --mint: #eaf8f1;
    --mint2: #d9f2e7;
    --white: #fff;
    --line: rgba(39, 119, 89, .14);
    --shadow: 0 18px 50px rgba(33, 103, 77, .11);
    
    --primary: #168a63;
    --primary-dark: #0d6f4f;
    --success: #168a63;
    --warning: #2f9e77;
    --danger: #d84f5f;
    --bg: #f3fbf7;
    --card: rgba(255, 255, 255, .74);
    --text: #17352b;
    --border: rgba(31, 112, 83, .14);
    --radius: 22px;
    
    font-family: 'DM Sans', Inter, system-ui, sans-serif;
}

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

html {
    color-scheme: light;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: radial-gradient(circle at 10% 0, #d7f6e7 0, transparent 32%),
        radial-gradient(circle at 90% 15%, #dff5ed 0, transparent 28%),
        #f7fcf9;
    font-family: 'DM Sans', Inter, system-ui, sans-serif;
    line-height: 1.5;
}

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

img {
    max-width: 100%;
    display: block;
}

/* =====================================================
   Header / Topbar
   ===================================================== */
.topbar {
    height: 76px;
    padding: 0 clamp(20px, 5vw, 72px);
    background: rgba(250, 255, 252, .72);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 35px rgba(31, 112, 83, .07);
    backdrop-filter: blur(22px) saturate(145%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo,
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.7px;
    color: var(--green);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: linear-gradient(145deg, #2c9b73, #75cfa9);
    color: white;
    box-shadow: 0 8px 20px rgba(35, 139, 102, .25);
}

nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
    font-weight: 600;
    color: #49675b;
}

nav a {
    color: #49635a;
    padding: 9px 11px;
    border-radius: 12px;
    transition: .2s;
}

nav a:hover,
nav a.active {
    color: var(--green);
    background: rgba(22, 138, 99, .09);
}

.search {
    width: 420px;
}

.search input {
    width: 100%;
    height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .72);
    font-size: 15px;
    outline: none;
    transition: .2s;
    box-shadow: 0 8px 24px rgba(31, 112, 83, .06);
    color: var(--ink);
}

.search input:focus {
    border-color: rgba(22, 138, 99, .55);
    box-shadow: 0 0 0 4px rgba(22, 138, 99, .10);
}

.avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #36ad81, #117a59);
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(22, 138, 99, .22);
}

.mobile-toggle {
    display: none;
    border: 0;
    background: #e5f6ee;
    border-radius: 12px;
    padding: 9px;
}

/* =====================================================
   Page
   ===================================================== */
.page {
    max-width: 1440px;
    margin: auto;
    padding: 34px clamp(18px, 4vw, 58px) 60px;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #238b66, #4db58b);
    color: #fff !important;
    padding: 12px 19px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(35, 139, 102, .2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    min-height: 46px;
    transition: .2s;
}

.btn:hover {
    background: linear-gradient(135deg, #168d66, #0d6f4f);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, .7);
    color: var(--green) !important;
    border: 1px solid var(--line);
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.btn-outline:hover {
    color: var(--primary);
    background: rgba(223, 247, 236, .72);
    border-color: rgba(22, 138, 99, .35);
}

.btn-secondary {
    background: rgba(255, 255, 255, .7);
    color: var(--green) !important;
    border: 1px solid var(--line);
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.btn-secondary:hover {
    color: var(--primary);
    background: rgba(223, 247, 236, .72);
    border-color: rgba(22, 138, 99, .35);
}

.btn-danger {
    background: linear-gradient(135deg, #df6571, #c94152);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: none;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.btn-danger:hover {
    background: #DC2626;
}

.btn-buy {
    background: linear-gradient(135deg, #1b9b70, #117a59);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: none;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.btn-buy:hover {
    background: linear-gradient(135deg, #168d66, #0d6f4f);
    transform: translateY(-2px);
}

.btn-sm {
    height: 34px;
    padding: 0 16px;
    font-size: 13px;
}

.logout-btn {
    background: rgba(255, 255, 255, .55);
    color: var(--danger);
    border: 1px solid rgba(216, 79, 95, .28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.logout-btn:hover {
    background: var(--danger);
    color: #fff;
}

.login-btn {
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #238b66, #4db58b);
    color: #fff !important;
    padding: 12px 19px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(35, 139, 102, .2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}
/* =====================================================
   NameByes Skin 2 — Mint Liquid-Glass Theme
   Part 2 of 4
   ===================================================== */

/* =====================================================
   Hero
   ===================================================== */
.hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: stretch;
    padding: 54px 0 40px;
}

.hero-left {
    padding: 58px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(232, 249, 240, .95), rgba(255, 255, 255, .78));
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
}

.hero-left:after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, #87d7b4, transparent 68%);
}

.hero-small {
    text-align: center;
    padding: 40px 0;
}

.hero-small h1 {
    font-size: 48px;
    margin-bottom: 12px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    justify-content: center;
}

h1 {
    font-size: clamp(40px, 5vw, 70px);
    line-height: 1.03;
    letter-spacing: -3px;
    margin: 0 0 20px;
}

h2 {
    letter-spacing: -1px;
}

p {
    color: var(--muted);
}

/* =====================================================
   Cards
   ===================================================== */
.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .54));
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    padding: 30px;
    margin-bottom: 22px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
}

.glass-panel {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    padding: 27px;
    border-radius: 28px;
    margin: 20px 0;
}

/* =====================================================
   Dashboard Stats
   ===================================================== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 28px;
}

.stat {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    padding: 22px;
    border-radius: 22px;
    text-align: left;
}

.stat h3 {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.stat h2 {
    display: block;
    margin: 8px 0 0;
    font-size: 27px;
}

.stat strong {
    font-size: 34px;
    font-weight: 800;
    display: block;
}

.stat.blue h2,
.stat.blue strong {
    color: #2386a7;
}
.stat.green h2,
.stat.green strong {
    color: var(--green);
}
.stat.orange h2,
.stat.orange strong {
    color: #2f9e77;
}
.stat.red h2 {
    color: var(--danger);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* =====================================================
   Marketplace Grid
   ===================================================== */
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 22px;
}

.domain-card {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    padding: 22px;
    border-radius: 23px;
    transition: .2s;
}

.domain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 138, 99, .20);
    box-shadow: 0 24px 55px rgba(31, 112, 83, .14);
}

.domain-name {
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.domain-price {
    color: var(--green);
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 16px;
}

.domain-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 18px;
}

.domain-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 20px;
}

.domain-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.domain-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 14px;
}

.domain-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.domain-item:last-child {
    border-bottom: none;
}

.domain-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

/* =====================================================
   Badges
   ===================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #e6f7ef;
    color: #237757;
}

.badge-success {
    background: #dff7ec;
    color: #116a4c;
}

.badge-warning {
    background: #e3f5ed;
    color: #167354;
}

.badge-danger {
    background: #fdebed;
    color: #ad3545;
}

.badge-primary,
.badge-info {
    background: #e5f6ef;
    color: #167354;
}

.badges {
    display: flex;
    gap: 8px;
    margin: 8px 0;
}

.status {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #e6f7ef;
    color: #237757;
}

.status.done {
    background: #ddf5e8;
    color: #16704d;
}

.status.progress {
    background: #e2f4ef;
    color: #277d67;
}

.status.pending {
    background: #eef4f1;
    color: #687d74;
}

/* =====================================================
   Features
   ===================================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 22px 0;
}

.feature {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    padding: 25px;
    border-radius: 23px;
    text-align: center;
}

.feature h3 {
    margin-bottom: 10px;
    color: var(--ink);
}

.feature p {
    color: var(--muted);
}

/* =====================================================
   Forms
   ===================================================== */
form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
    outline: none;
    transition: .2s;
    color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(22, 138, 99, .55);
    box-shadow: 0 0 0 4px rgba(22, 138, 99, .10);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.filter-input {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .8);
    padding: 12px 15px;
    border-radius: 13px;
    outline: none;
}

/* =====================================================
   Tables
   ===================================================== */
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    overflow: hidden;
}

thead {
    background: rgba(225, 246, 237, .72);
}

th {
    padding: 14px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: #456158;
    border-bottom: 1px solid var(--line);
}

td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink);
}

tbody tr:hover {
    background: rgba(223, 247, 236, .45);
  }
/* =====================================================
   NameByes Skin 2 — Mint Liquid-Glass Theme
   Part 3 of 4
   ===================================================== */

/* =====================================================
   Offer Cards
   ===================================================== */
.offer-card {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.offer-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--green);
}

.offer-actions {
    display: flex;
    gap: 12px;
}

/* =====================================================
   Auction
   ===================================================== */
.auction {
    padding: 16px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(220, 247, 235, .88), rgba(245, 253, 249, .70));
    border: 1px solid rgba(22, 138, 99, .13);
    margin: 12px 0;
}

.countdown {
    font-size: 28px;
    font-weight: 800;
    color: var(--green);
    margin: 12px 0;
    text-align: center;
}

/* =====================================================
   Escrow
   ===================================================== */
.escrow-card {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    border-left: 6px solid var(--success);
    padding: 22px;
    border-radius: 18px;
    margin-bottom: 18px;
}

.status-created {
    border-left-color: #3B82F6;
}

.status-funded {
    border-left-color: #F59E0B;
}

.status-released {
    border-left-color: #10B981;
}

.status-cancelled {
    border-left-color: #EF4444;
}

/* =====================================================
   Notifications
   ===================================================== */
.notification {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    border-radius: 16px;
    margin-bottom: 14px;
    transition: .2s;
}

.notification:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 138, 99, .20);
}

.notification.unread {
    border-left: 4px solid var(--green);
}

/* =====================================================
   Wishlist
   ===================================================== */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* =====================================================
   Seller Profile
   ===================================================== */
.profile {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 30px;
}

.avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(145deg, #36ad81, #117a59);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 12px 28px rgba(22, 138, 99, .22);
}

.profile-info h2 {
    font-size: 28px;
    margin-bottom: 6px;
    color: var(--ink);
}

.profile-info p {
    color: var(--muted);
}

.seller-cover {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 30px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.seller-cover h2 {
    color: var(--ink);
}

.seller-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, #36ad81, #117a59);
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 12px 28px rgba(22, 138, 99, .22);
}

/* =====================================================
   Blog Cards
   ===================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 22px;
}

.blog-card {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    padding: 24px;
    border-radius: 18px;
    transition: .25s;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 138, 99, .20);
}

.blog-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
    color: var(--ink);
}

.blog-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* =====================================================
   Admin Dashboard
   ===================================================== */
.admin-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
}

.admin-grid .sidebar {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    border-radius: var(--radius);
    padding: 24px;
    height: fit-content;
}

.admin-grid .sidebar h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.admin-grid .sidebar a {
    display: block;
    padding: 10px 14px;
    border-radius: 13px;
    margin-bottom: 4px;
    font-weight: 600;
    color: #597169;
    transition: .2s;
}

.admin-grid .sidebar a:hover,
.admin-grid .sidebar a.active {
    color: var(--green);
    background: linear-gradient(135deg, rgba(209, 244, 226, .85), rgba(237, 251, 244, .75));
}

.admin-grid .sidebar hr {
    margin: 16px 0;
    border-color: var(--line);
}

.admin-content {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 28px;
}

/* =====================================================
   Analytics
   ===================================================== */
.analytics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.analytics-card {
    background: radial-gradient(circle at 100% 0, rgba(114, 220, 176, .28), transparent 45%),
        linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .54));
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    border-radius: var(--radius);
    padding: 24px;
    color: var(--ink);
}

.analytics-card h4 {
    font-size: 14px;
    opacity: .85;
    margin-bottom: 10px;
    color: var(--muted);
}

.analytics-card strong {
    font-size: 34px;
    font-weight: 800;
    display: block;
    color: var(--green);
}

/* =====================================================
   Dashboard Hero
   ===================================================== */
.dash-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 38px 42px;
    border-radius: 30px;
    background: linear-gradient(135deg, #dff5e9, #f8fffb);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.dash-hero h1 {
    font-size: 45px;
    margin: 4px 0;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.6px;
    font-weight: 700;
    color: var(--green);
}

/* =====================================================
   Search Filters
   ===================================================== */
.filters {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filters input,
.filters select {
    width: auto;
    min-width: 180px;
}

.search-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.search-bar input {
    flex: 1;
    min-width: 200px;
}

.search-bar select {
    min-width: 140px;
}

/* =====================================================
   Pagination
   ===================================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a {
    padding: 10px 16px;
    background: rgba(255, 255, 255, .65);
    border-radius: 12px;
    border: 1px solid var(--line);
    font-weight: 600;
    transition: .2s;
    color: #466157;
}

.pagination a:hover,
.pagination .active {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

/* =====================================================
   Modal
   ===================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 57, 45, .24);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
}

.modal-content {
    background: rgba(250, 255, 252, .88);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 30px;
    width: min(600px, 95vw);
               }
/* =====================================================
   NameByes Skin 2 — Mint Liquid-Glass Theme
   Part 4 of 4
   ===================================================== */

/* =====================================================
   Loading
   ===================================================== */
.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(22, 138, 99, .14);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

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

/* =====================================================
   Toast
   ===================================================== */
.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: rgba(20, 57, 45, .92);
    backdrop-filter: blur(14px);
    color: #fff;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .20);
    z-index: 9999;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 30px;
    padding: 55px max(24px, 6vw);
    background: linear-gradient(180deg, #1b4f3d, #123a2d);
    border-top: 1px solid var(--line);
    margin-top: 80px;
}

.footer h3,
.footer h4 {
    margin: 0 0 12px;
    color: #fff;
}

.footer p {
    color: #D1D5DB;
    line-height: 1.7;
}

.footer a {
    display: block;
    margin: 8px 0;
    color: #D1D5DB;
    transition: .2s;
}

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

.footer-grid {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #9CA3AF;
}

/* =====================================================
   Utilities
   ===================================================== */
.text-center {
    text-align: center;
}
.mt-1 {
    margin-top: 10px;
}
.mt-2 {
    margin-top: 20px;
}
.mt-3 {
    margin-top: 30px;
}
.mt-4 {
    margin-top: 40px;
}
.mb-1 {
    margin-bottom: 10px;
}
.mb-2 {
    margin-bottom: 20px;
}
.mb-3 {
    margin-bottom: 30px;
}
.mb-4 {
    margin-bottom: 40px;
}
.hidden {
    display: none;
}
.flex {
    display: flex;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.sticky {
    position: sticky;
    top: 100px;
}

/* =====================================================
   Transfers
   ===================================================== */
.transfer-list {
    border-top: 1px solid var(--line);
}

.transfer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 5px;
    border-bottom: 1px solid var(--line);
}

.transfer-row b {
    display: block;
}

.transfer-row span:not(.status) {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 3px;
}

/* =====================================================
   Steps
   ===================================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.steps div {
    padding: 17px;
    border-radius: 19px;
    background: rgba(234, 248, 241, .75);
}

.steps i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-style: normal;
    font-weight: 700;
}

.steps b,
.steps span {
    display: block;
    margin-top: 9px;
}

.steps span {
    font-size: 12px;
    color: var(--muted);
}

/* =====================================================
   Settings
   ===================================================== */
.settings-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

/* =====================================================
   Market Icons
   ===================================================== */
.market-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.market-icons a {
    padding: 8px 16px;
    background: rgba(223, 247, 236, .62);
    border: 1px solid rgba(22, 138, 99, .09);
    border-radius: 999px;
    font-size: 14px;
    transition: .2s;
    color: #3e6255;
}

.market-icons a:hover {
    background: var(--green);
    color: #fff;
}

.market-card {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    padding: 20px;
    border-radius: var(--radius);
    transition: .25s;
}

.market-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 138, 99, .20);
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.market-header h3 {
    font-size: 20px;
    margin-bottom: 4px;
    color: var(--ink);
}

.market-header .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--green);
}

.market-body table {
    width: 100%;
    font-size: 14px;
    margin: 12px 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.market-body td {
    padding: 4px 8px 4px 0;
    border: none;
}

.market-footer {
    margin-top: 16px;
    display: flex;
    gap: 12px;
}

/* =====================================================
   Timeline
   ===================================================== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline div {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.timeline div:last-child {
    border-bottom: none;
}

/* =====================================================
   Tickets
   ===================================================== */
.ticket {
    padding: 16px;
    border-bottom: 1px solid var(--line);
}

.ticket:last-child {
    border-bottom: none;
}

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

.reply-box {
    background: var(--bg);
    padding: 12px;
    border-radius: 12px;
    margin-top: 8px;
}

.reply-box.waiting {
    color: var(--muted);
    font-style: italic;
}

/* =====================================================
   Form Check
   ===================================================== */
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
}

.form-check label {
    font-weight: 400;
    cursor: pointer;
}

/* =====================================================
   Auth Card
   ===================================================== */
.auth-card {
    max-width: 440px;
    margin: 40px auto;
}

.auth-card hr {
    margin: 24px 0;
    border-color: var(--line);
}

/* =====================================================
   Empty State
   ===================================================== */
.empty {
    text-align: center;
    padding: 50px;
}

.empty h3 {
    margin: 0;
}

/* =====================================================
   Animations
   ===================================================== */
.fade-in {
    animation: fadeIn .35s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.slide-up {
    animation: slideUp .35s ease;
}

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

/* =====================================================
   Selection
   ===================================================== */
::selection {
    background: #bcebd6;
    color: #123a2d;
}

/* =====================================================
   Dark Mode
   ===================================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #f3fbf7;
        --card: rgba(255, 255, 255, .74);
        --text: #17352b;
        --muted: #688178;
        --border: rgba(31, 112, 83, .14);
    }
    
    body {
        background: radial-gradient(circle at 8% 4%, rgba(134, 230, 190, .32), transparent 28rem),
            linear-gradient(180deg, #f9fdfb, #eef9f4);
        color: var(--ink);
    }
    
    .topbar {
        background: rgba(250, 255, 252, .72);
        border-bottom: 1px solid var(--line);
    }
    
    .search input,
    input,
    select,
    textarea {
        background: rgba(255, 255, 255, .72);
        color: var(--ink);
        border-color: var(--line);
    }
    
    .card,
    .domain-card,
    .offer-card,
    .blog-card,
    .notification,
    .sidebar,
    .admin-content,
    .stat,
    table {
        background: rgba(255, 255, 255, .72);
        color: var(--ink);
    }
    
    thead {
        background: rgba(225, 246, 237, .72);
    }
    
    .footer {
        background: linear-gradient(180deg, #1b4f3d, #123a2d);
    }
    
    .btn-outline {
        background: rgba(255, 255, 255, .58);
        color: var(--ink);
        border-color: var(--line);
    }
    
    .auction {
        background: linear-gradient(135deg, rgba(220, 247, 235, .88), rgba(245, 253, 249, .70));
    }
    
    .badge-info {
        background: #e5f6ef;
        color: #167354;
    }
    
    .admin-grid .sidebar a:hover,
    .admin-grid .sidebar a.active {
        background: rgba(209, 244, 226, .85);
        color: var(--green);
    }
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1200px) {
    .page {
        padding: 24px;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-grid {
        grid-template-columns: 1fr;
    }
    .domain-layout {
        grid-template-columns: 1fr;
    }
    .settings-grid {
        grid-template-columns: 1fr;
    }
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
    .domain-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .topbar {
        height: 68px;
        padding: 14px 18px;
        flex-wrap: wrap;
        height: auto;
        gap: 16px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 14px;
        right: 14px;
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
        background: rgba(250, 255, 252, .96);
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: var(--shadow);
        width: calc(100% - 28px);
    }
    
    nav.open {
        display: flex;
    }
    
    .logo {
        width: 100%;
        text-align: center;
    }
    
    .search {
        width: 100%;
        order: 3;
    }
    
    .page {
        padding: 24px 18px 48px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        padding-top: 15px;
    }
    
    .hero-left {
        padding: 38px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .market-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .analytics {
        grid-template-columns: 1fr;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .profile {
        flex-direction: column;
        text-align: center;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .offer-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .domain-actions {
        flex-direction: column;
    }
    
    .btn,
    .btn-outline,
    .btn-secondary,
    .btn-buy,
    .btn-danger,
    .logout-btn {
        width: 100%;
    }
    
    .card,
    .admin-content {
        padding: 20px;
    }
    
    .domain-layout {
        grid-template-columns: 1fr;
    }
    
    .sticky {
        position: static;
    }
    
    .domain-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .dash-hero {
        padding: 28px;
        align-items: start;
        flex-direction: column;
        gap: 20px;
    }
    
    .steps {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }
    
    .transfer-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    
    .domain-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer {
        grid-template-columns: 1fr 1fr;
        padding: 38px 24px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }
    
    .topbar {
        padding: 14px;
        position: relative;
    }
    
    .logo {
        font-size: 24px;
    }
    
    nav {
        font-size: 14px;
        gap: 10px;
    }
    
    .search input {
        height: 42px;
        font-size: 14px;
    }
    
    .page {
        padding: 20px 14px 45px;
    }
    
    h1 {
        letter-spacing: -2px;
    }
    
    .hero {
        padding-top: 15px;
    }
    
    .hero-left {
        padding: 30px 24px;
        border-radius: 25px;
    }
    
    .card,
    .domain-card,
    .market-card,
    .offer-card,
    .notification,
    .blog-card,
    .feature,
    .seller-cover,
    .analytics-card,
    .auth-card,
    .escrow-card,
    .glass-panel {
        border-radius: 18px;
        padding: 18px;
    }
    
    .domain-name {
        font-size: 22px;
    }
    
    .domain-price {
        font-size: 26px;
    }
    
    .stat strong {
        font-size: 28px;
    }
    
    .stat,
    .metric-grid article {
        padding: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .metric-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .analytics-card strong {
        font-size: 28px;
    }
    
    .hero-small h1 {
        font-size: 34px;
    }
    
    .btn,
    .btn-outline,
    .btn-secondary,
    .btn-buy,
    .btn-danger,
    .logout-btn {
        min-height: 44px;
        border-radius: 14px;
    }
    
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .footer {
        grid-template-columns: 1fr;
        padding: 38px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .market-grid {
        grid-template-columns: 1fr;
    }
    
    .domain-grid {
        grid-template-columns: 1fr;
    }
    
    .search-bar {
        flex-direction: column;
    }
    
    .search-bar input,
    .search-bar select {
        width: 100%;
        min-width: unset;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .transfer-row .btn {
        margin-left: auto;
    }
}
/: #fffbeb;
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.market-header h3 {
    margin: 0;
    font-size: 18px;
}

.market-header h3 a {
    color: #0f172a;
    text-decoration: none;
}

.market-header h3 a:hover {
    color: #4f46e5;
}

.price {
    font-size: 18px;
    font-weight: 700;
    color: #4f46e5;
    background: #eef2ff;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.auction-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #64748b;
    padding: 8px 0;
    border-top: 1px dashed #e2e8f0;
    border-bottom: 1px dashed #e2e8f0;
    margin-bottom: 12px;
}

.bid-count {
    background: #f1f5f9;
    padding: 2px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.current-bid {
    color: #dc2626;
    font-weight: 600;
}

.market-body {
    margin: 12px 0;
}

.market-body table {
    width: 100%;
    font-size: 14px;
}

.market-body table td {
    padding: 4px 0;
}

.market-body table td:last-child {
    text-align: right;
    color: #475569;
}

.market-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.market-footer .btn {
    width: 100%;
    text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
    .marketplace-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .toggle-buttons {
        justify-content: center;
    }
    
    .toggle-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .market-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .market-header h3 {
        font-size: 16px;
    }
    
    .price {
        font-size: 15px;
        padding: 2px 12px;
    }
   }
