/* Стили для страницы прокси */

.balance-container {
    display: flex;
    align-items: center;
    margin: 0 20px;
}

.balance-info {
    background-color: #1a1a1a;
    border: 2px solid #ff3b3b;
    border-radius: 5px;
    padding: 8px 15px;
    color: #f0f0f0;
}

.balance-label, 
.partner-balance-label {
    color: #ff3b3b;
    font-weight: bold;
    margin-right: 5px;
}

.balance-amount, 
.partner-balance-amount {
    color: #4CAF50;
    font-weight: bold;
    margin-right: 15px;
}

/* Статусы прокси */
.proxy-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9em;
}

.status-active {
    background-color: #4CAF50;
    color: #fff;
}

.status-expiring {
    background-color: #FF9800;
    color: #fff;
}

.status-expired {
    background-color: #F44336;
    color: #fff;
}

/* Кликабельные элементы */
.copyable-ip {
    cursor: pointer;
    color: #ff3b3b;
    font-weight: bold;
}

.copyable-ip:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

/* Контейнеры для портов и авторизации */
.ports-container, 
.auth-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.port-info, 
.auth-info {
    font-size: 0.9em;
    color: #ccc;
    cursor: pointer;
}

.auth-info:hover {
    color: #ff3b3b;
}

/* Маленькие кнопки действий */
.action-btn.small {
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-btn.small i {
    font-size: 16px;
}

/* Стили для количества в модальном окне */
div:not(.login) form input[type="number"] {
    width: 100%;
    padding: 12px;
    background-color: #0d0d0d;
    border: 1px solid #ff3b3b;
    color: #f0f0f0;
    border-radius: 5px;
    margin-bottom: 1em;
}

/* Флаги стран */
.country-flag {
    margin-right: 8px;
    font-size: 1.2em;
}

/* Уведомления */
.copy-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
    max-width: 300px;
    word-wrap: break-word;
}