:root {
    --primary-color: #40b195;
    --accent-color: #f15a25;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --input-bg: #f0f2f5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Replace with a Persian Font like Vazir/Yekan in production */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    direction: rtl; /* Right to Left for Persian */
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

/* Card Design */
.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.logo-area {
    margin-bottom: 30px;
}

.logo-area h2 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Inputs */
.form-group {
    margin-bottom: 20px;
    text-align: right;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #666;
}

input {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    background-color: var(--input-bg);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
    text-align: center;
}

input:focus {
    border-color: var(--primary-color);
    background-color: #fff;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #d1491b;
}

/* Wallet Dashboard Specifics */
.balance-card {
    background: linear-gradient(135deg, var(--primary-color), #2d856f);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.balance-title {
    font-size: 0.9rem;
    opacity: 0.9;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
}

.qr-section {
    margin-top: 30px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border: 2px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fafafa;
}

.helper-text {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #888;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .card {
        box-shadow: none;
        background: transparent;
    }
    body {
        background: var(--card-bg);
        align-items: flex-start;
    }
}