/** Theme about page css */
:root {
    --jetblack-primary: #4b367c;
    --jetblack-secondary: #7059a4;
    --jetblack-accent: #f6b21b;
    --jetblack-success: #42d681;
    --jetblack-warning: #f6b21b;
    --jetblack-danger: #d63031;
    --jetblack-text: #2d3436;
    --jetblack-text-light: #636e72;
    --jetblack-bg: #f5f6fa;
    --jetblack-card-bg: #ffffff;
    --jetblack-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --jetblack-shadow-hover: 0 15px 45px rgba(0, 0, 0, 0.1);
    --jetblack-radius: 12px;
    --jetblack-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-wrap.full-width-layout {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--jetblack-text);
}

.about-wrap h1 {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--jetblack-primary);
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.about-wrap h1 .version {
    font-size: 0.4em;
    vertical-align: middle;
    background: var(--jetblack-accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 10px;
    font-weight: 600;
}

.about-theme {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #fcfaff 100%);
    padding: 40px;
    border-radius: var(--jetblack-radius);
    box-shadow: var(--jetblack-shadow);
    margin-bottom: 40px;
    border: 1px solid rgba(75, 54, 124, 0.1);
}

.theme-description {
    flex: 1;
    padding-right: 40px;
}

.theme-description .about-text {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555d66;
    margin: 1em 2em 1em 0;
}

.theme-screenshot {
    flex: 0 0 350px;
}

.theme-screenshot img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--jetblack-shadow);
    transition: var(--jetblack-transition);
}

.theme-screenshot img:hover {
    transform: scale(1.02);
}

/* Actions Buttons */
.actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.about-wrap .button {
    padding: 10px 24px !important;
    height: auto !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    transition: var(--jetblack-transition) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
}

.about-wrap .button-primary {
    background: var(--jetblack-primary) !important;
    color: #fff !important;
}

.about-wrap .button-primary:hover {
    background: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.about-wrap .button-secondary {
    background: #fff !important;
    color: var(--jetblack-primary) !important;
    border: 1px solid #ddd !important;
}

.about-wrap .button-secondary:hover {
    background: var(--jetblack-bg) !important;
    border-color: #ccc !important;
}

.about-wrap .button.green {
    background: var(--jetblack-success) !important;
    color: #fff !important;
}

.about-wrap .button.green:hover {
    background: #00a383 !important;
}

/* Navigation Tabs */
.nav-tab-wrapper {
    border-bottom: 2px solid #eee !important;
    margin-bottom: 40px !important;
    display: flex !important;
    gap: 10px !important;
    padding: 0 !important;
    background: transparent !important;
}

.nav-tab {
    background: transparent !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    margin: 0 !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--jetblack-text-light) !important;
    transition: var(--jetblack-transition) !important;
    opacity: 0.7;
}

.nav-tab:hover {
    color: var(--jetblack-primary) !important;
    opacity: 1;
}

.nav-tab-active {
    color: var(--jetblack-primary) !important;
    border-bottom-color: var(--jetblack-primary) !important;
    opacity: 1 !important;
}

/* Cards Section */
.feature-section.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.about-wrap .two-col .col.card {
    background: var(--jetblack-card-bg);
    padding: 45px 35px !important;
    border-radius: var(--jetblack-radius) !important;
    box-shadow: var(--jetblack-shadow) !important;
    border: 1px solid rgba(75, 54, 124, 0.05) !important;
    transition: var(--jetblack-transition) !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-wrap .two-col .col.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--jetblack-shadow-hover) !important;
}

.about-wrap .two-col .col.card h2 {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--jetblack-primary);
}

.about-wrap .two-col .col.card p {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--jetblack-text-light);
    margin-bottom: 30px;
    max-width: 400px;
}

.about-wrap .two-col .col.card p:last-child {
    margin-bottom: 0;
}

/* Changelog Styling */
pre.changelog {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: pre-wrap !important;
    font-family: inherit !important;
    overflow: visible !important;
}

.changelog .block {
    position: relative;
    background: var(--jetblack-card-bg) !important;
    padding: 30px 40px 30px 60px !important;
    border-radius: var(--jetblack-radius) !important;
    box-shadow: var(--jetblack-shadow) !important;
    margin-bottom: 30px !important;
    border: 1px solid rgba(75, 54, 124, 0.05) !important;
    transition: var(--jetblack-transition) !important;
}

.changelog .block:hover {
    transform: translateX(5px);
    box-shadow: var(--jetblack-shadow-hover) !important;
}

/* Timeline line */
.changelog .block::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--jetblack-secondary), transparent);
}

.changelog .block span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--jetblack-text-light);
}

.changelog .block span.heading {
    position: relative;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--jetblack-primary) !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px dashed #eee !important;
}

/* Version Dot */
.changelog .block span.heading::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--jetblack-accent);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(246, 178, 27, 0.2);
    z-index: 1;
}

/* Bullets for change items */
.changelog .block span:not(.heading) {
    position: relative;
    padding-left: 20px;
}

.changelog .block span:not(.heading)::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--jetblack-secondary);
    font-weight: bold;
}

.changelog .block span:not(.heading):empty {
    display: none !important;
}

/* License Page */
.about-wrap form {
    background: var(--jetblack-card-bg);
    padding: 40px;
    border-radius: var(--jetblack-radius);
    box-shadow: var(--jetblack-shadow);
}

.about-wrap .form-table th {
    width: 200px !important;
    padding: 20px 0 !important;
    font-weight: 600 !important;
}

.about-wrap .form-table td {
    padding: 15px 0 !important;
}

.about-wrap input[type="text"] {
    padding: 10px 15px !important;
    border-radius: 6px !important;
    border: 1px solid #ddd !important;
    width: 100% !important;
    max-width: 400px !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.about-wrap input[type="text"]:focus {
    border-color: var(--jetblack-accent) !important;
    box-shadow: 0 0 0 1px var(--jetblack-accent) !important;
}

/* Return to Dashboard */
.return-to-dashboard {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
}

.return-to-dashboard a {
    color: var(--jetblack-text-light);
    text-decoration: none;
    transition: var(--jetblack-transition);
}

.return-to-dashboard a:hover {
    color: var(--jetblack-primary);
}

/* Responsive */
@media screen and (max-width: 960px) {
    .about-theme {
        flex-direction: column;
        text-align: center;
    }
    .theme-description {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .theme-screenshot {
        flex: 1;
        width: 100%;
        max-width: 400px;
    }
    .actions {
        justify-content: center;
    }
    .feature-section.two-col {
        grid-template-columns: 1fr;
    }
}
