﻿/* wwwroot/css/profile.css */
@import url('base.css');

/* Хлебные крошки */
.breadcrumb {
    background: var(--card-bg);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    animation: slideIn 0.5s ease;
}

.breadcrumb-item {
    font-size: 14px;
    color: var(--text);
}

    .breadcrumb-item a {
        color: var(--primary);
        text-decoration: none;
    }

        .breadcrumb-item a:hover {
            color: var(--primary-dark);
        }

    .breadcrumb-item.active {
        color: var(--secondary);
    }

/* Контейнер профиля */
.content-conteier {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    animation: cardFadeIn 0.5s ease;
}

/* Карточки профиля */
.profile-card {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: transform 0.3s ease;
}

    .profile-card:hover {
        transform: scale(1.02);
    }

    .profile-card .card-content {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .profile-card svg {
        width: 18px;
        height: 18px;
        color: var(--primary);
    }

    .profile-card text,
    .profile-card .form-check-label {
        font-size: 14px;
        color: var(--text);
        font-weight: 500;
    }

    .profile-card .nav-link {
        color: var(--primary);
        text-decoration: none;
        padding: 6px 10px;
        border-radius: 6px;
        background: var(--card-bg);
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .profile-card .nav-link:hover {
            background: #e9ecef;
        }

    /* Чекбокс 2FA */
    .profile-card .form-check-input {
        width: 18px;
        height: 18px;
        border: 2px solid var(--secondary);
        border-radius: 4px;
        cursor: pointer;
    }

        .profile-card .form-check-input:checked {
            background: var(--primary);
            border-color: var(--primary);
        }

/* Инструкции Telegram */
.telegram-instructions {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

    .telegram-instructions p {
        font-size: 14px;
        color: var(--text);
        margin-bottom: 8px;
    }

    .telegram-instructions ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .telegram-instructions ul li {
            font-size: 13px;
            color: var(--text);
            margin-bottom: 6px;
        }

            .telegram-instructions ul li a {
                color: var(--primary);
                text-decoration: none;
            }

                .telegram-instructions ul li a:hover {
                    color: var(--primary-dark);
                }

/* Адаптивность */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

        .profile-card text,
        .profile-card .form-check-label {
            font-size: 13px;
        }

    .telegram-instructions {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .breadcrumb {
        padding: 6px 10px;
    }

    .breadcrumb-item {
        font-size: 12px;
    }

    .content-conteier {
        padding: 10px;
    }

    .profile-card {
        padding: 8px;
    }

        .profile-card text,
        .profile-card .form-check-label {
            font-size: 12px;
        }
}
