/* Icon Styles - Стили иконок ТРОН */

/* Icon Base */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
}

/* Icon Sizes */
.icon-xs {
    width: 12px;
    height: 12px;
    font-size: 12px;
}

.icon-sm {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.icon-md {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.icon-lg {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

.icon-xl {
    width: 32px;
    height: 32px;
    font-size: 32px;
}

.icon-2xl {
    width: 40px;
    height: 40px;
    font-size: 40px;
}

.icon-3xl {
    width: 48px;
    height: 48px;
    font-size: 48px;
}

/* Icon Colors */
.icon-primary {
    color: var(--tron-blue);
}

.icon-secondary {
    color: var(--tron-dark-gray);
}

.icon-success {
    color: var(--tron-success);
}

.icon-warning {
    color: var(--tron-warning);
}

.icon-danger {
    color: var(--tron-danger);
}

.icon-info {
    color: var(--tron-info);
}

.icon-white {
    color: white;
}

.icon-muted {
    color: var(--tron-dark-gray);
    opacity: 0.6;
}

/* Icon Backgrounds */
.icon-bg-primary {
    background-color: var(--tron-blue);
    color: white;
    border-radius: 50%;
}

.icon-bg-secondary {
    background-color: var(--tron-gray);
    color: var(--tron-text);
    border-radius: 50%;
}

.icon-bg-success {
    background-color: var(--tron-success);
    color: white;
    border-radius: 50%;
}

.icon-bg-warning {
    background-color: var(--tron-warning);
    color: white;
    border-radius: 50%;
}

.icon-bg-danger {
    background-color: var(--tron-danger);
    color: white;
    border-radius: 50%;
}

.icon-bg-info {
    background-color: var(--tron-info);
    color: white;
    border-radius: 50%;
}

/* Icon Shapes */
.icon-circle {
    border-radius: 50%;
}

.icon-rounded {
    border-radius: 8px;
}

.icon-square {
    border-radius: 4px;
}

/* Icon Animations */
.icon-spin {
    animation: spin 1s linear infinite;
}

.icon-pulse {
    animation: pulse 2s infinite;
}

.icon-bounce {
    animation: bounce 1s infinite;
}

.icon-rotate {
    transition: transform 0.3s ease;
}

.icon-rotate:hover {
    transform: rotate(180deg);
}

.icon-scale {
    transition: transform 0.3s ease;
}

.icon-scale:hover {
    transform: scale(1.2);
}

.icon-glow {
    transition: box-shadow 0.3s ease;
}

.icon-glow:hover {
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.6);
}

/* Icon Groups */
.icon-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-group-vertical {
    flex-direction: column;
    gap: 12px;
}

.icon-group-horizontal {
    flex-direction: row;
    gap: 16px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--tron-gray);
    color: var(--tron-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    background-color: var(--tron-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.social-icon-facebook:hover {
    background-color: #1877F2;
}

.social-icon-twitter:hover {
    background-color: #1DA1F2;
}

.social-icon-instagram:hover {
    background-color: #E4405F;
}

.social-icon-linkedin:hover {
    background-color: #0077B5;
}

.social-icon-youtube:hover {
    background-color: #FF0000;
}

.social-icon-telegram:hover {
    background-color: #0088CC;
}

.social-icon-whatsapp:hover {
    background-color: #25D366;
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tron-blue), #00CCFF);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.feature-icon-sm {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-bottom: 15px;
}

.feature-icon-lg {
    width: 80px;
    height: 80px;
    font-size: 32px;
    margin-bottom: 25px;
}

/* Status Icons */
.status-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.status-icon-success {
    background-color: var(--tron-success);
    color: white;
}

.status-icon-warning {
    background-color: var(--tron-warning);
    color: white;
}

.status-icon-danger {
    background-color: var(--tron-danger);
    color: white;
}

.status-icon-info {
    background-color: var(--tron-info);
    color: white;
}

/* Navigation Icons */
.nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: inherit;
}

.nav-icon-right {
    margin-right: 0;
    margin-left: 8px;
}

/* Button Icons */
.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.btn-icon-right {
    margin-right: 0;
    margin-left: 8px;
}

.btn-icon-only {
    margin: 0;
    width: 24px;
    height: 24px;
}

/* Loading Icons */
.loading-icon {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--tron-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-icon-sm {
    width: 16px;
    height: 16px;
    border-width: 1px;
}

.loading-icon-lg {
    width: 32px;
    height: 32px;
    border-width: 3px;
}

/* Arrow Icons */
.arrow-icon {
    transition: transform 0.3s ease;
}

.arrow-icon-up {
    transform: rotate(0deg);
}

.arrow-icon-right {
    transform: rotate(90deg);
}

.arrow-icon-down {
    transform: rotate(180deg);
}

.arrow-icon-left {
    transform: rotate(270deg);
}

.arrow-icon-rotate:hover {
    transform: rotate(180deg);
}

/* Custom Icons */
.icon-tron {
    background: linear-gradient(135deg, var(--tron-blue), #00CCFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icon-gradient {
    background: linear-gradient(135deg, var(--tron-blue), #00CCFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Icon Badges */
.icon-badge {
    position: relative;
}

.icon-badge::after {
    content: attr(data-badge);
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--tron-danger);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
}

.icon-badge-primary::after {
    background-color: var(--tron-blue);
}

.icon-badge-success::after {
    background-color: var(--tron-success);
}

.icon-badge-warning::after {
    background-color: var(--tron-warning);
}

/* Icon Lists */
.icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.icon-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 0;
}

.icon-list .icon {
    margin-right: 12px;
    flex-shrink: 0;
}

.icon-list .text {
    flex: 1;
}

/* Responsive Icons */
@media (max-width: 768px) {
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .icon-group {
        gap: 6px;
    }
    
    .icon-group-vertical {
        gap: 8px;
    }
    
    .icon-group-horizontal {
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .icon-3xl {
        width: 40px;
        height: 40px;
        font-size: 40px;
    }
    
    .icon-2xl {
        width: 32px;
        height: 32px;
        font-size: 32px;
    }
}