@charset "utf-8";

:root {
    --roadmap-text: #181824;
    --roadmap-text-light: #3B3B45;
    --roadmap-bg: #f5f6fc;
    --roadmap-card-bg: #ffffff;
    --roadmap-border: #a8a8b54d;
    --roadmap-success: #28a745;
    --roadmap-warning: #ffc107;
    --roadmap-info: #17a2b8;
}

body {
    background-color: #f5f6fc
}

.wrap {
    padding: 0 16px
}

.roadmap-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    padding-block: 150px 80px;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 60px;
}

.roadmap-title {
    font-size: 64px;
    line-height: 64px;
    color: var(--roadmap-text);
    margin-bottom: 24px;
    font-weight: 600;
}

.roadmap-description {
    font-size: 20px;
    line-height: 30px;
    color: var(--roadmap-text-light);
    max-width: 840px;
    margin: 0 auto;
}

.roadmap-note {
    background: #fff;
    border: none;
    padding: 24px;
    margin: 40px 0;
    border-radius: 16px;
}

.roadmap-note p {
    margin: 0 0 16px 0;
    color: var(--roadmap-text-light);
    font-size: 16px;
    line-height: 1.6;
}

.roadmap-note p:last-of-type {
    margin-bottom: 24px;
}

.roadmap-note-title {
    color: var(--roadmap-text) !important;
    font-size: 19px !important;
    font-weight: 500 !important;
    margin-bottom: 16px !important;
}

.roadmap-note strong {
    color: var(--roadmap-text);
    font-weight: 700;
}

.season-section {
    margin-bottom: 60px;
}

.season-title {
    font-size: 26px;
    font-weight: 600;
    color: var(--roadmap-text);
    margin-bottom: 30px;
}

.roadmap-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.roadmap-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    background: none;
    border: none;
}

.roadmap-item-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.roadmap-item-title {
    font-size: 19px;
    font-weight: 400;
    color: var(--roadmap-text);
    margin: 0;
    line-height: 1.4;
}

.roadmap-item-circle.checked + .roadmap-item-header .roadmap-item-title {
    color: #888;
    text-decoration: line-through;
}

.roadmap-item-description {
    display: none;
}

.roadmap-item-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
    position: relative;
}

.roadmap-item-circle.checked {
    background-color: #3f5cf7;
    border-color: #3f5cf7;
    position: relative;
}

.roadmap-item-circle.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-category {
    display: none;
}

.legacy-section {
    margin: 60px 0;
}

.legacy-separator {
    display: flex;
    align-items: center;
    margin: 40px 0;
    gap: 16px;
}

.legacy-line {
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.legacy-section-title {
    font-size: 16px;
    font-weight: 400;
    color: #888;
    white-space: nowrap;
}

.roadmap-item-legacy {
    position: relative;
}

.roadmap-item-legacy .roadmap-item-circle {
    background-color: transparent;
    border-color: #ddd;
}

.roadmap-item-legacy .roadmap-item-circle.checked {
    background-color: #3f5cf7;
    border-color: #3f5cf7;
}

.roadmap-item-legacy .roadmap-item-circle.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe-section {
    background: #fff;
    padding: 40px 0;
    text-align: center;
    margin: 60px 0;
}

.subscribe-content {
    max-width: 400px;
    margin: 0 auto;
}

.subscribe-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--roadmap-text);
}

.subscribe-description {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--roadmap-text-light);
    line-height: 1.6;
}

.subscribe-button {
    background: #181824;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.subscribe-button:hover {
    background: #333;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state h3 {
    font-size: 24px;
    color: var(--roadmap-text);
    margin-bottom: 16px;
    font-weight: 600;
}

.empty-state p {
    color: var(--roadmap-text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .roadmap-container {
        
    }
    
    .roadmap-title {
        font-size: 40px;
        line-height: 40px;
    }
    
    .roadmap-description {
        font-size: 18px;
    }
    
    .season-title {
        font-size: 22px;
    }
    
    .roadmap-item-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .roadmap-title {
        font-size: 32px;
        line-height: 32px;
    }
    
    .roadmap-description {
        font-size: 16px;
    }
}

/* White footer like in glossary */
section.footer-carbon {
    background-color: #fff;
    color: #181824;
}

section.footer-carbon a {
    color: #111;
    opacity: .8;
}

section.footer-carbon a:hover {
    opacity: 1;
}

section.footer-carbon a.active {
    opacity: 1;
}

section.footer-carbon .social a {
    color: #111;
    opacity: .8;
}

section.footer-carbon .project svg path {
    fill: #3f5cf7;
}

.footer-carbon .copyright {
    color: #111;
    opacity: .8;
}

/* Roadmap item link styles */
.roadmap-item-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.roadmap-item-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateX(4px);
}

.roadmap-item-link .roadmap-item-circle {
    background: #3f5cf7;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Voting styles */
.roadmap-item-vote {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.vote-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #6c757d;
    min-width: 60px;
    justify-content: center;
}

.vote-button:hover:not(:disabled) {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #495057;
}

.vote-button.voted {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    cursor: default;
}

.vote-button.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

.vote-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.vote-icon {
    font-size: 16px;
}

.vote-count {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* Suggestion section styles */
.suggestion-section {
    margin-top: 80px;
    padding: 40px;
    background: white;
    border-radius: 12px;
}

.suggestion-header {
    text-align: center;
    margin-bottom: 40px;
}

.suggestion-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--roadmap-text);
    margin-bottom: 16px;
}

.suggestion-description {
    font-size: 16px;
    color: var(--roadmap-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.suggestion-form-placeholder {
    max-width: 600px;
    margin: 0 auto;
    /* Здесь будут стили для вашей формы */
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: #28a745;
}

.notification-error {
    background: #dc3545;
}

/* Responsive design */
@media (max-width: 768px) {
    .roadmap-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .roadmap-item-vote {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .suggestion-section {
        margin-top: 60px;
        padding: 24px;
    }
    
    .suggestion-title {
        font-size: 24px;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}
