body {
    background-color: black;
    color: #44944A;
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hidden {
    display: none;
}

.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #44944A;
}

.content {
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 800px;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    position: relative;
    z-index: 2;
}
.right-column {
    gap: 20px;
    padding: 10px;
    z-index: 1;
}

button {
    background-color: black;
    color: #44944A; 
    border: 1px solid #44944A;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
}

button:hover {
    background-color: #44944A;
    color: black;
}

#hashrate {
    font-size: 1rem;
    color: #44944A;
}

.progress-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.progress-bar {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    color: #44944A;
}

#progressPointer {
    color: #44944A;
    cursor: ew-resize;
}

#progressStart, #progressEnd {
    color: #44944A;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: black;
    border: 1px solid #44944A;
    padding: 20px;
    z-index: 1000;
    text-align: center;
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.warning-text {
    color: red;
    font-size: 1.5rem;
}

.overclock-text {
    color: #44944A;
    font-size: 1rem;
}

#balanceModal .balance-text {
    color: #44944A;
    font-size: 1.5rem;
}

#balanceModal #closeBalanceModal {
    background-color: black;
    color: #44944A;
    border: 1px solid #44944A;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
}

#balanceModal #closeBalanceModal:hover {
    background-color: #44944A;
    color: black;
}

#signature {
    position: fixed;
    bottom: 10px;
    right: 10px;
    color: #44944A;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    z-index: 1000;
}

.withdraw-area {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #44944A;
    padding: 20px;
    border-radius: 10px;
    color: #44944A;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
}

.buttons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

#backButton {
    background-color: black;
    color: #44944A;
    border: 1px solid #44944A;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
}

#backButton:hover {
    background-color: #44944A;
    color: black;
}
#adModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: black;
    border: 1px solid #44944A;
    padding: 20px;
    z-index: 9999; /* Высокий z-index, чтобы окно было поверх всех элементов */
    text-align: center;
    max-height: 90vh; /* Ограничение по высоте: 90% от высоты видимой области */
    overflow-y: auto; /* Прокрутка, если содержимое превышает max-height */
    width: 90%; /* Ширина окна */
    max-width: 600px; /* Максимальная ширина окна */
    box-sizing: border-box; /* Учитываем padding в общей ширине и высоте */
}
#adModal .modal-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

#adModal .ad-text {
    color: #44944A;
    font-size: 1.5rem;
}

#adModal #adLink {
    color: #44944A;
    text-decoration: none;
    font-size: 1.2rem;
}

#adModal #adLink:hover {
    text-decoration: underline;
}

#adModal #closeAdModal {
    background-color: black;
    color: #44944A;
    border: 1px solid #44944A;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
}

#adModal #closeAdModal:hover {
    background-color: #44944A;
    color: black;
}

#adModal #closeAdModal:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
/* Добавьте этот стиль в ваш файл styles.css */
input[type="text"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    outline: none;
}}

button:disabled:hover {
    background-color: black;
    color: #44944A;
}
#closeAdModal {
    background-color: black;
    color: #44944A;
    border: 1px solid #44944A;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
}

#closeAdModal:hover {
    background-color: #44944A;
    color: black;
}

#closeAdModal:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
#yandex_rtb_R-A-14439426-1 {
    width: 100%; /* или фиксированная ширина, например 300px */
    min-width: 300px; /* минимальная ширина */
}
/* Добавьте этот стиль в ваш файл styles.css */
/* Стиль для инпута */
input[type="text"] {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #44922A; /* Зеленая граница */
    border-radius: 5px;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.7); /* Черный фон с прозрачностью */
    color: #44944A; /* Зеленый текст */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus {
    border-color: #44944A; /* Зеленая граница при фокусе */
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.3); /* Зеленая тень при фокусе */
    outline: none;
}
