/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.malp-app-listings-wrapper,
.malp-single-app-wrapper {
    max-width: 1200px;
    margin: 0 auto;
   
}

/* App Listings - Row Layout */
.malp-app-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.malp-app-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 15px;
    transition: box-shadow 0.3s ease;
}

.malp-app-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.malp-app-counter {
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 10px;
    color: #888;
}

.malp-app-item-link {
    text-decoration: none;
    color: inherit;
    display: flex; /* Make the link a flex container */
    align-items: center;
    width: auto;
}

.malp-app-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 15px;
      border-radius: 8px;
}

.malp-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px!important;
}

.malp-app-details {
    flex-grow: 1;
}

.malp-app-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 5px;
}

.malp-app-bonus,
.malp-app-withdraw {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

.malp-app-download {
    margin-left: auto;
    padding-left: 20px;
}

.malp-download-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.malp-download-button:hover {
    background-color: #0056b3;
    color: #fff;
}


/* Pinned App Styles */
.malp-pinned {
    border: 2px solid #007bff;
   
}

/* Single App Listing */
.malp-single-app-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.malp-single-app-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.malp-single-app-icon {
    width: 120px;
    height: 120px;
    margin-right: 20px;
}

.malp-single-app-icon img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
      border-radius: 8px;
}

.malp-single-app-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.malp-single-app-apk-name {
    font-size: 1.2rem;
    color: #777;
    margin: 5px 0 0;
}

.malp-single-app-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.malp-info-item {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.malp-info-item .dashicons {
    font-size: 20px;
    color: #007bff;
}

.malp-single-app-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.malp-single-download-button,
.malp-telegram-button {
    flex: 1;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.malp-single-download-button .dashicons,
.malp-telegram-button .dashicons {
    margin-right: 8px;
}

.malp-single-download-button {
    background-color: #28a745;
    color: #fff;
}

.malp-single-download-button:hover {
    background-color: #218838;
    color: #fff;
}

.malp-telegram-button {
    background-color: #0088cc;
    color: #fff;
}

.malp-telegram-button:hover {
    background-color: #006a9e;
    color: #fff;
}

.malp-single-app-description {
    line-height: 1.8;
}

/* Related Apps */
.malp-related-apps-section {
    margin-top: 40px;
}

.malp-related-apps-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .malp-single-app-header {
        flex-direction: column;
        text-align: center;
    }

    .malp-single-app-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .malp-single-app-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .malp-app-item {
        padding: 8px;
    }

    .malp-app-icon {
        width: 50px;
        height: 50px;
        margin-right: 8px;
    }

    .malp-app-name {
        font-size: 0.9rem;
    }

    .malp-app-bonus,
    .malp-app-withdraw {
        font-size: 0.75rem;
    }

    .malp-download-button {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}