/* styles.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2.5em;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.input-container {
    margin-bottom: 20px;
    text-align: center;
}

.input-container label {
    font-size: 18px;
    color: #333;
    margin-right: 10px;
}

.input-container input {
    font-size: 18px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 80px;
    text-align: center;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

button:active {
    background-color: #004494;
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#currentToken {
    margin-top: 20px;
    text-align: center;
}

#currentToken h2 {
    font-size: 1.5em;
    color: #333;
}

#currentToken p {
    font-size: 1.2em;
    color: #007bff;
    font-weight: 600;
}

#summary-container {
    margin-top: 30px;
    text-align: center;
}

#summary {
    font-size: 18px;
    color: #333;
    font-weight: 500;
    background-color: #e9ecef;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#status {
    margin-top: 10px;
    font-size: 18px;
    color: #28a745; /* Color for 'Testing complete!' */
}

#summary span {
    display: block;
    margin: 5px 0;
}

#summary .valid {
    color: #28a745; /* Color for valid tokens */
}

#summary .invalid {
    color: #dc3545; /* Color for invalid tokens */
}

table {
    width: 90%;
    max-width: 800px;
    border-collapse: collapse;
    margin-top: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #007bff;
    color: #fff;
    font-size: 1.2em;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}

/* styles.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2.5em;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.input-container {
    margin-bottom: 20px;
    text-align: center;
}

.input-container label {
    font-size: 18px;
    color: #333;
    margin-right: 10px;
}

.input-container input {
    font-size: 18px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 80px;
    text-align: center;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

button:active {
    background-color: #004494;
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#currentToken {
    margin-top: 20px;
    text-align: center;
}

#currentToken h2 {
    font-size: 1.5em;
    color: #333;
}

#currentToken p {
    font-size: 1.2em;
    color: #007bff;
    font-weight: 600;
}

#summary-container {
    margin-top: 30px;
    text-align: center;
}

#summary {
    font-size: 18px;
    color: #333;
    font-weight: 500;
    background-color: #e9ecef;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#status {
    margin-top: 10px;
    font-size: 18px;
    color: #28a745; /* Color for 'Testing complete!' */
}

#summary span {
    display: block;
    margin: 5px 0;
}

#summary .valid {
    color: #28a745; /* Color for valid tokens */
}

#summary .invalid {
    color: #dc3545; /* Color for invalid tokens */
}

table {
    width: 90%;
    max-width: 800px;
    border-collapse: collapse;
    margin-top: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #007bff;
    color: #fff;
    font-size: 1.2em;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

h1 {
    margin-bottom: 20px;
}

.input-container {
    margin: 10px 0;
}

input {
    padding: 5px;
    margin-left: 10px;
    width: 100px;
}

button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 1em;
}

button#start {
    background-color: #4CAF50; /* Green */
}

button#pause {
    background-color: #FF9800; /* Orange */
}

button#stop {
    background-color: #F44336; /* Red */
}

#currentToken, #summary-container {
    margin: 20px 0;
}

table {
    margin-top: 20px;
    border-collapse: collapse;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #4CAF50;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}

#status {
    font-weight: bold;
}

.valid {
    color: green;
}

.invalid {
    color: red;
}

.hidden {
    display: none;
}

.button-group {
    margin: 20px 0;
}

#individualTokenContainer {
    margin-top: 20px;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
}

.inputs-section {
    flex: 1;
    padding: 20px;
    border-right: 2px solid #ddd;
    background-color: #fff;
    overflow-y: auto;
}

.table-section {
    flex: 2;
    padding: 20px;
    background-color: #fff;
    overflow-y: auto;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2.5em;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.input-container {
    margin-bottom: 20px;
    text-align: center;
}

.input-container label {
    font-size: 18px;
    color: #333;
    margin-right: 10px;
}

.input-container input {
    font-size: 18px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 80px;
    text-align: center;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

button:active {
    background-color: #004494;
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#currentToken {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

#status {
    margin-top: 20px;
    font-size: 18px;
    color: #d9534f;
    font-weight: bold;
}

#resultsTable {
    width: 100%;
    border-collapse: collapse;
}

#resultsTable th, #resultsTable td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

#resultsTable th {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}

#resultsTable tr:nth-child(even) {
    background-color: #f2f2f2;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
}

.inputs-section {
    flex: 1;
    padding: 20px;
    border-right: 2px solid #b80d0d;
    background-color: #fff;
    overflow-y: auto;
}

