/* Code Input Styles */
.code-input-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 12px;
    background: var(--input-form);
    border-radius: var(--br-10);
    overflow: hidden;
    border: 1px solid var(--transparent-5-w);
    padding: 5px;
}

.code-input-group input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 12px 14px;
    font-family: monospace;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-custom);
    height: auto;
}

.social-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 8px;
}

.social-single {
    grid-template-columns: 1fr;
}

/* Ð ÐµÐ¶Ð¸Ð¼ "Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ð¸ÐºÐ¾Ð½ÐºÐ¸" â€” ÐºÐ¾Ð³Ð´Ð° Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ñ‹ Ð²ÑÐµ 3 ÑÐ¾Ñ†ÑÐµÑ‚Ð¸ */
.social-icons {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.social-icons .v-social-btn {
    padding: 14px 12px;
}

.social-icons .v-social-btn svg {
    width: 22px;
    height: 22px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: var(--br-10);
    text-decoration: none !important;
    font-size: 14px;
    font-weight: var(--font-weight-5);
    transition: opacity .2s, transform .15s;
    color: #fff !important;
    cursor: pointer;
}

.social-btn:hover {
    opacity: 0.85;
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    flex-shrink: 0;
}

.social-tg {
    background: #2AABEE;
}

.social-ds {
    background: #5865F2;
}

.social-tt {
    background: #000;
}

.v-activate-row button {
    flex-shrink: 0;
    border: none !important;
    border-radius: var(--br-8) !important;
    padding: 10px 20px;
    margin: 4px;
    font-weight: var(--font-weight-5);
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.social {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 13px;
    margin: 14px 0;
    white-space: nowrap;
}

.social::before,
.social::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--transparent-5-w);
}

.code-input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color, #fff);
    font-weight: 500;
}

.code-input-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-muted, #8b92a8);
    font-size: 0.85rem;
}

/* Code Result Styles */
.code-result {
    margin-top: 15px;
}

.code-result .alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.code-result .alert-success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.code-result .alert-error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.prize-info {
    text-align: center;
    padding: 15px;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 6px;
    color: #4a9eff;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Table Styles */
.table code {
    background: rgba(74, 158, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #4a9eff;
    font-weight: 600;
}


.badge-success {
    color: #2ecc71;
}

.badge-danger {
    color: #e74c3c;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
}

.action-buttons .button,
.action-buttons .button-delete {
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* IP hiding style */
.hide-ip {
    filter: blur(4px);
    transition: filter 0.3s ease;
    cursor: pointer;
}

.hide-ip:hover {
    filter: blur(0);
}

/* Telegram Card Styles */
.telegram-card {
    margin: 15px 0;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.telegram-card .card-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #0088cc 0%, #005f8f 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.telegram-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.telegram-icon-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.telegram-info {
    flex: 1;
    min-width: 200px;
}

.telegram-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.telegram-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.btn-telegram {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #0088cc !important;
    border: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-telegram:hover {
    background: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .admin_nav {
        flex-direction: column;
    }

    .admin_nav button {
        width: 100%;
        justify-content: center;
    }

    .action-buttons {
        flex-direction: column;
    }

    .telegram-card .card-container {
        flex-direction: column;
        text-align: center;
    }

    .telegram-info {
        min-width: auto;
    }
}

.help-icon {
    position: relative;
    display: inline-flex;
    cursor: help;
}

.help-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    margin-bottom: 8px;
    z-index: 1000;
}

.help-icon:hover .help-tooltip {
    opacity: 1;
}


.badge_low {
    margin-block: 10px;
}