/* Базовые стили */
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    background: #f5f7fa;
    color: #202124;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

/* Навигация */
.navbar {
    background: #fff !important;
    border-bottom: 1px solid #e1e4e8;
    box-shadow: 0 2px 6px rgba(60, 64, 67, .1);
    padding: 0.6rem 1.5rem;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.4rem;
    color: #1a73e8 !important;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    color: #3c4043 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #1a73e8 !important;
    text-decoration: underline;
    outline: none;
}

.btn-link.logout {
    color: #1a73e8 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.btn-link.logout:hover {
    color: #155ab6 !important;
    text-decoration: underline;
}

/* Контейнер */
.glass-container {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    box-shadow: 0 2px 8px rgba(60, 64, 67, .1);
    max-width: 1300px;
    margin: 2rem auto;
}

/* Breadcrumbs */
.breadcrumb {
    background: none;
    padding: 0;
    color: #5f6368;
    font-size: 0.9rem;
    user-select: none;
    box-shadow: none;
    margin-bottom: 1rem;
}

.breadcrumb li+li:before {
    content: "›";
    color: #c6c6c6;
    margin: 0 0.5rem;
    font-weight: 500;
}

.breadcrumb li a {
    color: #5f6368;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb li a:hover {
    color: #1a73e8;
    text-decoration: underline;
}

.breadcrumb .active {
    color: #1a73e8;
    font-weight: 500;
    cursor: default;
}

/* Ссылки */
a {
    color: #1a73e8;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #155ab6;
    text-decoration: underline;
    outline: none;
}

/* Кнопки */
.btn {
    font-weight: 500;
    border-radius: 6px;
    padding: 0.5rem 1.8rem;
    font-size: 1rem;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
    user-select: none;
    cursor: pointer;
}

.btn-glow {
    background-color: #1a73e8;
    border: none;
    color: #fff;
    box-shadow: 0 0 10px rgba(26, 115, 232, 0.6);
}

.btn-glow:hover,
.btn-glow:focus {
    background-color: #155ab6;
    box-shadow: 0 0 20px rgba(21, 90, 182, 0.8);
    outline: none;
    color: #fff;
}

.btn-glow:active {
    transform: scale(0.98);
}

/* Карточки */
.card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem 1.8rem;
    color: #202124;
    box-shadow: 0 1px 3px rgba(60, 64, 67, .1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
    cursor: default;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 15px rgba(26, 115, 232, 0.2);
}

.card-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
}

.card-text {
    font-size: 1rem;
    color: #3c4043;
    margin-bottom: 1rem;
    line-height: 1.4;
    user-select: text;
}

/* Лоадер */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.spinner-border {
    --bs-spinner-color: #1a73e8;
}

/* Футер */
.footer {
    background: #f1f3f4;
    border-top: 1px solid #e1e4e8;
    box-shadow: none;
    padding: 1rem 0;
    color: #5f6368;
    font-weight: 500;
    font-size: 0.9rem;
    user-select: none;
}

.footer-icons a {
    font-size: 1.6rem;
    margin: 0 0.6rem;
    color: #5f6368;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-icons a:hover,
.footer-icons a:focus {
    color: #1a73e8;
    transform: scale(1.15);
    outline: none;
}

/* Адаптив */
@media (max-width: 768px) {
    .glass-container {
        padding: 1.5rem 1rem;
        margin: 1.5rem;
    }

    .card {
        margin-bottom: 1.5rem;
    }
}