.table-section {
    flex: 2;
    padding: 20px;
    background-color: #fff;
    overflow-y: auto;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2.5em;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.input-container {
    margin-bottom: 20px;
    text-align: center;
}

.input-container label {
    font-size: 18px;
    color: #333;
    margin-right: 10px;
}

.input-container input {
    font-size: 18px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 80px;
    text-align: center;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 10px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

button:active {
    background-color: #004494;
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#currentToken {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

#status {
    margin-top: 20px;
    font-size: 18px;
    color: #d9534f;
    font-weight: bold;
}

#resultsTable {
    width: 100%;
    border-collapse: collapse;
}

#resultsTable th, #resultsTable td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

#resultsTable th {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}

#resultsTable tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* تخصيص حجم مربعات إدخال التوكن لتناسب حجم التوكن */
.token-input {
    width: auto; /* يجعل العرض يتكيف مع حجم التوكن */
    padding: 10px; /* إضافة padding مريح */
    font-size: 1rem; /* حجم الخط داخل الحقول */
    box-sizing: border-box; /* حساب الحجم بما في ذلك padding و border */
}

/* تنسيق حاوية Position of Custom Part */
.position-container {
    display: flex;
    justify-content: space-between; /* توزيع العناصر بشكل متساوي */
    align-items: center; /* محاذاة العناصر عموديًا في المنتصف */
    margin-top: 20px; /* إضافة مسافة فوق العنصر */
}

/* تنسيق عناصر Position of Custom Part */
.position-container label {
    flex: 1; /* السماح للعناصر بالتمدد لتعبئة المساحة */
    text-align: center; /* محاذاة النصوص في المنتصف */
    font-size: 1rem; /* حجم الخط */
}

.position-container input[type="radio"] {
    margin-right: 5px; /* مسافة بين زر الاختيار والنص */
}

.input-container {
    margin-bottom: 20px;
    text-align: center;
}

.input-container label {
    font-size: 18px;
    color: #333;
    margin-right: 10px;
}

.radio-group {
    display: flex;
    justify-content: center;
    align-items: center;
}

.radio-group > div {
    margin: 0 10px; /* مسافة بين العناصر */
    display: flex;
    align-items: center;
}

.radio-group input[type="radio"] {
    margin-right: 5px; /* مسافة بين زر الاختيار والنص */
}

#popupDialog {
    width: 88%; /* عرض البوباب */
    max-width: 500px; /* الحد الأقصى لعرض البوباب */
    height: auto; /* يمكن تغييرها إلى قيمة محددة إذا كنت ترغب في تحديد ارتفاع البوباب */
    max-height: 90vh; /* الحد الأقصى لارتفاع البوباب (90% من ارتفاع نافذة المتصفح) */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: rgb(13, 164, 228);
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow-y: auto; /* إضافة تمرير عمودي إذا كان المحتوى يتجاوز ارتفاع البوباب */
}

#walletAddressInput {
    width: 80%; /* يجعل العرض يتناسب مع عرض البوباب */
    max-width: 42ch; /* العرض الأقصى بناءً على عدد الأحرف */
    box-sizing: border-box; /* لضمان عدم تجاوز البكسل */
}

/* زر الحفظ */
#saveAddressButton {
    background-color: #4CAF50; /* لون أخضر */
    color: white; /* نص أبيض */
    border: none; /* إزالة الحدود */
    padding: 10px 20px; /* حشو */
    text-align: center; /* محاذاة النص في المركز */
    text-decoration: none; /* إزالة التسطير */
    display: inline-block; /* جعل الزر inline */
    font-size: 16px; /* حجم الخط */
    font-weight: bold; /* نص بولد */
    margin: 4px 2px; /* الهامش */
    cursor: pointer; /* تغيير شكل المؤشر عند المرور فوق الزر */
    border-radius: 4px; /* زوايا مستديرة */
}

/* زر الإلغاء */
#cancelButton {
    background-color: #f44336; /* لون أحمر */
    color: white; /* نص أبيض */
    border: none; /* إزالة الحدود */
    padding: 10px 20px; /* حشو */
    text-align: center; /* محاذاة النص في المركز */
    text-decoration: none; /* إزالة التسطير */
    display: inline-block; /* جعل الزر inline */
    font-size: 16px; /* حجم الخط */
    font-weight: bold; /* نص بولد */
    margin: 4px 2px; /* الهامش */
    cursor: pointer; /* تغيير شكل المؤشر عند المرور فوق الزر */
    border-radius: 4px; /* زوايا مستديرة */
}


/* مربع إدخال المحفظة */
#walletAddressInput {
    
    max-width: 26em; /* عرض أقصى يتناسب مع طول 45 حرف تقريبا */
    font-weight: bold; /* نص بولد */
    padding: 10px; /* حشو */
    border: 1px solid #ccc; /* حدود */
    border-radius: 4px; /* زوايا مستديرة */
    box-sizing: border-box; /* يشمل الحشو والحدود في العرض */
}
