/* Fixed header: offset content below 60px nav */
#main-site {
    padding-top: 60px;
}

/* Light theme — match apkwine reference */
body,
.wrapper-inside,
#main-site {
    background: #e6e9ef;
    color: #4c4c4c;
}

#header,
#menu-mobile,
#footer {
    background: #13161d;
}

#header nav .menu > li.menu-item-has-children:hover .sub-menu,
#header nav .menu .sub-menu li a {
    background: #13161d;
}

/* Appyn #subheader { margin-top:-20px } — detail .np search bar sits under fixed header */
#subheader.np {
    margin-top: 0 !important;
}

.alert-success {
    background: rgba(27, 188, 155, 0.15);
    border: 1px solid #1bbc9b;
    color: #1bbc9b;
    padding: 12px 16px;
    margin: 15px auto;
    max-width: 1100px;
    border-radius: 2px;
}

/* App detail — match apkwine: header keeps 5 tech fields; business info in Description table */
.app-info-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
    margin: 0 0 24px;
}

.app-info-icon {
    flex: 0 0 128px;
    text-align: center;
}

.app-info-icon img {
    width: 128px;
    height: 128px;
    border-radius: 12px;
    object-fit: cover;
}

.app-info-table-wrap {
    flex: 1 1 240px;
    min-width: 0;
}

.app-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.45;
}

.app-info-table th,
.app-info-table td {
    padding: 10px 12px;
    border: 1px solid #e8e8e8;
    vertical-align: middle;
}

.app-info-table th {
    width: 46%;
    font-weight: 600;
    text-align: left;
}

.app-info-table tr:nth-child(odd) th {
    background: var(--brand-color, #1bbc9b);
    color: #fff;
    border-color: var(--brand-color, #1bbc9b);
}

.app-info-table tr:nth-child(even) th {
    background: #f8f8f8;
    color: #333;
}

.app-info-table td {
    background: #fff;
    color: #444;
}

@media (max-width: 650px) {
    /* Header stats: 2 columns on mobile instead of full-width stack (source has 5 rows; this keeps it compact) */
    .app-s .box-data-app .data-app .da-s {
        width: 50%;
        box-sizing: border-box;
    }

    .app-info-panel {
        flex-direction: row;
        align-items: center;
    }

    .app-info-icon {
        flex: 0 0 96px;
    }

    .app-info-icon img {
        width: 96px;
        height: 96px;
    }

    .app-info-table {
        font-size: 13px;
    }

    .app-info-table th,
    .app-info-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 420px) {
    .app-info-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .app-info-icon {
        flex: none;
    }
}
