:root {
    --primary: #3498db;
    --primary-dark: #2980b9;
    --secondary: #2ecc71;
    --danger: #e74c3c;
    --warning: #f39c12;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    user-select: none;         /* برای همه مرورگرها */
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
}

h1 {
    color: var(--dark);
    text-align: center;
    margin: 20px 0;
    font-size: 1.5rem;
	user-select: none;         /* برای همه مرورگرها */
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
}

h2 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
    user-select: none;         /* برای همه مرورگرها */
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
}

.wallet-info {
    position: relative;
    overflow: hidden;
}

.wallet-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.wallet-address-container {
    display: flex;
    align-items: center;
    background-color: var(--light);
    border-radius: 8px;
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #ddd;
}

.input-group {
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    text-align: center;
}

input:focus {
    outline: none;
    border-color: var(--primary);
}

.button1 {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.button1:hover {
    background-color: #1e6fc8;
    transform: translateY(-2px);
}

.button1:active {
    transform: translateY(0);
}

#result {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
    direction: rtl;
    border-left: 4px solid var(--primary);
    display: none;
    animation: fadeIn 0.5s ease;
}

.result-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.status-success {
    color: var(--secondary);
    font-weight: bold;
}

.status-failed {
    color: var(--danger);
    font-weight: bold;
}

.my-address {
    color: var(--secondary);
    font-weight: bold;
}

.not-my-address {
    color: var(--danger);
    font-weight: bold;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, .1);
    border-radius: 50%;
    border-top-color: #4CAF50;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.wallet-address {
    font-family: monospace;
    font-size: 0.9rem;
    flex: 1;
    word-break: break-all;
    padding: 5px;
}

.copy-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    margin-right: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.copy-btn:hover {
    background-color: var(--primary-dark);
}

.copy-btn i {
    margin-left: 5px;
}

.copied-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    z-index: 1000;
    display: none;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 500px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.plan-card {
    background-color: white;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    user-select: none;         /* برای همه مرورگرها */
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
}

.plan-title {
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.plan-title i {
    margin-left: 8px;
    color: var(--primary);
}

.plan-detail {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.85rem;
}

.plan-label {
    color: var(--gray);
}

.plan-value {
    font-weight: bold;
}

.plan-trx {
    color: var(--primary);
    font-weight: bold;
}

.exchange-rates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.exchange-rate {
    background-color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.price-value {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 5px;
    color: var(--dark);
}

.highlight {
    color: var(--primary);
    font-weight: bold;
}

.warning {
    color: var(--warning);
}

.error {
    color: var(--danger);
}

.note {
    background-color: #fff9e6;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--warning);
    margin-top: 20px;
}

.note h3 {
    color: var(--warning);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.note h3 i {
    margin-left: 8px;
}

.note p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .container {
        max-width: 800px;
        padding: 20px;
    }

    h1 {
        font-size: 1.8rem;
        user-select: none;         /* برای همه مرورگرها */
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
    }

    .wallet-address {
        font-size: 1rem;
    }
}

.telegram-box {
  text-align: center;
  margin: 40px 0;
}

.support-button,
.channel-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.support-button {
  background: linear-gradient(135deg, #229ED9, #1D91C0);
  color: white;
}

.support-button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #1a8bc2, #1578ad);
}

.channel-button {
  background: #f1f1f1;
  color: #333;
  border: 1px solid #ccc;
}

.channel-button:hover {
  transform: scale(1.05);
  background: #e7e7e7;
  border-color: #bbb;
}

.icon {
  width: 20px;
  height: 20px;
}

.trx-copy-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0 5px;
    font-size: 14px;
    transition: color 0.3s;
}

.trx-copy-btn:hover {
    background-color: var(--primary-dark);
}

.trx-plan-detail {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cf-turnstile {
            margin: 15px 0;
            display: flex;
            justify-content: center;
        }
		
.flags-container {
            display: flex;
            gap: 10px; /* فاصله بین پرچم‌ها */
            flex-wrap: wrap; /* اگر فضای کافی نبود به خط بعد برود */
			justify-content: center;
            padding: 20px;
        }
.flag-icon {
            font-size: 1.5em; /* اندازه پرچم‌ها */
            box-shadow: 0 0 5px rgba(0,0,0,0.2); /* سایه اختیاری */
            border-radius: 3px; /* گوشه‌های گرد */
        }
		
/* اضافه کردن این استایل‌های جدید */
.guide-box {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  margin: 10px 0;
}

.guide-box h4 {
  color: var(--primary);
  margin-top: 0;
}

.guide-box ol {
  padding-right: 20px;
}

/* بهبود دکمه‌ها برای UX بهتر */
.trx-copy-btn, .copy-btn {
  transition: all 0.3s;
}

.trx-copy-btn:hover, .copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* استایل‌های جدید */
.guide-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
}

.steps-container {
    margin-top: 15px;
}

.step {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step-number {
    background-color: #4e73df;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.sub-steps {
    padding-right: 20px;
    margin-top: 10px;
}

.download-link {
    display: inline-block;
    background: #4e73df;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    margin-top: 10px;
    text-decoration: none;
}

.download-link:hover {
    background: #3a5bc7;
}

.guide-image {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
}

.highlight {
    background-color: #fff2cc;
    padding: 2px 5px;
    border-radius: 3px;
}

#recoveryCode {
    max-width: 100%;
    white-space: break-spaces;
    word-break: break-word;
    overflow-wrap: break-word;
    background-color: #f9f9f9;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: monospace;
    max-height: 100px;
    overflow-y: auto;
}