﻿.check-status-container {
    position: fixed;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.grafana-container {
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: sans-serif;
    background-color: #f9f9f9;
}

form {
    margin-bottom: 20px;
}

.login-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.change-user-container {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 8px
}

.form-box {
    background: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 300px;
}

h1 {
    font-size: 25px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    text-align: left;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    box-sizing: border-box;
    font-size: 14px;
}

button {
    width: 100%;
    padding: 8px 18px;
    margin-bottom: 5px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

button:disabled {
    background-color: #8abfea;
    cursor: not-allowed;
}

.error {
    color: red;
    margin-bottom: 15px;
    text-align: center;
}

#wallet-list {
    list-style: none;
    padding: 0;
}

.wallet-item {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.wallet-item.selected {
    background-color: #5dcf33;
}

.wallet-item {
    display: grid;
    grid-template-columns: 1fr 5fr;
    gap: 12px;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.wallet-type {
    font-weight: bold;
}

.wallet-address {
    color: #6c757d;
}

.copy-btn {
    padding: 4px 8px;
}

.app-container {
    display: flex;
    height: 100vh;
}

.wallet-list-container {
    width: 20vw;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    padding: 0 10px 0;
}

.wallet-details-container {
    width: 30vw;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    padding: 0 10px 0;
    overflow-y: auto;
}

.wallet-operations-container {
    width: 50vw;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    padding: 0 10px 0;
    overflow-y: auto;
}

.wallet-details-container p {
    font-family: monospace;
    margin: 0 0 16px;
}

.wallet-info span {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#detail-token {
    font-weight: normal;
}

#detail-amount {
    font-weight: bold;
    font-size: 20px;
}

#detail-usd {
    color: #888;
}

.search-message, .order-message {
    margin-top: 0.5em;
    font-size: 0.9em;
}

.search-message.error, .order-message.error {
    color: #c00;
}

.search-message.success, .order-message.success {
    color: #080;
}

.traded-item {
    cursor: pointer;
    padding: 0.5em;
}

.traded-item.selected {
    background: #5dcf33;
}

.pair-address {
    color: #888
}

.traded-tokens-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.traded-item strong,
.traded-item span {
    display: block;
}

.traded-tokens-list ul li {
    list-style: none;
    padding: 0.5em 0;
    border-bottom: 1px solid #ddd;
}

.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    font-family: Arial, sans-serif;
}

.modal-header {
    display: grid;
    align-items: center;
    padding: 12px 16px;
    grid-template-columns: 3fr 1fr;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
}

.modal-body {
    padding: 16px;
}

.modal-body label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
}

.modal-body input[type="text"],
.modal-body select {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 14px;
}

.modal-footer {
    padding: 12px 16px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
}

.modal-footer button {
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}

.modal-footer button:disabled {
    background-color: #8abfea;
    cursor: default;
}

.danger-button {
    background-color: #e53935;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.15);
}

.danger-button:hover,
.danger-button:focus {
    background-color: #b71c1c;
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.25);
}

.danger-button:active {
    background-color: #c62828;
}

.search-address-widget {
    padding-top: 10px;
}

.hidden {
    display: none;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.tabs button {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
    color: #0056b3;
    font-weight: bold;
}


.tabs button:hover {
    color: #0056b3;
    border-color: rgba(0, 123, 255, 0.4);
}

.tabs button.active {
    color: #007BFF;
    font-weight: bold;
    border-color: #007BFF;
}

#group-list {
    list-style: none;
    padding: 0;
}

.group-item.selected {
    background-color: #5dcf33;
}

.group-item {
    display: grid;
    grid-template-columns: 1fr;
    font-weight: bold;
    gap: 12px;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.watermark {
    position: fixed;
    top: -5vh;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.08;
    user-select: none;
}

.watermark-text {
    font-size: 12vw;
    font-weight: bold;
    color: #000;
    transform: rotate(-30deg);
    white-space: nowrap;
    letter-spacing: 5vw;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
}
