/* Deposit Times Module */
.deposit-times {
    padding: 80px 0;
    background: var(--bg-card);
}

.container {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--accent-primary);
}

.section-subtitle {
    font-size: 1.2em;
    color: var(--text-secondary);
}

.network-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-group {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1em;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Networks Accordion */
.networks-accordion {
    max-width: 1000px;
    margin: 0 auto 40px;
}

.network-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.network-item:hover {
    border-color: var(--accent-primary);
}

.network-item.active {
    border-color: var(--accent-primary);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.1);
}

.network-item.hidden {
    display: none;
}

.network-header {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.network-header:hover {
    background: rgba(0, 255, 255, 0.05);
}

.network-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
}

.network-icon {
    font-size: 1.5em;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.network-details {
    flex-grow: 1;
}

.network-name {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0 0 5px 0;
}

.network-stats {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9em;
}

.stat {
    color: var(--text-secondary);
}

.network-arrow {
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.network-item.active .network-arrow {
    transform: rotate(180deg);
}

/* Network Content - без ограничения высоты */
.network-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.network-item.active .network-content {
    max-height: none;
    height: auto;
    overflow: visible;
}

.exchanges-list {
    padding: 0 25px 20px;
}

.exchange-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.exchange-row:last-child {
    border-bottom: none;
}

.exchange-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.exchange-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
}

.exchange-name {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 100px;
}

.exchange-details {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.confirmations {
    color: var(--text-secondary);
    font-size: 0.9em;
    min-width: 150px;
}

.deposit-time {
    color: var(--text-primary);
    font-weight: 600;
    min-width: 100px;
}

/* Статусы - только цветные круги */
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.fast {
    background: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.status-dot.normal {
    background: #ffff00;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.status-dot.slow {
    background: #ffa500;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.status-dot.delayed {
    background: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.no-results-content i {
    font-size: 3em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-results-content h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.no-results-content p {
    color: var(--text-secondary);
}

/* Status Legend */
.status-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.legend-title {
    color: var(--text-secondary);
    font-weight: 600;
}

.legend-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9em;
}

.btn-admin {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-primary);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-admin:hover {
    background: #00e6e6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        max-width: 95%;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .network-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: 100%;
        max-width: 100%;
    }
    
    .network-header {
        padding: 15px 20px;
    }
    
    .network-info {
        gap: 12px;
    }
    
    .network-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
    
    .network-name {
        font-size: 1.1em;
    }
    
    .exchange-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 0;
    }
    
    .exchange-details {
        width: 100%;
        justify-content: space-between;
    }
    
    .status-legend {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .legend-items {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.7em;
    }
    
    .exchanges-list {
        padding: 0 15px 15px;
    }
    
    .exchange-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .confirmations,
    .deposit-time {
        min-width: auto;
    }
}
