body {
    font-family: Arial, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    margin: 0;
    padding: 0;
}

.page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card {
    background: #ffffff;
    padding: 24px;
    width: 420px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.row {
    margin-top: 10px;
    font-size: 14px;
}

.label {
    color: #64748b;               /* muted gray */
}

.value {
    font-weight: bold;
    word-break: break-all;
    color: #0f172a;
}
/* Logo */
.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.logo img {
    max-width: 120px;
    height: auto;
}

/* Swap Inputs */
.swap-row {
    margin-bottom: 12px;
}

.swap-row label {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 14px;
}

.swap-row input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 16px;
    box-sizing: border-box;
}

/* Swap Button */
button {
    width: 100%;
    padding: 14px;
    background: #22c55e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

button:hover {
    background: #16a34a;
}
  input {
		width: 100%;
		padding: 12px;
		border-radius: 8px;
		border: 1px solid #cbd5e1;
		margin-bottom: 10px;
		font-size: 16px;
		box-sizing: border-box; /* extra safety */
	}

/* Table Wrapper */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 12px;
    border-radius: 10px;
}

/* Table */
.nice-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #ffffff;
}

/* Header */
.nice-table thead th {
    background: #f1f5f9;
    color: #0f172a;
    text-align: left;
    padding: 10px;
    font-weight: 700;
    border-bottom: 1px solid #e5e7eb;
}

/* Body cells */
.nice-table tbody td {
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
    color: #0f172a;
}

/* Zebra rows */
.nice-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

/* Hover */
.nice-table tbody tr:hover {
    background: #e2e8f0;
}

/* Numbers alignment */
.nice-table td:nth-child(1),
.nice-table td:nth-child(3),
.nice-table td:nth-child(4) {
    text-align: right;
}
.bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        justify-content: space-around;
        align-items: center;
        z-index: 999;
    }

    .bottom-nav a {
        text-decoration: none;
        color: #64748b;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-weight: 600;
    }

    .bottom-nav a.active {
        color: #22c55e;
    }
@media (max-width: 480px) {
    .card {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }

    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        justify-content: space-around;
        align-items: center;
        z-index: 999;
    }

    .bottom-nav a {
        text-decoration: none;
        color: #64748b;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-weight: 600;
    }

    .bottom-nav a.active {
        color: #22c55e;
    }
	.nice-table {
        font-size: 12px;
        min-width: 480px; /* enables horizontal scroll */
    }

    .nice-table thead th,
    .nice-table tbody td {
        padding: 8px;
    }
	input {
		width: 100%;
		padding: 12px;
		border-radius: 8px;
		border: 1px solid #cbd5e1;
		margin-bottom: 10px;
		font-size: 16px;
		box-sizing: border-box; /* extra safety */
	}
    body {
        padding-bottom: 70px;
    }
}