:root {
    --brand-green: #55AB6D;
    --brand-orange: #f28404;
    --brand-orange-hover: #d66e00;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --gray-900: #212529;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid var(--gray-200);
}

.fixed-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.logo {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 28px;
    text-decoration: none;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--gray-800);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
}

.nav-item:hover {
    background: var(--gray-100);
    color: var(--brand-green);
    transform: translateY(-1px);
}

.nav-item.active {
    background: var(--brand-green);
    color: white;
}

.nav-item.inactive {
    color: var(--gray-600);
    cursor: not-allowed;
    opacity: 0.6;
}

.nav-item.inactive:hover {
    background: transparent;
    transform: none;
}

.nav-item i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.main-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.main-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: var(--brand-green);
}

.main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-green), var(--brand-orange));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(85, 171, 109, 0.3);
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.card-count {
    color: var(--brand-orange);
    font-weight: 600;
    font-size: 14px;
}

.card-description {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.5;
}

.section-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-200);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 8px;
    color: var(--brand-green);
}

.recent-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.recent-item:hover {
    background: var(--gray-100);
    border-color: var(--brand-green);
}

.recent-item-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--brand-green);
}

.recent-item-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 4px 0;
}

.recent-item-content p {
    font-size: 12px;
    color: var(--gray-600);
    margin: 0;
}

.news-item {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.news-item:hover {
    border-color: var(--brand-orange);
    background: #fff8f0;
}

.news-badge {
    display: inline-block;
    background: var(--brand-orange);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.news-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.news-date {
    font-size: 12px;
    color: var(--gray-600);
}

.btn-primary {
    background: var(--brand-orange);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block; /* важный момент */
}

.my-link {
    margin-top: 20px; /* если нужен отступ сверху */
}

.btn-primary:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-1px);
}

.container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1600px) {
    .container-full {
        max-width: 1600px;
    }
}

@media (min-width: 1920px) {
    .container-full {
        max-width: 1800px;
    }
}
