/* barinstaller.online — BB10 browser compatible dark theme */
/* No CSS variables, no flexbox, no calc() — WebKit 534 safe */

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

body {
    background: #000;
    color: #fff;
    font-family: "Slate Pro", "DejaVu Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    min-height: 100%;
}

a {
    color: #2b7cff;
    text-decoration: none;
}
a:hover, a:active {
    text-decoration: underline;
}

/* ===== Layout: sidebar + content ===== */

.page-wrap {
    width: 100%;
    overflow: hidden; /* clearfix */
}

.sidebar {
    float: left;
    width: 200px;
    background: #0b0b0b;
    min-height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10;
    border-right: 1px solid #2a2a2a;
}

.content {
    margin-left: 200px;
    padding: 20px 24px;
    min-height: 100%;
}

/* ===== Sidebar ===== */

.sidebar-header {
    padding: 16px 14px 12px;
    border-bottom: 1px solid #2a2a2a;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.sidebar-accent {
    height: 4px;
    background: #2b7cff;
    margin-top: 8px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

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

.sidebar-nav li {
    margin: 0;
}

.sidebar-nav a {
    display: block;
    padding: 10px 14px;
    color: #b0b0b0;
    font-size: 13px;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a:active {
    color: #fff;
    background: #1a1a1a;
    text-decoration: none;
}

.sidebar-nav a.active {
    color: #fff;
    border-left-color: #2b7cff;
    background: #1a1a1a;
}

.sidebar-nav .nav-count {
    color: #808080;
    font-size: 11px;
}

.sidebar-contact {
    padding: 12px 14px;
    border-top: 1px solid #2a2a2a;
    font-size: 11px;
    color: #808080;
}

/* ===== Hero block (main page) ===== */

.hero {
    background: #0b0b0b;
    border: 1px solid #2a2a2a;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
}

.hero-label {
    font-size: 12px;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hero-app-name {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.hero-version {
    font-size: 16px;
    color: #b0b0b0;
    font-weight: 400;
    margin-bottom: 12px;
}

.hero-meta {
    color: #b0b0b0;
    font-size: 13px;
    margin-bottom: 16px;
}

.hero-meta span {
    margin-right: 14px;
}

.hero-desc {
    color: #b0b0b0;
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ===== Warning box ===== */

.warning-box {
    background: #1a1000;
    border: 1px solid #aa8800;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
    overflow: hidden;
}

.warning-icon {
    float: left;
    font-size: 24px;
    color: #ffcc00;
    margin-right: 12px;
    line-height: 1;
}

.warning-text {
    overflow: hidden;
    color: #e0c060;
    font-size: 13px;
    line-height: 1.5;
}

.warning-text strong {
    color: #ffcc00;
}

/* ===== Contact at bottom ===== */

.page-contact {
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid #2a2a2a;
    color: #808080;
    font-size: 12px;
}

.btn-download {
    display: inline-block;
    background: #2b7cff;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-download:hover, .btn-download:active {
    opacity: 0.85;
    text-decoration: none;
}

/* ===== Features / info section ===== */

.info-section {
    margin-top: 30px;
}

.info-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 8px 0;
    color: #b0b0b0;
    font-size: 13px;
    border-bottom: 1px solid #1a1a1a;
}

.info-list li:last-child {
    border-bottom: none;
}

/* ===== Category page: app list ===== */

.page-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.app-item {
    padding: 12px 0;
    border-bottom: 1px solid #2a2a2a;
    overflow: hidden; /* clearfix */
}
.app-item:last-child {
    border-bottom: none;
}

.app-info {
    overflow: hidden; /* takes remaining width */
}

.app-name {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.app-desc {
    color: #b0b0b0;
    font-size: 12px;
    margin-top: 2px;
}

.app-meta {
    color: #808080;
    font-size: 12px;
    margin-top: 4px;
}

.app-meta span {
    margin-right: 10px;
}

.app-dl {
    float: right;
    margin-left: 12px;
    padding-top: 8px;
}

.btn-dl-small {
    display: inline-block;
    color: #2b7cff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid #2b7cff;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
}
.btn-dl-small:hover, .btn-dl-small:active {
    background: #2b7cff;
    color: #fff;
    text-decoration: none;
}

/* ===== Empty state ===== */

.empty-state {
    color: #b0b0b0;
    font-size: 14px;
    padding: 30px 0;
    text-align: center;
}

/* ===== Mobile: collapse sidebar ===== */

@media screen and (max-width: 600px) {
    .sidebar {
        position: relative;
        float: none;
        width: 100%;
        min-height: 0;
        border-right: none;
        border-bottom: 1px solid #2a2a2a;
    }

    .content {
        margin-left: 0;
        padding: 16px;
    }

    .sidebar-nav a {
        display: inline-block;
        padding: 8px 10px;
        border-left: none;
        border-bottom: 3px solid transparent;
        font-size: 12px;
    }

    .sidebar-nav a.active {
        border-left-color: transparent;
        border-bottom-color: #2b7cff;
    }

    .sidebar-nav {
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 8px;
    }

    .sidebar-nav li {
        display: inline-block;
    }
}
