/* Container */
#appsContainer {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* App Card */
.app-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Hover Effect */
.app-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Image */
.app-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #f3f3f3;
    padding: 10px;
    border-radius: 10px;
}

/* App Details */
.app-details {
    flex: 1;
    text-align: left;
}

/* App Name */
.app-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

/* Category */
.app-details p {
    font-size: 0.9rem;
    color: #777;
}

/* Install Button */
.install-btn {
    display: inline-block;
    background-color: #6d28d9;
    color: white;
    font-size: 0.9rem;
    padding: 8px 15px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease-in-out;
}

/* Hover on Button */
.install-btn:hover {
    background-color: #5b21b6;
}

/* Mobile View - List Style */
@media (max-width: 768px) {
    .app-card {
        flex-direction: row;
        align-items: center;
    }

    .app-img {
        width: 50px;
        height: 50px;
    }

    .install-btn {
        margin-left: auto;
    }
}
