* { box-sizing: border-box; }
body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: #f4f6f8;
    margin: 0;
    color: #1f2937;
    direction: rtl;
}
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
}
.topbar {
    background: #0f766e;
    color: #fff;
}
.topbar-inner {
    max-width: 480px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand { font-weight: 700; font-size: 18px; }
.topbar nav a {
    color: #fff;
    text-decoration: none;
    margin-inline-start: 14px;
    font-size: 14px;
}
.card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-top: 20px;
}
h1, h2 { margin-top: 0; }
label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}
input[type=text], input[type=password], input[type=number], input[type=tel] {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
}
button, .btn {
    width: 100%;
    padding: 12px;
    background: #0f766e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
button:hover, .btn:hover { background: #0c5c56; }
.error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}
.success {
    background: #dcfce7;
    color: #166534;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}
.balance-box {
    background: #0f766e;
    color: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-top: 20px;
}
.balance-box .amount { font-size: 32px; font-weight: 700; margin-top: 8px; }
.tx-list { list-style: none; padding: 0; margin-top: 12px; }
.tx-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}
.tx-amount-out { color: #b91c1c; font-weight: 600; }
.tx-amount-in { color: #15803d; font-weight: 600; }
.footer-link { text-align: center; margin-top: 16px; font-size: 14px; }
