
    /* Стили для десктопной навигации */
.navigation-desktop {
    display: flex;
    margin-bottom: 20px;
}

.navigation-desktop .nav-button {
    background-color: #337ab7;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    margin-right: 10px;
    cursor: pointer;
}

.navigation-desktop .nav-button:hover {
    background-color: #286090;
}

/* Стили для мобильной навигации */
.navigation-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 8px 0;
    display: flex;
    justify-content: space-around;
}

.mobile-nav-button {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    color: #555;
    width: 25%;
    cursor: pointer;
}

.mobile-nav-button.active {
    color: #337ab7;
}

.mobile-nav-button .nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
    display: block;
}

.mobile-nav-button .nav-text {
    font-size: 12px;
}

/* Медиа-запросы для переключения между типами навигации */
@media (min-width: 769px) {
    .navigation-desktop {
        display: flex;
    }

    .navigation-mobile {
        display: none;
    }

    /* Добавьте отступ для основного контента */
    body {
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .navigation-desktop {
        display: none;
    }

    .navigation-mobile {
        display: flex;
    }

    /* Добавьте отступ для основного контента, чтобы нижняя панель не перекрывала */
    body {
        padding-bottom: 60px;
    }
}


.progress-bar.warning {
    background-color: #ffc107;
}

.progress-bar.danger {
    background-color: #dc3545;
}
body {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}
.container {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px;
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
input[type="text"],
input[type="password"],
input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
}
button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 10px;
}
button:hover {
    background-color: #45a049;
}
.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 3px;
}
.success {
    background-color: #dff0d8;
    color: #3c763d;
}
.error {
    background-color: #f2dede;
    color: #a94442;
}
.hidden {
    display: none;
}
.navigation {
    margin-bottom: 20px;
}
.nav-button {
    background-color: #337ab7;
    margin-right: 10px;
}
.nav-button:hover {
    background-color: #286090;
}
.profile-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.profile-label {
    font-weight: bold;
    display: inline-block;
    width: 150px;
}
.history-section {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}
.history-item {
    background-color: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 3px;
}
.deposit {
    border-left: 3px solid #4CAF50;
}
.withdraw {
    border-left: 3px solid #f44336;
}

/* Стили для панели управления */
.terminal-stats {
    margin-top: 20px;
}
.balance-info {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid #4CAF50;
}
.stat-item {
    margin-bottom: 10px;
}
.stat-label {
    font-weight: bold;
    display: inline-block;
    width: 150px;
}
.limit-progress-container {
    margin-bottom: 20px;
}


.progress-bar.warning {
    background-color: #ffc107;
}
.progress-bar.danger {
    background-color: #dc3545;
}
.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6c757d;
}
.quick-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.stat-box {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    width: 48%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}
.stat-title {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}
.stat-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}
.stat-subvalue {
    font-size: 14px;
    color: #6c757d;
}



.progress-info-text {
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.progress-bar-container {
    position: relative;
    height: 25px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #4CAF50;
    z-index: 1;
}



.progress-bar-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 25px;
    font-weight: bold;
    color: #337ab7;
    z-index: 2;
    pointer-events: none;
}

.history-toggle-button {
    display: block;
    margin: 10px auto 0;
    background-color: #337ab7;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.history-toggle-button:hover {
    background-color: #286090;
}

html, body {
    height: 100%;
    overflow-y: auto;
}
@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
}

html {
    scroll-behavior: smooth;
}