* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::selection {
    background: #180F4C;
    color: #F21559;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

#list-top {
    background: #0099FE;
    padding: 50px 20px 20px;
}

.header {
    border-radius: 8px;
    padding: 18px;
    margin-top: 100px;
    text-align: center;
    font-family: 'Lato', sans-serif;
}

.header h1 {
    font-size: 4rem;
    line-height: 4rem;
    color: #FFFFFF;
    text-align: center;
    font-weight: 900;
}

h4.white-header {
    color: #FFFFFF;
    margin-top: 0;
}

.line {
    width: 80px;
    background: #F21559;
    height: 5px;
    display: block;
    margin: 0 auto;
    margin-bottom: 30px;
}

.filters {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filters label {
    font-weight: 500;
    color: white;
}

.filters select, .filters button {
    padding: 8px 12px;
    border: 1px solid #d2d6dc;
    border-radius: 4px;
    font-size: 14px;
    background: white;
}

.filters select:focus {
    outline: none;
    border-color: #4299e1;
}

.filters button {
    background: #4299e1;
    color: white;
    border: 1px solid #4299e1;
    cursor: pointer;
    font-weight: 500;
}

.filters button:hover {
    background: #3182ce;
    border-color: #3182ce;
}

.loading, .error {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #4299e1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    font-size: 16px;
    color: #718096;
}

.error {
    border-left: 4px solid #f56565;
}

.error p {
    color: #f56565;
    font-size: 16px;
    margin-bottom: 15px;
}

#retryBtn {
    background: #f56565;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

#retryBtn:hover {
    background: #e53e3e;
}

.content {
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.stats {
    background: #f7fafc;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.stats span {
    color: #718096;
    font-size: 14px;
}

.stats strong {
    color: #2d3748;
}

.version-list {
    padding: 0;
}

.version-item {
    border-bottom: 1px solid #e2e8f0;
}

.version-item:last-child {
    border-bottom: none;
}

.version-header {
    padding: 20px 20px 20px 50px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: background-color 0.2s ease;
}

.version-header:hover {
    background-color: #f7fafc;
}

.version-info {
    flex-grow: 1;
}

.version-date {
    color: #0199fd;
    font-size: 14px;
    margin-bottom: 4px;
}

.version-title {
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #4a5568;
}

.big-change-title {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #2d3748;
    font-weight: 600;
}

.expand-icon {
    font-size: 14px;
    color: #718096;
    margin-top: 4px;
    transition: transform 0.2s ease;
    user-select: none;
}

.version-item.expanded .expand-icon {
    transform: rotate(180deg);
}

.version-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.version-item.expanded .version-content {
    max-height: 3000px;
    padding: 0 30px 30px 30px;
}

.version-details {
    border-radius: 6px;
    margin-top: 10px;
}

.version-details h3 {
    color: #f22859;
    margin-bottom: 22px;
    font-size: 0.8rem;
    font-weight: 400;
    padding-bottom: 4px;
    border-bottom: 1px solid #e2e8f0;
    margin-top: 0;
}

.main-change {
    color: #f21559;
    font-size: 12px;
}

.change-section {
    margin-bottom: 24px;
    background: #f7fafc;
    padding: 20px;
}

.change-section:last-child {
    margin-bottom: 0;
}

.change-section h4 {
    color: #2d3748;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.feature-item, .update-item, .bug-item {
    margin-bottom: 16px;
}

.feature-item:last-child, .update-item:last-child, .bug-item:last-child {
    margin-bottom: 0;
}

.feature-item h4, .update-item h4, .bug-item h4 {
    color: #0199fd;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
}

.description-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.description-list li {
    padding: 0px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
    font-size: 14px;
    border-left: 3px solid #cbd5e0;
    color: #4a5568;
    margin-left: 10px;
}

.description-list li:last-child {
    margin-bottom: 0;
}

.description-text {
    background: #f7fafc;
    padding: 12px;
    border-radius: 4px;
    margin: 8px 0 0 0;
    font-size: 14px;
    border-left: 3px solid #cbd5e0;
    color: #4a5568;
}

.summary-text {
    border-radius: 6px;
    padding: 10px;
    margin: 12px 0 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #0199fd;
}

.change-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.change-list li {
    background: white;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 4px;
    border-left: 3px solid #cbd5e0;
    font-size: 14px;
    color: #4a5568;
}

.change-list li:last-child {
    margin-bottom: 0;
}

.legacy-change-section {
    margin-bottom: 12px;
}

.legacy-change-section h4 {
    color: #718096;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
}

.pagination {
    padding: 20px;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.page-btn {
    background: #f22859;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.page-btn:hover:not(:disabled) {
    background: #a10e3b;
}

.page-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
}

.page-info {
    color: #718096;
    font-weight: 500;
    font-size: 14px;
}

.page-size {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-size label {
    color: #718096;
    font-weight: 500;
    font-size: 14px;
}

.page-size select {
    padding: 6px 10px;
    border: 1px solid #d2d6dc;
    border-radius: 4px;
    font-size: 14px;
    background: white;
}

.page-size select:focus {
    outline: none;
    border-color: #4299e1;
}
.version-header {
    flex-direction: row;
    gap: 8px;
}

.version-info-head {
    display: flex;
    gap: 20px;
}

.version-item {
    background: #FFFFFF;
    border-radius: 5px;
    box-shadow: 0 4px 0 0 #E7E7E7;
    margin-bottom: 15px;
    position: relative;
    text-align: left;
    font-size: 16px;
}

.version-item::before {
    content: "";
    display: block;
    position: absolute;
    height: calc(100% + 20px);
    width: 1px;
    left: 25px;
    top: 27px;
    z-index: 2;
    background: rgb(242, 21, 89);
}

.version-item::after {
    content: "•";
    color: rgb(242, 21, 89);
    display: block;
    position: absolute;
    font-size: 5rem;
    left: 9px;
    top: 0px;
    padding-top: 13px;
}

.filters button:hover, .page-btn:hover {
    background: #a10e3b;
    border-color: #a10e3b;
}

.filters button, .page-btn {
    background: #f22859;
    color: white;
    cursor: pointer;
    font-weight: 500;
}

.version-item:last-of-type::before {
    top: -15px;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 1.75rem;
    }
    
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .stats {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .pagination {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .version-content {
        padding: 0 16px;
    }
    
    .version-item.expanded .version-content {
        padding: 0 16px 16px 16px;
    }
    .version-info-head {
        flex-direction: column;
        gap: 0;
    }

    #list-top .header h1 {
        font-size: 1.75rem;
        line-height: 1.75rem;
    }
    h4.white-header {
        font-size: 1.25rem;
        line-height: 1.25rem;
    }
    .header {
        margin-top: 50px;
    }
    .container {
        padding: 0px;
    }
    #list-top {
        padding: 50px 10px 10px;
    }
}
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}


